Available balance
Method to get the available balance for a barcode.
URL
GET
/merchant-api/v2/barcodes/{barcode}/available-balance
Path parameter
Parameter | Type | Length | Description |
---|---|---|---|
barcode required | String | 128 | A unique set of characters that identifies the customer |
HTTP response codes
200
- Successful operation401
- Unauthorized, maybe the credentials are missing. For more information, see security403
- Forbidden, the HMAC may be wrong or out of date. For more information, see security404
- Given barcode does not exist or is not active anymore.
Response
Attribute | Type | Length | Description |
---|---|---|---|
availableBalance required | Integer | The available balance for the barcode to spend. Amounts are always in euro cents |
Example
Request
GET
/merchant-api/v2/barcodes/2079605193828/available-balance
Response
{
availableBalance: 90000;
}