Onerway
POST

Account Currency Query

Query the currencies supported by the merchant account and their balances.

Request

merchantNo
Merchant number of the request initiator.
Example:
onBehalfOf
Merchant number that the request is for. Include only when making a request on behalf of another merchant.
sign
Request signature. Generate it using the signing method and credentials configured for the initiating merchant, following the request-signing rules.

Request example

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

respCode
Response code; 20000 indicates successful request processing. All other values are error codes.
respMsg
Human-readable description of the response code.
Currencies and available balances of the merchant payout accounts returned by this query.

Response example

{
  "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.