Get Payment Details
This endpoint returns the detailed information about a payment processed through Zotlo. It returns the full transaction record, including payment metadata, provider response, logs, and refund information.
It is commonly used to verify purchase results, diagnose failed payments, or fetch receipt details.
Use the GET method to query a payment and transactionId is required.
Request Parameters
transactionId
Required
The ID of the transaction you want to query.
isSandbox
Required
Indicates whether the subscription was created in sandbox or live mode.Send:
true → sandbox
false → live
Sample Request
GET https://api.zotlo.com/v1/transaction/detail?transactionId=TRANSACTION_ID HTTP/1.1
AccessKey: ••••••
AccessSecret: ••••••
Content-Type: application/json
ApplicationId: •
Language: ••Successful Response
Key Response Fields
payment_type
Type of payment. subscription or consumable (one-time).
subscriber_id
The email or phone number of the user who made the purchase.
transaction_id
Unique ID of the transaction.
status
Payment or subscription action type. Possible values: trial, trial_to_paid, start_paid, renewal, reactive, consumable.
purchase_date
When the transaction was processed.
expire_date
Expiration date (for subscription transactions).
custom_parameters.paymentMethod
The payment method used.
transactionLog.code
Standardized payment status or error code.
(See Payment Status Codes)
Failed Response
All failed responses follow the same standard error format. (See: Error Handling)
Last updated

