Skip to main content
Version: Lastest

API Check Transaction

Endpoint: /v1/services/transaction/check?api_key=YOUR_API_KEY

Method: GET

Header: How to generate JWT_TOKEN

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

Params

ParamsRequiredTypeDescription
partner_codeStringPartner code is provided by AppotaPay
transaction_idStringPartner Transaction ID
signatureStringHash params: signature= SHA256(partner_code + transaction_id + secret_key)

Secret key is provided by AppotaPay

Data result

ParamsTypeDescription
error_codeStringError Code
messageStringError Message
dataObjectResponse Data
data.amountIntegerCard value
data.serialStringCard serial
data.transaction_idStringAppotaPay transaction ID
data.timeStringTransaction time