Retrieve customer credit balance

Request

Retrieves a customer's credit balance grouped by currency.

Security
SecretApiKey or JWT
Path
idstring, <= 50 characters^[@~\-\.\w]+$required

ID of the resource.

curl -i -X GET \
  'https://www.rebilly.com/_mock/catalog/all/customers/{id}/credit-balance' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'

Responses

Customer credit balance retrieved.

Bodyapplication/json
balancesArray of objectsread-onlyrequired

Customer credit balances grouped by currency.

Response
{ "balances": [ {} ] }