Payment Transaction Inquiry
Get detailed information about a payment transaction.
Last updated
Get detailed information about a payment transaction.
Last updated
This service provides detailed information about a payment transaction made through Zotlo. It can be used to verify payment transactions after purchases. With this service, you can check payment details or transaction logs.
Request Parameters
transactionId:
The transactionId is for the transaction you want to refund.
You can find the required Access Key and Access Secret for sending a request to the transaction inquiry service on the Developer Tools > API Keys page in the Zotlo Panel.
Sending the Application ID is not required.
payment_type
Type of payment transaction. Can be subscription
or consumable
( one-time)
subscriber_id
ID of the user making the purchase, which could be a phone number or email.
transaction_id
Unique ID of the purchase transaction used in refund transactions.
status
Contains the transaction types, possible values :
trial
: A trial started
trial_to_paid
: Trial converted to paid subscription
start_paid
: A paid subscription started (no trial package)
renewal
: Subscription renewed
reactive
: User reactivated a passive subscription with a payment
consumable
:Purchased a one-time package
purchase_date
Transaction execution date.
expire_date
Expiry date of the subscription purchase if applicable.
custom_parameters.paymentMethod
Specifies the payment method.
custom_parameters.cardBrand
Indicates the card brand.
transactionLog.code
It is the status code of the payment. You can view the payment codes on this page.
requestId
It is the unique request parameter generated and stored by Zotlo for your transaction.
httpStatus
It is the HTTP status code related to the response. The standard codes 400
or 500
are returned.
errorMessage
It is the detail of the received error. The error message is provided in the language specific to the parameter you sent.
errorCode
It is the error code from Zotlo.
result
The values this field can take are variable.If there’s an error, it will include data; otherwise, it will return as an empty object.