Subscriptions
Pause a subscription
Changed onTemporarily pause an active subscription. Only active subscriptions can be paused.
post/api/subscriptions/{id}/pause
Request
- Base URLhttps://api.novabilling.one
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Subscription ID
Response
Subscription paused
Example response
{
"id": "clx1234567890",
"externalId": "ext_sub_123",
"customerId": "clxcust123",
"planId": "clxplan123",
"status": "ACTIVE",
"currency": "USD",
"billingTiming": "IN_ARREARS",
"customer": {
"id": "clx1234567890",
"name": "Jane Doe",
"email": "jane@example.com"
},
"plan": {
"id": "clxplan123",
"name": "Premium Monthly",
"billingInterval": "MONTHLY"
}
}Changes
- info
added the media type
application/jsonfor the response with the status
- info