Billing
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
POST | |
POST | |
POST | |
GET | |
GET | |
POST | |
POST | |
GET |
List all billing
Required API key scopes
billing:readQuery parameters
- include_forecastingboolean | null
- organization_idstring
Response
Example request
GET /api /billingExample response
Status 200
RESPONSE
List all billing
Required API key scopes
billing:readQuery parameters
- include_forecastingboolean | null
- organization_idstring
Response
Example request
GET /api /billingExample response
Status 200
RESPONSE
Create billing activate
Request parameters
- organization_idstring
- productsstring
- intent_productstring
- custom_limits_usdstring
Response
Example request
POST /api /billing /activateExample response
Status 200
RESPONSE
Create billing activate
Request parameters
- organization_idstring
- productsstring
- intent_productstring
- custom_limits_usdstring
Response
Example request
POST /api /billing /activateExample response
Status 200
RESPONSE
Create billing activate authorize
Request parameters
- organization_idstring
Response
Example request
POST /api /billing /activate /authorizeExample response
Status 200
RESPONSE
Create billing activate authorize
Request parameters
- organization_idstring
Response
Example request
POST /api /billing /activate /authorizeExample response
Status 200
RESPONSE
Create billing activate authorize status
Request parameters
- organization_idstring
- payment_intent_idstring | null
Response
Example request
POST /api /billing /activate /authorize /statusExample response
Status 200
RESPONSE
Create billing activate authorize status
Request parameters
- organization_idstring
- payment_intent_idstring | null
Response
Example request
POST /api /billing /activate /authorize /statusExample response
Status 200
RESPONSE
Create billing coupons claim
Request parameters
- planstring
- billing_limitinteger
Example request
POST /api /billing /coupons /claimExample response
Status 200 No response body
Create billing coupons claim
Request parameters
- planstring
- billing_limitinteger
Example request
POST /api /billing /coupons /claimExample response
Status 200 No response body
Retrieve billing coupons overview
Example request
GET /api /billing /coupons /overviewExample response
Status 200 No response body
Retrieve billing coupons overview
Example request
GET /api /billing /coupons /overviewExample response
Status 200 No response body
Retrieve billing credits overview
Example request
GET /api /billing /credits /overviewExample response
Status 200 No response body
Retrieve billing credits overview
Example request
GET /api /billing /credits /overviewExample response
Status 200 No response body
Create billing credits purchase
Request parameters
- planstring
- billing_limitinteger
Example request
POST /api /billing /credits /purchaseExample response
Status 200 No response body
Create billing credits purchase
Request parameters
- planstring
- billing_limitinteger
Example request
POST /api /billing /credits /purchaseExample response
Status 200 No response body
Create billing deactivate
Request parameters
- planstring
- billing_limitinteger
Example request
POST /api /billing /deactivateExample response
Status 200 No response body
Create billing deactivate
Request parameters
- planstring
- billing_limitinteger
Example request
POST /api /billing /deactivateExample response
Status 200 No response body
Retrieve billing get invoices
Example request
GET /api /billing /get_invoicesExample response
Status 200 No response body
Retrieve billing get invoices
Example request
GET /api /billing /get_invoices










