Get Channel List
Parameter Description
Request
name | type | required | desc | example value |
---|---|---|---|---|
param | JSONObject | YES | parameter | |
─epayAccount | string | YES | Your epay account | test2020@epay.com |
─version | string | YES | version number | V2.0.0 |
─category | string | YES | Remittance method: bank, cash | BANK |
─currency | string | YES | Currency, see currency typedescription | USD |
─countryCode | string | YES | Country code: ISO 2 digits | BR |
sign | string | YES | Signature, >= 64-bit string length | xxxxxxxxxsignxxxxx |
Response
name | type | required | desc | example value |
---|---|---|---|---|
sign | string | YES | sign | xxxxxxxxxsignxxxxx |
epayAccount | string | YES | Your epay account | test2020@epay.com |
version | string | YES | version number | V2.0.0 |
code | integer | YES | Status code 1: Success | 1 |
message | string | YES | message | success |
data | JSONObject | YES | data | |
─channelCode | string | YES | Channel number | 59 |
─showName | string | YES | Channel name | {\"EN_US\": \"Bank(to Corporate Account)-TS\", \"ZH_CN\": \"银行(汇款至企业)-TS\"} |
Parameter Example
curl --location 'http://29597375fx.epaydev.xyz/capi/payoutApi/channelList' \
--header 'Content-Type: application/json' \
--data-raw '{
"sign": "d9927603a4ba6af1eb349011c68f6311b6fff9488a3de97fdb0a72f5e6af642ax",
"param": {
"epayAccount": "test2020@epay.com",
"category": "BANK",
"currency":"USD",
"countryCode":"CN",
"version": "V2.0.0"
}
}'
requestExample
curl --location 'http://29597375fx.epaydev.xyz/capi/payoutApi/channelList' \
--header 'Content-Type: application/json' \
--data-raw '{
"sign": "d9927603a4ba6af1eb349011c68f6311b6fff9488a3de97fdb0a72f5e6af642ax",
"param": {
"epayAccount": "test2020@epay.com",
"category": "BANK",
"currency":"USD",
"countryCode":"CN",
"version": "V2.0.0"
}
}'
responseExample
{
"sign": "8CBA7EB8CBF8A1CD57B92E497CAAD414051360DF2A677365E30919FEDAE6E9ACx",
"epayAccount": "test2020@epay.com",
"version": "V2.0.0",
"code": 1,
"message": "success",
"data": {
"channelList": [
{
"channelCode": "59",
"showName": "{\"EN_US\": \"Bank(to Corporate Account)-TS\", \"ZH_CN\": \"银行(汇款至企业)-TS\"}"
},
{
"channelCode": "57",
"showName": "{\"EN_US\": \"Bank(to Individual Account)-TS\", \"ZH_CN\": \"银行(汇款至个人)-TS\"}"
}
]
}
}