M
MAXFIdeveloper hub
PUBLIC PREVIEW · DRY-RUN

API Playground

Tweak the request below. We render a live cURL and the response shape you'd see on the wire. Hit Run to execute it against your sandbox account once you've grabbed test keys from the merchant dashboard.

Endpoint
POST/v2/payments/checkout
Amount (minor units)
Currency
Description
Order id
Live execution requires a sk_test_ key — paste it from your dashboard or use the Get API keys button.
REQUEST · live preview
curl https://maxfi-api.exezine.az/v2/payments/checkout \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 4900,
    "currency": "USD",
    "description": "Pro plan — annual",
    "order_id": "order_42",
    "settings": {
      "success_url": "https://yourapp.com/success",
      "cancel_url":  "https://yourapp.com/pricing"
    },
    "webhook_url": "https://yourapp.com/maxfi"
  }'
← 200 OK · sample shape
{
  "id": "cs_pl_demo_a1b2c3d4",
  "checkout_url": "https://maxfi-api.exezine.az/checkout/cs_pl_demo_a1b2c3d4",
  "expires_at": "2026-04-17T08:33:23.182Z",
  "amount": 4900,
  "currency": "USD",
  "status": "open",
  "livemode": false
}
Want webhook events delivered to your test endpoint?Webhook simulator