Skip to main content

Get the bank configuration list

Use this API to get the list of bank configurations set up for a Merchant, with filtering by bank and pagination.

POST
URLhttps://open-api.tingee.vn/v1/merchant/get-paging-config

Query a Merchant's bank connection configurations by filter conditions.

Header Request​

HeaderRequiredDescription
Content-Type✓application/json
x-client-id✓Partner identifier issued by TINGEE.
x-signature✓HMAC SHA512 authentication signature. See How to generate the signature.
x-request-timestamp✓Time the request is sent (format: yyyyMMddHHmmssSSS, UTC+7)

Body Parameter​

FieldTypeRequiredDescription
merchantIdnumber✕Filter by Merchant ID (for Master Merchant accounts).
A Master Merchant leaves it empty to get the configurations of all Merchants it manages. A Merchant account always gets only its own configurations.
bankBinstring✕Bank BIN to filter results by. Takes precedence over bankName if you pass both.
bankNamestring✕Bank code to filter results by (e.g. ACB, BIDV, CTG).
accountTypestring✕Filter by account type: business-account (business), business-household-account (household business), personal-account (personal).
filterstring✕Find configurations that have a value in configDto exactly matching this string (e.g. an account number). You can use the % wildcard.
skipCountnumber✕Number of records to skip (pagination). Default: 0.
maxResultCountnumber✕Maximum number of records per page (up to 2000). Leave empty to get all.

Code samples​

curl --location --request POST 'https://open-api.tingee.vn/v1/merchant/get-paging-config' \
--header 'accept: application/json' \
--header 'x-client-id: YOUR_CLIENT_ID' \
--header 'x-request-timestamp: 20240509154004003' \
--header 'x-signature: YOUR_SIGNATURE' \
--header 'Content-Type: application/json' \
--data '{
"bankBin": "970416",
"skipCount": 0,
"maxResultCount": 10
}'

Sample Response​

{
"code": "00",
"message": "Success",
"data": {
"totalCount": 1,
"items": [
{
"id": 1,
"bankName": "ACB",
"bankBin": "970416",
"accountType": "business-account",
"configDto": {
"accountNumber": "698988999",
"accountName": "CONG TY TNHH ABC",
"vaPrefix": "TINGEE",
"mobile": "0843226139",
"acbUserId": "ACB_USER_001"
}
}
]
}
}
FieldTypeDescription
codestringResult code (00 = Success).
messagestringResponse message.
data.totalCountnumberTotal number of configurations matching the conditions.
data.itemsarrayDetailed list of bank configurations, sorted by id in descending order.
data.items[].idnumberConfiguration record ID.
data.items[].bankNamestringBank code (e.g. ACB, BIDV).
data.items[].bankBinstringBank BIN (e.g. 970416 = ACB).
data.items[].accountTypestringAccount type: business-account, business-household-account or personal-account.
data.items[].configDtoobjectDetailed configuration; its structure depends on the bank and matches the configuration object used in Create / update configuration (e.g. for ACB: acbConfigDto).
data.items[].configDto.accountNumberstringBusiness bank account number.
data.items[].configDto.accountNamestringBank account holder name.
data.items[].configDto.vaPrefixstringVirtual Account prefix.
data.items[].configDto.mobilestringPhone number registered with the bank account.
data.items[].configDto.acbUserIdstringACB Online / Biz login user ID (ACB only).

Common error codes​

CodeDescriptionHow to handle
90, 91, 92, 97Request authentication error (timestamp, client-id, signature)See System error codes.
OthersOther errorsSee Error codes.