Add credit
POST/v1/credits
Adds a credit to a billing account. The amount is credited to the BillingAccount balance and becomes available to settle future invoices. When company_id is provided, the credit can only be applied to invoices from the same company.
Request​
Responses​
- 201
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Credit created.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation. With code insufficient_scope, details.required carries the one minimal set of scopes that, added to details.granted, would let the request through: the resource scope (billing/{resource}, or billing/all off the catalogue) then the bare verb — e.g. ["billing/customers", "delete"].
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.