Skip to main content
POST
Add credit

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>.

Query Parameters

teamID
string

Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
amount
integer
required

Amount to pay.

gateway
string

Payment gateway to use. Omit it to use the default gateway.

Response

The payment was created. Send the browser to url.

url
string<uri>

Payment page.

method
string

HTTP method to open url with.

params
object

Parameters to send to url, if any.