Skip to main content

Check your balance

Balance Endpoint

Get the value of your account balance, in cents.

Badge https://sandbox.tickpay.com/api/v1/wallets/balance

Request

To access this endpoint, you need to provide a valid access token in the Authorization header.

Use the following cURL command to retrieve the wallet balance:

curl -X 'GET' \
'https://sandbox.tickpay.com/api/v1/wallets/balance' \
-H 'accept: application/json' \
-H 'Authorization: Bearer your_access_token'

Response

The response will contain a data object, along with additional information:

{
"data": {
"value": 6200
},
"messageError": null,
"success": true
}

Response Properties

ParameterDescriptionDefault Value
messageErrorError message.null
successIndicates whether the request was successful.false
data Properties
valueThe specific value in the response, representing cents.0