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 bycurrency + code. When no channel is specified, channel ownership,data.channels, and channel amount limits are not returned. Whenchannel_codeis specified, only banks for that channel are returned. - Payment-method queries read
data.channels[]. Each group containschannel_code, display namename,payment_type,currency, configured channelmin_amount/max_amount, payment methodoptions, and verified banksbanks. When a channel is specified, that channel'sdata.optionsis also returned. If no trusted mapping exists,banksis an empty array. min_amount/max_amountare 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 indata; global-key bank or payment-method queries that specifychannel_codealso return them indata. Other API-key, merchant-binding, or provider-option limits are not merged; creation or confirmation still performs the actual validation.- Options contain
code,name, andenabled, and may containcurrency,payment_method,min_amount, andmax_amount. Amounts are decimal strings. - Bank-list queries are independent of beneficiary-data prefill and do not send
bank_code,account_no,account_name, orrecipient_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.