List supported banks
Returns a list of supported banks.
- application/x-www-form-urlencoded
Request Body required
List supported banks request
- appid string required
The unique ID of the partner will be provided after the partner registered successfully with Zalopay
- reqtime string required
The timestamp that API was requested at in ms.
- mac string required
It is signature of request. It's calculated by following input: hmacinput = appid +
|
+ reqtime; and use sha256 with app's hmac key as sign key.Please refer to secure data transmission for detailed information.
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- returncode integer
1 - SUCCESS
2 - FAIL
- returnmessage string
Return code description
banks object
List of supported banks
Data type: Map(pmcid, Array(bankdto))
Note about pcmid:
36 - Visa/Master/JCB
37 - Bank account
38 - Zalopay
39 - ATM
41 - VISA/Master Debit
36 object[]
Array [bankcode stringBank code
name stringBank name
displayorder int64Display order
pcmid int64minamount int64Minimum payment amount
maxamount int64Maximum payment amount
]37 object[]
Array [bankcode stringBank code
name stringBank name
displayorder int64Display order
pcmid int64minamount int64Minimum payment amount
maxamount int64Maximum payment amount
]38 object[]
Array [bankcode stringBank code
name stringBank name
displayorder int64Display order
pcmid int64minamount int64Minimum payment amount
maxamount int64Maximum payment amount
]39 object[]
Array [bankcode stringBank code
name stringBank name
displayorder int64Display order
pcmid int64minamount int64Minimum payment amount
maxamount int64Maximum payment amount
]41 object[]
Array [bankcode stringBank code
name stringBank name
displayorder int64Display order
pcmid int64minamount int64Minimum payment amount
maxamount int64Maximum payment amount
]
{
"returncode": 0,
"returnmessage": "string",
"banks": {
"36": [
{
"bankcode": "string",
"name": "string",
"displayorder": 0,
"pcmid": 0,
"minamount": 0,
"maxamount": 0
}
],
"37": [
{
"bankcode": "string",
"name": "string",
"displayorder": 0,
"pcmid": 0,
"minamount": 0,
"maxamount": 0
}
],
"38": [
{
"bankcode": "string",
"name": "string",
"displayorder": 0,
"pcmid": 0,
"minamount": 0,
"maxamount": 0
}
],
"39": [
{
"bankcode": "string",
"name": "string",
"displayorder": 0,
"pcmid": 0,
"minamount": 0,
"maxamount": 0
}
],
"41": [
{
"bankcode": "string",
"name": "string",
"displayorder": 0,
"pcmid": 0,
"minamount": 0,
"maxamount": 0
}
]
}
}