Billing
List available plans
Returns the list of available billing plans with pricing, limits, and features. Requires authentication.
Authorization
apiKey AuthorizationBearer <token>
API key from your nodestash dashboard. Pass as a Bearer token in the Authorization header.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://api.nodestash.io/v1/billing/plans"{
"data": [
{
"id": "pro",
"name": "Pro",
"price_monthly": 2900,
"contacts_limit": 10000,
"api_calls_limit": 100000,
"features": [
"string"
]
}
],
"meta": {
"request_id": "req_abc123def456"
}
}{
"error": {
"code": "INVALID_API_KEY",
"message": "Missing or invalid Authorization header"
},
"meta": {
"request_id": "req_abc123def456"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded"
},
"meta": {
"request_id": "req_abc123def456"
}
}Get current subscription details
Returns the current subscription details for the authenticated workspace, including plan, status, billing period, and resource usage.
Stripe webhook endpoint
Receives Stripe webhook events. Verifies the stripe-signature header against the configured webhook secret. Always returns 200 on success. This endpoint does not require API key authentication.