Subscription Transactions
Initialize Subscription
Table of Subscription Status
Initializing Subscription via Checkout Form
Authorization header, a signed hash value that starts with IYZWSv2 and is produced in Base64 format.
The request content type.
application/jsonLanguage code. Default is tr. Send "en" to create the checkout form in English.
enPossible values: Callback URL to which the payment result will be sent.
https://callbackUrl.comReference code of the plan to start the subscription.
7515f763-5da3-4a35-8f7f-d425ae44ac04Initial status. If PENDING, subscription will not start until activated.
ACTIVEPossible values: Optional correlation value to match request/response pairs.
123456789Successful response
Error response
Sample Codes
Authorization header, a signed hash value that starts with IYZWSv2 and is produced in Base64 format.
The request content type.
application/jsonReference code of the plan to start the subscription.
7515f763-5da3-4a35-8f7f-d425ae44ac04Optional correlation value to match request/response pairs.
123456789Initial status. If PENDING, subscription will not start until activated.
ACTIVEPossible values: Successful response
Error response
Sample Codes
Token returned by checkout form initialize for this operation.
Optional correlation value you send in the request to match with the response.
Authorization header, a signed hash value that starts with IYZWSv2 and is produced in Base64 format.
The request content type.
application/jsonSuccessful response
Error response
Sample Codes
Authorization header, a signed hash value that starts with IYZWSv2 and is produced in Base64 format.
The request content type.
application/jsonInitial status. If PENDING, subscription will not start until activated.
ACTIVEPossible values: Reference code of the plan to start the subscription.
7515f763-5da3-4a35-8f7f-d425ae44ac04Reference code of the existing customer. Must already have an active subscription to start a new one with this flow.
279bb493-6fda-45e9-9368-2373ea43ff8dSuccessful response
Error response
Sample Codes
Reference code of the subscription that was started as pending.
a2077643-bab7-4b73-85a5-7676c78d7c66Authorization header; a Base64-encoded signed hash value that begins with IYZWSv2.
Request body content type.
application/jsonReference code of the subscription that was started as pending.
a2077643-bab7-4b73-85a5-7676c78d7c66Successful response
Error response
Sample Codes
Authorization header, a signed hash value that starts with IYZWSv2 and is generated in Base64 format.
Content format of the request.
application/jsonReference code of the failed payment. This is the orderReferenceCode value provided in the webhook notification for the failed subscription payment.
009dac1a-00dc-41e8-a92f-2c24b18e27b9Successful response
Error response
Sample Codes
Reference code of the subscription to cancel.
009dac1a-00dc-41e8-a92f-2c24b18e27b9Authorization header, a signed hash value that starts with IYZWSv2 and is generated in Base64 format.
Content format of the request.
application/jsonSubscription reference code. Can optionally be sent in the request body.
a2077643-bab7-4b73-85a5-7676c78d7c66Successful response
Error response
Sample Codes
Reference code of the subscription to upgrade.
97fb885d-69e3-49ac-8590-9d05c9c6016eAuthorization header, a signed hash value that starts with IYZWSv2 and is generated in Base64 format.
Content format of the request.
application/jsonWhen the upgrade will take effect. Values:
- NOW: Apply the change immediately.
- NEXT_PERIOD: Apply the change at the next billing period.
NOWPossible values: Reference code of the target pricing plan.
dbffa857-40f5-48d1-9179-e9326ffb942dIf true, includes the trial period of the upgraded plan.
false- true: Recalculates the subscription end date according to the new plan’s recurrenceCount.
- false: Keeps the current plan’s end date and transfers it to the new plan.
trueSuccessful response
Error response
Sample Codes
Reference code of the subscription to query.
732a16cc-2ec4-4399-9aab-656cb6f5249eAuthorization header, a signed hash value that starts with IYZWSv2 and is generated in Base64 format.
Content format of the request.
application/jsonSubscription reference code. Can optionally be sent in the request body.
732a16cc-2ec4-4399-9aab-656cb6f5249eSuccessful response
Successful response
Sample Codes
Reference code of the subscription to query.
97fb885d-69e3-49ac-8590-9d05c9c6016eCustomer reference code.
279bb493-6fda-45e9-9368-2373ea43ff8dReference code of the pricing plan used in the subscription.
dbffa857-40f5-48d1-9179-e9326ffb942dParent reference code used for matching in subscription updates.
670489f2-9224-4a71-af6c-7044d22f5d73Subscription status filter.
ACTIVEPossible values: Subscription start date.
2025-08-24 14:30:26Subscription end date (epoch ms).
2025-08-24 14:30:26Page number.
1Number of records per page.
20Authorization header, a signed hash value that starts with IYZWSv2 and is generated in Base64 format.
Content format of the request.
application/jsonSuccessful response
Example response for a wrong endpoint (e.g., typo).
Sample Codes
Authorization header, a signed hash value that starts with IYZWSv2 and is generated in Base64 format.
Content format of the request.
application/jsonCallback URL where the update result will be posted.
https://www.merchant.com/callbackReference code of the customer whose card will be updated.
279bb493-6fda-45e9-9368-2373ea43ff8dIf updating on a specific subscription, the subscription reference code (optional).
52c732ba-b449-460b-b553-ab21f9074300Response language preference.
enPossible values: Successful response
Error response
Sample Codes
Last updated
