Tinka

Available balance

Method to get the available balance for a barcode.

URL

GET /merchant-api/v2/barcodes/{barcode}/available-balance

Path parameter

ParameterTypeLengthDescription
barcode requiredString128A unique set of characters that identifies the customer

HTTP response codes

  • 200 - Successful operation
  • 401 - Unauthorized, maybe the credentials are missing. For more information, see security
  • 403 - Forbidden, the HMAC may be wrong or out of date. For more information, see security
  • 404 - Given barcode does not exist or is not active anymore.

Response

AttributeTypeLengthDescription
availableBalance requiredIntegerThe 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;
}

© 2024 Tinka. All Rights Reserved. All trademarks, service marks and trade names used in this material are the property of their respective owners.