Skip to main content
Version: 1.0

API Check account info

API Check account info

Chat with AI▼

Endpoint: /api/v1/service/transfer/bank/account/info

Method: POST

Header: How to generate JWT_TOKEN

Language: en | vi

{
"X-APPOTAPAY-AUTH": Bearer JWT_TOKEN,
"Content-Type": "application/json",
"Language": LANGUAGE
}

Params​

ParamsRequiredTypeDescription
bankCode√StringError code banks prescribed AppotaPay have to define into pages: List bank support transfer money.
accountNo√StringAccount number or card bank of customer.
Length is 4-22 characters
accountType√StringType of accountNo

account: Account number

card: Card bank

partnerRefId√StringTransaction Id from partner
signature√StringSignature of parameter passed to the API, the parameter is included into signature like this: accountNo + accountType + bankCode + partnerRefId (see more how to generate signature)

Data result​

ParamsTypeDescription
errorCodeIntegerError code result
messageStringDescription error code detail
accountInfoObjectTransaction information
accountInfo.accountNoStringAccount number or card bank of client
accountInfo.accountNameStringAccount Name
accountInfo.bankCodeStringBank code
accountInfo.accountTypeStringaccountNo includes:

account: account bank

card: card bank

signatureStringSignature of parameter passed to the API, the parameter is included into signature like this: accountName + accountNo + errorCode (see more how to check signature)

Example​

Request​

{
"bankCode": "TPBANK",
"accountNo": "13210013240000",
"accountType": "account",
"partnerRefId":"P199212928",
"signature": "b5bb9a6e9c71281fb1e06d"
}

Response​

{
"errorCode": 0,
"message": "Thành công",
"accountInfo": {
"accountNo":13210013240000,
"accountName":"NGUYEN VAN A",
"bankCode":"TPBANK",
"accountType":"account"
},
"signature": "b5bb9a6e9c71281fb1e06d"
}