获取渠道列表
参数说明
Request
name | type | required | desc | example value |
---|---|---|---|---|
param | JSONObject | YES | 参数 | |
─epayAccount | string | YES | 您的EPAY账号 | test2020@epay.com |
─version | string | YES | 版本号 | V2.0.0 |
─category | string | YES | 汇款方式:银行BANK,现金CASH | BANK |
─currency | string | YES | 币种,见currencyType说明 | USD |
─countryCode | string | YES | 国家编码:ISO 2位 | BR |
sign | string | YES | 签名,>=64位字符串长度 | xxxxxxxxxsignxxxxx |
Response
name | type | required | desc | example value |
---|---|---|---|---|
sign | string | YES | 签名 | xxxxxxxxxsignxxxxx |
epayAccount | string | YES | 您的EPAY账号 | test2020@epay.com |
version | string | YES | 版本号 | V2.0.0 |
code | integer | YES | 状态码 1:成功 | 1 |
message | string | YES | 提示 | success |
data | JSONObject | YES | 数据 | |
─channelCode | string | YES | 渠道编号 | 59 |
─showName | string | YES | 渠道名称 | {\"EN_US\": \"Bank(to Corporate Account)-TS\", \"ZH_CN\": \"银行(汇款至企业)-TS\"} |
参数示例
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\"}"
}
]
}
}