Currency
Parameter description
Request
name | type | required | desc | example |
---|---|---|---|---|
param | JSONObject | YES | ||
─epayAccount | string | YES | Merchant Epay Account | test2020@epay.com |
─version | string | YES | Version number | V2.0.0 |
─currency | string | NO | Currency | AUD |
─transactionType | string | NO | Transaction Type(C2C,B2C,B2B,C2B) | C2C |
─category | string | YES | BANK or CASH | BANK |
─type | string | NO | RECEIVE or PAYMENT,refer tocurrencyType | PAYMENT |
sign | string | YES | Signature |
Response
name | type | required | desc | example |
---|---|---|---|---|
sign | string | YES | Signature | |
epayAccount | string | YES | Merchant Epay Account | test2020@epay.com |
version | string | YES | Version number | V2.0.0 |
code | integer | YES | Response code 1 : Success | 1 |
message | string | YES | Message info | success |
data | array | JSONarray | ||
─countryList | array | JSONarray | Country List | |
─ ─countryCode | string | YES | Country code: ISO 2 bits | AU |
─ ─enName | string | YES | English Country Name | Australia |
─ ─cnName | string | YES | Chinese Country Name | 澳大利亚 |
─currency | string | YES | Currency | AUD |
─transactionType | string | NO | Transaction Type(C2C,B2C,B2B,C2B) | C2C |
─channelCode | string | NO | Channel code | 43 |
Parameter example
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"
}
]
}