Documentation · Available channel options

Available channel options

POST /api/v1/channel/options requires the common signature parameters and returns options authorized for the current key that have a valid channel.

Channels under maintenance are excluded from options for new orders. When a maintenance channel is specified, results from other channels are not substituted. Processing and querying an existing formal order do not depend on this option list.

Field Type Required Description
option_type string Yes Query type; see the table below.
currency string Conditionally required Bank and payment-method queries require an authorized currency. Currency queries may omit this field; when provided, only that currency is queried.
payment_type string No payin or payout. If omitted, the query uses the authorized types. For a bank query, the value must match the direction of option_type.
channel_code string No Limit the query to one channel enabled for the current merchant in the current environment. Omit it to query all eligible channels.
option_type Content Required permission
currency Currently available transaction currencies query_balance
payin_bank Pay-in banks and e-wallets create_pay_order
payout_bank Payout banks and e-wallets create_payout_order
payment_method Payment schemes and methods query_balance

Query currencies available for payouts:

{
  "api_key": "<API_KEY>",
  "merchant_id": "merchant_1001",
  "option_type": "currency",
  "payment_type": "payout",
  "timestamp": "1789731000",
  "nonce": "options_currency_001",
  "sign": "<64位小写HMAC-SHA256>"
}

Response data example:

{
  "options": [
    {"code":"MYR","provider_code":"MYR","name":"MYR","currency":"MYR","enabled":true},
    {"code":"SGD","provider_code":"SGD","name":"SGD","currency":"SGD","enabled":true}
  ]
}

Query MYR payout banks:

{
  "api_key": "<API_KEY>",
  "merchant_id": "merchant_1001",
  "option_type": "payout_bank",
  "currency": "MYR",
  "timestamp": "1789731000",
  "nonce": "options_bank_001",
  "sign": "<64位小写HMAC-SHA256>"
}

Response example:

{
  "code": 0,
  "message": "OK",
  "data": {
    "options": [
      {"code":"MBB","name":"Maybank","currency":"MYR","enabled":true}
    ]
  },
  "request_id": "req_example_channel_options"
}

Query MYR payout methods and obtain each channel's name, amount range, and banks:

{
  "api_key": "<API_KEY>",
  "merchant_id": "merchant_1001",
  "option_type": "payment_method",
  "currency": "MYR",
  "payment_type": "payout",
  "timestamp": "1789731000",
  "nonce": "options_method_001",
  "sign": "<64位小写HMAC-SHA256>"
}

Response example:

{
  "code": 0,
  "message": "OK",
  "data": {
    "options": [],
    "channels": [
      {
        "channel_code": "ch_example_payout",
        "name": "Example MYR Payout",
        "payment_type": "payout",
        "currency": "MYR",
        "min_amount": "10.00",
        "max_amount": "5000.00",
        "options": [
          {"code":"BANK_TRANSFER","name":"Bank Transfer","currency":"MYR","payment_method":"BANK_TRANSFER","enabled":true}
        ],
        "banks": [
          {"code":"MBB","name":"Maybank","currency":"MYR","enabled":true}
        ]
      }
    ]
  },
  "request_id": "req_example_channel_methods"
}
  • Currency and bank queries read data.options. Banks are merged and deduplicated by currency + code. When no channel is specified, channel ownership, data.channels, and channel amount limits are not returned. When channel_code is specified, only banks for that channel are returned.
  • Payment-method queries read data.channels[]. Each group contains channel_code, display name name, payment_type, currency, configured channel min_amount / max_amount, payment method options, and verified banks banks. When a channel is specified, that channel's data.options is also returned. If no trusted mapping exists, banks is an empty array.
  • min_amount / max_amount are the per-transaction lower and upper limits configured for the channel, expressed as decimal strings in the queried currency. Unconfigured boundaries are omitted. Fixed-key queries return these fields in data; global-key bank or payment-method queries that specify channel_code also return them in data. Other API-key, merchant-binding, or provider-option limits are not merged; creation or confirmation still performs the actual validation.
  • Options contain code, name, and enabled, and may contain currency, payment_method, min_amount, and max_amount. Amounts are decimal strings.
  • Bank-list queries are independent of beneficiary-data prefill and do not send bank_code, account_no, account_name, or recipient_email. Bank and payment-method queries require the corresponding cashier to be enabled.
  • An empty list is returned when no options are available. An unavailable channel or a read failure returns a business error. Whether an amount can be transacted is still validated during creation or confirmation. For every call, followSigningto generate a new signature; seeError codes.

Search docs