Subscription Transactions
A subscription that was started as pending can be activated via this service.
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
Cancels an active subscription.
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
If a recurring payment fails for a subscription, use this service to retry the charge and collect the payment.
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
A failed payment transaction can be retried within a maximum of 160 days. If this period is exceeded, no further payment attempts can be made for the subscription.
You can change or upgrade the plan during the subscription, provided that the new plan belongs to the same product and the billing interval (paymentInterval and paymentIntervalCount) remains the same. Use this service for price changes.
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
Updates the credit card used in a subscription. In cases like payment failure or card expiry, merchants can prompt customers to update their card. The update can only be performed through the iyzico Checkout Form. A ₺1 validation charge is taken and immediately refunded to validate the updated card.
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
Returns full details of a subscription by its reference code.
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
Retrieve subscription and payment details by filtering with various parameters, or without any parameters. For example, by sending only subscriptionStatus, you can list subscriptions with that status.
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).
Last updated
