Payment History Inquiry
Check your payment transactions with Zotlo
Last updated
Check your payment transactions with Zotlo
Last updated
This API service provides information about payment transactions or one-time payments of your subscribers in Zotlo. Payment History Inquiry service works using GET
method. SubscriberId
parameter is mandatory to get payment transactions.
Method
GET
URL
Request Parameters
subscriberId
: The email or phone number used by the user when starting the subscription.
paymentType:
It is the payment type value. It can have either subscription
or consumable
values.Consumable refers to one-time payments.This parameter is not mandatory to send.
startDate
: If a payment is required after a specific date, the date should be sent in this parameter in the format 2024-01-15.This parameter is not mandatory to send.
endDate:
If a payment is required before a specific date, the date should be sent in this parameter in the format 2024-01-30.This parameter is not mandatory to send.
When sending a request to the payment history inquiry service, you can obtain the necessary Access Key and Access Secret information from the Developer Tools/API Keys page in the Zotlo Panel.
Our services return HTTP status code 200
for successful responses. For unsuccessful cases, HTTP status codes 400
or 500
are returned. An example error response is as follows:
Below are the parameters included in failed responses.
requestId
A unique request parameter generated and stored by Zotlo.
httpStatus
The HTTP status code associated with the response. Standard codes include 400
or 500
.
errorMessage
Details of the error received. Error messages are sent according to the language parameter you send.
404001
: Invalid endpoint
401002
: AccessKey, AccessSecret parameters are incorrect.
400008
: SubscriberId parameter is incorrect. 400009
: Subscriber profile not found. 500000
: Server error.
errorCode
The error code specific to Zotlo. Zotlo has unique error codes for each type of error.
404001
: Invalid endpoint
401002
: AccessKey, AccessSecret parameters are incorrect.
400008
: SubscriberId parameter is incorrect. 400009
: Subscriber profile not found. 500000
: Server error.
result
This field can dynamically change. In case of an error, the response from the service may be returned filled with details or as an empty object.