Get customer credit balance
Returns the credit balance for a customer identified by reference.
Path parameters
Customer reference identifier
Response
Customer balance retrieved successfully
Example response
{
"credits": 4200,
"creditsPerMinorUnit": 100,
"customerRef": "cus_3c4d5e6f7g8h",
"display": {
"amountMajor": 42,
"currency": "USD",
"exchangeRate": 1,
"formatted": "$42.00",
"rateSource": "parity"
},
"displayCurrency": "USD",
"displayExchangeRate": 1
}Changes
Changed in 5 of the 27 revisions of this API.517
- ▲
the response's body type changed from no type to
objectfor statusresponse-body-type-changed
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response's body type changed from
objectto no type for statusresponse-body-type-changed
- ▲
the response's body type changed from
objectto no type for statusresponse-body-type-changed
This revision also has 192 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response's body type changed from no type to
objectfor statusresponse-body-type-changed
- ▲
the response's body type changed from no type to
objectfor statusresponse-body-type-changed
- ▲
- ●
deleted the
queryrequest parametercurrencyrequest-parameter-removed
- ●
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○