Skip to main content
GET
List prepaid credits for an account

Authorizations

Authorization
string
header
required

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

Headers

trace-id
string
required

Query Parameters

uom
string

Unit of measure name. Omit to list every unit of measure the account holds. When present, the value is trimmed and must be non-blank and at most 64 characters. A name may contain /; do not put it in the path. Lookup is case-insensitive; the response echoes the stored spelling, not the request's casing.

Required string length: 1 - 64
include
string

Comma-separated expansions. Only buckets is supported. Null or blank means nothing is expanded. Unknown tokens are rejected.

accountNumber
string
required

Response

Prepaid credits returned successfully.

accountId
string
required

The account that was queried.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

prepaidCredits
object[]
required

One element per unit of measure. Unfiltered queries omit units the account has never held. A filtered query always returns exactly one element when it succeeds.