POST /v1/payments/create

Initialize payment with Iyzico CheckoutForm

Initialize Iyzico CheckoutForm payment page for subscription (no iyzico account required)

Request

POST /v1/payments/create

Parameters

[]

Response

{ "200": { "description": "CheckoutForm initialized successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "success": { "type": "boolean" }, "message": { "type": "string" }, "data": { "type": "object", "properties": { "token": { "type": "string" }, "paymentPageUrl": { "type": "string" }, "tokenExpireTime": { "type": "number" }, "amount": { "type": "number" }, "currency": { "type": "string" } }, "required": [ "token", "paymentPageUrl", "tokenExpireTime", "amount", "currency" ] } }, "required": [ "success", "message", "data" ] } } } }, "400": { "description": "CheckoutForm initialization failed" }, "404": { "description": "Subscription not found" } }

View in Interactive API Reference