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 code | 46 |
─showName | string | YES | Channel name | {\"EN_US\": \"Local payment\", "ZH_CN\": \"本地付款\"} |
Parameter Example
curl --location 'http://29597375fx.epaydev.xyz/capi/payinApi/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/payinApi/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": "32E400ED0515A57226B5B33B66ECDABEAB17B1D460C10C8624638CD21C5D1195x",
"epayAccount": "test2020@epay.com",
"version": "V2.0.0",
"code": 1,
"message": "success",
"data": {
"channelList": [
{
"channelCode": "46",
"showName": "{\"EN_US\": \"Bank-SY\", \"ES_ES\": \"Banco-SY\", \"KO_KR\": \"은행-SY\", \"PU_PT\": \"Banco-SY\", \"ZH_CN\": \"银行转账-SY\"}"
},
{
"channelCode": "9",
"showName": "{\"EN_US\": \"Local payment\", \"ES_ES\": \"Cables Domésticos\", \"KO_KR\": \"국내 전선\", \"PU_PT\": \"Fios Domésticos\", \"ZH_CN\": \"本地付款\"}"
}
]
}
}