cURL
curl --request POST \ --url https://api.halth.com/v1/businesses/{businessId}/billing/subscriptions \ --header 'Content-Type: application/json' \ --data ' { "confirmationTokenId": "ctoken_1Sq0GFCWwNwrbV0x5GJvufPv" } '
{ "id": "<string>", "type": "usage_based", "createdAt": "2023-11-07T05:31:56Z", "defaultPaymentMethod": { "id": "<string>", "brand": "<string>", "last4": "<string>", "customerId": "<string>" } }
Create a subscription for a business
The tokenised payment method details used to start the subscription
"ctoken_1Sq0GFCWwNwrbV0x5GJvufPv"
usage_based
Show child attributes