Subscription Payments
Add payment method
Adds a new payment method to the account and sets it for the specified subscription
Important notes:
- Can optionally set as default payment method for the entire account, or the specified subscription
- Can force immediate charge for overdue invoices for the specified subscription
- Payment information format depends on payment system
- For a usage subscription that doesn't exist yet, the payment method is kept and set as its default when it is created
post/subscriptions/{subscriptionId}/paymentmethods
Request
- Base URLhttps://api.smokeball.com
- URLhttps://api.smokeball.com/subscriptions/{subscriptionId}/paymentmethods
- AuthAPI key in header x-api-key and API key in header Authorization
Path parameters
subscriptionIdstring required
The unique identifier of the subscription
Request body
Example request
{
"paymentSystemId": "STRIPE",
"isDefault": true,
"chargeImmediately": true
}Response
When request is accepted. Returns a 'Link' object.
Changes
No recorded changes to this operation across all 15 revisions of this API.