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
Operation result.
Response language.
Operation time (epoch ms).
1755596201712Echoes the value you sent in the request.
123456789Token of the checkout form.
a9f91f36-2110-4c55-848e-bdd2c7016171HTML content of the checkout form.
Token validity time in seconds.
1800Error 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
Indicates the request result; success if the operation succeeded.
Current unix timestamp at the response time.
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
Current unix timestamp at the response time.
1755600509451Echoes the value you sent in the request.
123456789Token of the checkout form.
8e86b16e-9c0f-450d-a09d-0fd8a27e5197Error 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
Operation result.
Operation time (epoch ms).
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
Indicates the result of the request. Returns success if the operation succeeds.
Unix timestamp (milliseconds) of the 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
Result of the request. Returns success if the operation is successful.
Server time of the response (epoch ms).
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
Result of the request. Returns success if the operation is successful.
Server time of the response (epoch ms).
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
Result of the request. Returns success if the operation is successful.
Server time of the response (epoch ms).
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
Result of the request.
Server time of the response (epoch ms).
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
Result of the request.
Server time of the response (epoch ms).
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
Operation result.
Response language.
Operation time (epoch ms).
1755679946462ID sent for request/response correlation. Echoed back in the response.
04c6063d-eb03-4817-ba87-33b81e392ecfToken of the card update checkout form.
83832cc6-89b6-4a83-ac9f-dd996a52b2cbHTML content for the checkout form where card information is updated.
Token validity period (seconds).
1800Error response
Sample Codes
Last updated
