Onerway
POST

Account Currency Query

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

Request

merchantNo
Merchant number assigned by Onerway. Retrieve it from the merchant portal or onboarding material after your sandbox or production account is created.
Example:
sign
Request signature string. Generate it according to the Transfer request-signing rules with your merchant private key.

Request example

curl -X POST 'https://sandbox-api.onerway.com/payout/api/v1/acct/queryAcctCurrency' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "merchantNo": "801129",
  "sign": "{{SIGN}}"
}'

Response

respCode
Response code returned by Onerway.
respMsg
Response message returned by Onerway.
Supported account currencies and balances.

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.