Logo PopinaPopina API

Get customer balance

Get customer balance at current location.

GET/v1/customers/{customerId}/balance
authorization<token>

Use device JWT token

In: header

Path Parameters

customerIdstring

Customer UUID

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "http://localhost:4012/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/balance"
{
  "balance": 5000
}
{
  "message": "Customer not found",
  "code": "CUSTOMER_NOT_FOUND"
}
{
  "message": "Customer not found",
  "code": "CUSTOMER_NOT_FOUND"
}