Get list bank code
This API to is used to Get list bank code.
- application/json
- application/x-www-form-urlencoded
Request Body required
- app_id int64 required
This is a Zalopay-provided identifier specific to the merchant's service or application, established during the integration agreement for payment methods.
- time int64 required
Request timestamp in milliseconds (Unix timestamp). Current timestamp in milliseconds based on current time.
- mac string required
Authentication information: mac = HMAC(hmac_algorihtm, mac key, hmacinput), see as below:
- hmac_algorihtm: is a security method registered by Merchant with Zalopay, the default is HmacSHA256.
- mac key: provided by Zalopay at registration.
- hmac_input = app_id +|+ time.Please refer to secure data transmission for detailed information.
Request Body required
- app_id int64 required
This is a Zalopay-provided identifier specific to the merchant's service or application, established during the integration agreement for payment methods.
- time int64 required
Request timestamp in milliseconds (Unix timestamp). Current timestamp in milliseconds based on current time.
- mac string required
Authentication information: mac = HMAC(hmac_algorihtm, mac key, hmacinput), see as below:
- hmac_algorihtm: is a security method registered by Merchant with Zalopay, the default is HmacSHA256.
- mac key: provided by Zalopay at registration.
- hmac_input = app_id +|+ time.Please refer to secure data transmission for detailed information.
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- return_code integer
Status code.
Please refer to status code for possible values. - return_message string
Description of status code.
- sub_return_code integer
Staus code detail.
Please refer to sub status code for possible values. - sub_return_message string
Description of status code detail.
data object
bank_list object[]
Array [bank_code stringThis bank code will be used in the Verify-Account, Transfer-Fund API.
short_name stringBank short name.
name stringBank full name.
logo_url stringThis url bank logo.
]
{
"return_code": 0,
"return_message": "string",
"sub_return_code": 0,
"sub_return_message": "string",
"data": {
"bank_list": [
{
"bank_code": "string",
"short_name": "string",
"name": "string",
"logo_url": "string"
}
]
}
}