List payment options
Overview
Lists payment options available at checkout. Call this before creating a purchase so the customer can choose how to pay. Send renews=true when the first invoice amount is also the recurring renewal amount. This includes automatic renewal options, which are otherwise omitted.
Permissions
Requires the account permission billing.purchase (Make purchases).
Authorization
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Send it as Bearer <token>.
Query parameters
The value of renews.
Response 200
application/jsonThe whole set, as a JSON array. There is no envelope and no paging.
The enum's own value, which is what a start request sends back.
A short label shown to customers.
What the picker prints once a choice has been made, where the full label is too long to sit on a button.
An optional description shown to customers.
The value of provider.
The value of provider_name.
Whether choosing this hands the provider a standing schedule rather than taking one payment. Only ever offered where this invoice's amount is what falls due each cycle.
Errors
- 401
- The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- 403
- Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- 429
- Too many requests. The
Retry-Afterheader says how many seconds to wait. Limits are per account, so several keys on one account share them.
Still stuck? Contact our team
View as Markdown