Skip to main content
Version: Lastest

API Check status transaction

Endpoint: /api/v1/service/transfer/transaction/{partnerRefId}

Method: GET

Header: How to generate JWT_TOKEN

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

Params

ParamsRequiredTypeDescription
partnerRefIdStringTransaction id from partner passed to API Url

Data result

ParamsTypeDescription
errorCodeIntegerError result
messageStringDescription error code detail
transactionObjectTransaction information
transaction.phoneNumberStringCustomer phone number
transaction.amountIntegerMoney transfer
transaction.transferAmountIntegerThe actual amount transferred to the receiver, will be less if this transaction paid by receiver
transaction.appotapayTransIdStringTransaction id from AppotaPay
transaction.accountNoStringRecipient's account/card number
transaction.accountNameStringRecipient's name
transaction.timeIntegerTransaction time
signatureStringSignature of parameter passed to the API, the parameter is included into signature like this: amount + appotapayTransId + errorCode + time + transferAmount (see more how to generate signature)

Example

Response

{
"errorCode": 0,
"message": "Thành công",
"transaction": {
"phoneNumber":"0987777888",
"amount":50000,
"transferAmount":50000,
"appotapayTransId":"01EQTH129581",
"accountNo":"9704000000000018",
"accountName":"AP APPOTAPAY",
"time": 1608778440
},
"signature": "b5bb9a6e9c71281fb1e06d"
}