Request
[GET] /api/v1/account/get-account-detail/:id
Content-Type: application/json
x-client-id: <client_id>
x-signature: <signature>
x-timestamp: <timestamp>
Body
Name | Required | Type | Description |
---|---|---|---|
id | optional | string | id bank account which linked to bank |
Response
Content-Type: application/json
Body
account_name | string | Account name |
---|---|---|
bank_code | string | Bank code |
is_active | bool | True / False |
usage_type | string | Usage type |
static_qr_code | string | Static QR code |
balance_available_amount | float64 | Available amount |
currency_code | string | ex: VND/USD |
reference_id | string | Reference ID |
master_account_name | string | Master account ID |
bank_id | string | Bank ID |
Errors
Status | Messsage |
---|---|
200 | Success |
401 | Unauthorized |
Example
Request
[GET] /api/v1/account/get-account-detail/3c919ce1-b310-47ae-9727-f9323ac4fba7
{
"number_account": "B001000012",
"account_name": "JOHN DOE",
}
Response
{
"message": {
"content": "Thực thi API thành công"
},
"code": 102000,
"request_id": "7f23d196c4611372745712d6a1703ccf",
"data": [
{
"account_number": "1AM002110000121",
"account_name": "SHINHN CUA XIEN",
"bank_code": "SHBVN",
"is_active": true,
"usage_type": "merchant_host",
"static_qr_code": "00020101021238590010A0000007270129000697042401151AM0021100001210208QRIBFTTA53037045802VN5915SHINHN CUA XIEN62220818TT SHINHN CUA XIEN6304568F",
"id": "3c919ce1-b310-47ae-9727-f9323ac4fba7",
"balance_available_amount": 0,
"reference_id": "1011030",
"master_account_name": "CONG TY TNHH 1AM VIET NAM",
"bank_id": "616"
}
]
}