Skip to main content
POST
Preview the credit from a move to a postpaid team

Authorizations

Authorization
string
header
required

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Body

application/json

Send a JSON object containing the fields below. Required fields are marked in the schema.

moves
object[]
required

The value of moves.

Required array length: 1 - 11 elements
team
string
required

The destination team UUID.

Required string length: 36
accept_postpaid
boolean

The value of accept_postpaid.

Response

The record, as a JSON object. There is no envelope.

ends_prepaid_billing
boolean
required

The value of ends_prepaid_billing.

Example:

true

credit
string | null
required

The available account credit, formatted for display.

Example:

"4.12"

currency
string | null
required

The three-letter currency code used for monetary amounts.

Example:

"USD"