Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Path Parameters

subscription_id
string
required

The ID of the active subscription the credits should be granted against.

Body

application/json
line_items
object[]
required

One or more credits to top up on the subscription identified by the {subscription_id} path parameter. Each item creates one credit allocation on the corresponding wallet.

Minimum array length: 1

Response

Topup order created successfully

statusCode
integer
Example:

201

message
string
Example:

"Topup order created successfully"

meta
object
data
object

A simplified view of the order returned from the topup endpoint. Additional order fields are present and forward-compatible.

errors
object