Skip to main content
POST
/
api
/
v1
/
organizations
/
{orgId}
/
billing
/
top-up
Create a hosted credit top-up checkout link.
curl --request POST \
  --url https://api.app.firstsales.io/api/v1/organizations/{orgId}/billing/top-up \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "requestId": "<string>",
    "details": {}
  }
}
Use this endpoint through the Developer API or the matching firstsales CLI command when available. Responses use the stable FirstSales public error envelope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

Response

Hosted top-up checkout URL only. Requires billing:write and Idempotency-Key.