Skip to main content
Version: Lastest

API Check transaction status

Endpoint: /api/v1/service/topup/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 send to API url

Data result

ParamsTypeDescription
errorCodeIntegerError code result
messageStringDescription error code detail
transactionObjectTransaction information
transaction.amountIntegerAmount information
transaction.topupAmountStringAmount topup
transaction.phoneNumberStringPhone number topup
transaction.appotapayTransIdStringTransaction id from AppotaPay
transaction.timeStringTransaction time
signatureStringSignature of parameter passed to the API, the parameter is included into signature like this: (amount + appotapayTransId + errorCode + phoneNumber + time + topupAmount) (see more how to generate signature)