curl --request GET \
--url https://api.PayStar.uk/api/v1/balance/merchant?currency=USD' \
--header 'Authorization: Bearer Your Token' \
--header 'accept: text/plain' \
{
"currency": "USD", // Currency of the balance
"merchantBalance": 10000.00, // Current balance of the merchant
"merchantOverdraft": 1000.00, // Permissible overdraft amount
"pipelineBalance": 5000.00, // Current pipeline balance
"pipelineProcessingOrdersDeposit": 0.00, // Current amount of deposits in non-final statuses (Created, Processing)
"pipelineProcessingOrdersWithdrawals": 4000.00 // Current amount of withdrawals in non-final statuses (Created, Processing)
"pipelineAvailableBalance": 1000.0 // Available for usw pipeline balance
}
curl --location --request GET 'https://api.PayStar.uk/api/v1/balance/merchant?currency=USD' \
--header 'Authorization: Bearer <token>'
{
"currency": "RUB",
"merchantBalance": 10000,
"merchantOverdraft": 1000,
"pipelineBalance": 5000,
"pipelineAvailableBalance": 1000,
"pipelineProcessingOrdersDeposit": 0,
"pipelineProcessingOrdersWithdrawals": 4000
}