An interactive playground that sends requests from this page is not available. Fill in the fields to build the request, then copy the cURL command and run it in your terminal with your test key.
/v2/payments/checkoutexport MAXFI_TEST_KEY="sk_test_…" curl https://maxfi-api.exezine.az/v2/payments/checkout \ -H "Authorization: Bearer $MAXFI_TEST_KEY" \ -H "Content-Type: application/json" \ -d '{ "amount": 4900, "currency": "USD", "description": "Pro plan — annual", "order_id": "order_42", "success_url": "https://yourapp.com/success", "cancel_url": "https://yourapp.com/pricing", "webhook_url": "https://yourapp.com/maxfi" }'
{
"id": "cs_3f9c1a7e5b2d4c6f8a0b1c2d3e4f5a6b",
"checkout_url": "https://maxfi-api.exezine.az/checkout/cs_3f9c1a7e5b2d4c6f8a0b1c2d3e4f5a6b",
"expires_at": "2026-11-13T12:30:00.000Z",
"amount": 4900,
"currency": "USD",
"status": "open",
"livemode": false
}