POST
Account Currency Query
Query the currencies supported by the merchant account and their balances.
Request
merchantNoMerchant number of the request initiator.
Example:
800699onBehalfOfMerchant number that the request is for. Include only when making a request on behalf of another merchant.
signRequest signature. Generate it using the signing method and credentials configured for the initiating merchant, following the request-signing rules.
curl -X POST 'https://sandbox-api.onerway.com/payout/api/v1/acct/queryAcctCurrency' \
-H 'Content-Type: application/json' \
--data-raw '{
"merchantNo": "800699",
"sign": "{{SIGN}}"
}'Response
respCodeResponse code;
20000 indicates successful request processing. All other values are error codes.respMsgHuman-readable description of the response code.
data{ accountCurrencyQueryDetailDTOList }Currencies and available balances of the merchant payout accounts returned by this query.
{
"respCode": "20000",
"respMsg": "Success",
"data": {
"accountCurrencyQueryDetailDTOList": [
{
"currency": "USD",
"balance": "15000.50"
},
{
"currency": "EUR",
"balance": "8750.25"
},
{
"currency": "GBP",
"balance": "12300.75"
}
]
}
}No error responses are documented for this endpoint.