curl --request GET \
--url https://app.amplopay.com/api/v1/gateway/producer/balance \
--header 'x-public-key: SUA_CHAVE_PUBLICA_AQUI' \
--header 'x-secret-key: SUA_CHAVE_PRIVADA_AQUI'
{
"available": 12345.67,
"pending": 999.99,
"fundLock": 0
}
Endpoints
Get producer balance
Return balance information for the authenticated producer
GET
/
gateway
/
producer
/
balance
curl --request GET \
--url https://app.amplopay.com/api/v1/gateway/producer/balance \
--header 'x-public-key: SUA_CHAVE_PUBLICA_AQUI' \
--header 'x-secret-key: SUA_CHAVE_PRIVADA_AQUI'
{
"available": 12345.67,
"pending": 999.99,
"fundLock": 0
}
Returns balance information for the authenticated producer.
This endpoint requires the
x-public-key and x-secret-key headers.Request example
curl --request GET \
--url https://app.amplopay.com/api/v1/gateway/producer/balance \
--header 'x-public-key: SUA_CHAVE_PUBLICA_AQUI' \
--header 'x-secret-key: SUA_CHAVE_PRIVADA_AQUI'
Response
number
required
Balance available for withdrawal.
number
required
Pending balance.
number
required
Locked balance.
{
"available": 12345.67,
"pending": 999.99,
"fundLock": 0
}
Was this page helpful?

