GET |
/api/payments/invoices |
List invoices for the user’s workspace. |
GET |
/api/payments/methods |
List all payment methods for the user’s workspace. |
DELETE |
/api/payments/methods/{payment_method_id} |
Delete a payment method. |
POST |
/api/payments/methods/{payment_method_id}/default |
Set a payment method as the default. |
GET |
/api/payments/plans |
Return the billing plans for the request host’s org. |
POST |
/api/payments/setup-intent |
Create (or reuse) a billing customer for the user’s workspace, then return a SetupIntent client_secret. |
POST |
/api/payments/subscriptions |
Create a subscription for the user’s workspace. |
GET |
/api/payments/subscriptions/me |
Return the active subscription for the current user’s workspace. |