API Reference

Get Virtual Account Detail

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

NameRequiredTypeDescription
idoptionalstringid bank account which linked to bank

Response

Content-Type: application/json

Body

account_namestringAccount name
bank_codestringBank code
is_activeboolTrue / False
usage_typestringUsage type
static_qr_codestringStatic QR code
balance_available_amountfloat64Available amount
currency_codestringex: VND/USD
reference_idstringReference ID
master_account_namestringMaster account ID
bank_idstringBank ID

Errors

StatusMesssage
200Success
401Unauthorized

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"
        }
    ]
}