Skip to main content
Version: Lastest

API Check account info

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

Method: POST

Header: How to generate JWT_TOKEN

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

Params

ParamsRequiredTypeDescription
bankCodeStringError code banks prescribed AppotaPay have to define into pages: List bank support transfer money.
accountNoStringAccount number or card bank of customer.
Length is 4-22 characters
accountTypeStringType of accountNo

account: Account number

card: Card bank

partnerRefIdStringTransaction Id from partner
signatureStringSignature 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"
}