获取所有币种
参数说明
Request
name | type | required | desc | example |
---|---|---|---|---|
param | JSONObject | YES | 参数 | |
─epayAccount | string | YES | 您的EPAY账号 | test2020@epay.com |
─version | string | YES | 版本号 | V2.0.0 |
─currency | string | NO | 币种 | AUD |
─transactionType | string | NO | 交易模式(C2C,B2C,B2B,C2B) | C2C |
─category | string | YES | 汇款方式:银行BANK,现金CASH | BANK |
─type | string | NO | 代收RECEIVE,代付PAYMENT,见currencyType说明 | 这里只传PAYMENT |
sign | string | YES | 签名 |
Response
name | type | required | desc | example |
---|---|---|---|---|
sign | string | YES | 签名 | |
epayAccount | string | YES | 您的EPAY账号 | test2020@epay.com |
version | string | YES | 版本号 | V2.0.0 |
code | integer | YES | 状态码,1表示成功 | 1 |
message | string | YES | 提示 | success |
data | array | JSONarray | 数据 | |
─countryList | array | JSONarray | 国家列表 | |
─ ─countryCode | string | YES | 国家编码:ISO 2位 | AU |
─ ─enName | string | YES | 英文名 | Australia |
─ ─cnName | string | YES | 中文名 | 澳大利亚 |
─currency | string | YES | 币种 | AUD |
─transactionType | string | NO | 支持的交易模式(C2C,B2C,B2B,C2B) | C2C |
─channelCode | string | NO | 渠道编号 | 43 |
参数示例
curl --location --request POST 'http://29597375fx.epaydev.xyz/capi/openapi/payoutApi/getReceiveCurrencyList' \
--header 'Content-Type: application/json' \
--data-raw '{
"param": {
"epayAccount": "test2020@epay.com",
"category": "BANK",
"currency": "AUD",
"version": "V2.0.0",
"transactionType": ""
},
"sign": "{{sign}}"
}'
RequestExample
curl --location --request POST 'http://29597375fx.epaydev.xyz/capi/openapi/payoutApi/getReceiveCurrencyList' \
--header 'Content-Type: application/json' \
--data-raw '{
"param": {
"epayAccount": "test2020@epay.com",
"category": "BANK",
"currency": "AUD",
"version": "V2.0.0",
"transactionType": ""
},
"sign": "{{sign}}"
}'
ResponseExample
{
"sign": "",
"epayAccount": "test2020@epay.com",
"version": "V2.0.0",
"code": 1,
"message": "success",
"data": [
{
"countryList": [
{
"countryCode": "AU",
"enName": "Australia",
"cnName": "澳大利亚"
}
],
"currency": "AUD",
"transactionType": "C2C",
"channelCode": "43"
}
]
}