GET /v1/payments/callback

Handle CheckoutForm payment callback

Process Iyzico CheckoutForm payment callback and activate subscription

Request

GET /v1/payments/callback

Parameters

[ { "schema": { "type": "string" }, "required": true, "name": "token", "in": "query" } ]

Response

{ "200": { "description": "Payment processed successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "success": { "type": "boolean" }, "message": { "type": "string" }, "data": { "type": "object", "properties": { "payment_status": { "type": "string" }, "subscription_activated": { "type": "boolean" }, "next_step": { "type": "string" } }, "required": [ "payment_status", "subscription_activated", "next_step" ] } }, "required": [ "success", "message", "data" ] } } } }, "400": { "description": "Payment failed or cancelled" } }

View in Interactive API Reference