Balance
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 | EUR |
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 | V2.0.0 |
code | integer | YES | Response code 1 : Success | 1 |
message | string | YES | Message info | success |
data | array | JSONarray | ||
─currency | string | YES | Currency | EUR |
─balance | string | YES | Balance | 5313.61 |
Parameter example
curl --location --request POST 'http://29597375fx.epaydev.xyz/capi/openapi/payoutApi/getBalance' \
--header 'Content-Type: application/json' \
--data-raw '{
"param": {
"epayAccount": "test2020@epay.com",
"currency": "",
"version": "V2.0.0"
},
"sign": "{{sign}}"
}'
RequestExample
curl --location --request POST 'http://29597375fx.epaydev.xyz/capi/openapi/payoutApi/getBalance' \
--header 'Content-Type: application/json' \
--data-raw '{
"param": {
"epayAccount": "test2020@epay.com",
"currency": "",
"version": "V2.0.0"
},
"sign": "{{sign}}"
}'
ResponseExample
{
"sign": "",
"epayAccount": "test2020@epay.com",
"version": "V2.0.0",
"code": 1,
"message": "success",
"data": [
{
"currency": "EUR",
"balance": "5313.61"
},
{
"currency": "GBP",
"balance": "7520.88"
},
{
"currency": "HKD",
"balance": "24030.84"
},
{
"currency": "JPY",
"balance": "89.78"
},
{
"currency": "USD",
"balance": "128453.11"
}
]
}