Skip to main content

Balance

GET https://api-sandbox.giftano.io/giftano-for-business-api/balance

Security

This api use Bearer Authorization as an authentication method. Replace API_KEY with your Api Key Token.

  • Name: Authorization
  • Value: Bearer API_KEY
  • In: header

Response

CodeDescription
200Return a details of balance
400Bad Request
401Unauthorized.
404Not Found.
500Internal Server Error.

Example Usage

curl -X 'GET' \
'https://api-sandbox.giftano.io/giftano-for-business-api/balance' \
-H 'accept: application/json' \
-H 'Authorization: Bearer API_KEY'

Example Success Response

{
"data": {
"balance": 10,
"corporate_id": "COY2RMCF509C"
}
}

Example Invalid Token

{
"code": 401,
"error": "Invalid token"
}

Example Not Found

{
"code": 404,
"error": "sorry, endpoint is not found"
}