Max SystemsMAXFIdeveloper hub
No requests are sent

API Playground

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.

Endpoint
POST/v2/payments/checkout
Use a test secret key (sk_test_…) from the merchant portal (Developer Hub → API Keys). This page sends nothing; never paste secret keys into web pages.
Request · cURL
export 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"
  }'
Example response (not a real request)
{
  "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
}
Open checkout_url from the response and pay with a test card: Quickstart
To receive test webhook events at your endpoint, use the event simulator in the merchant portal (Developer Hub → Sandbox).
Webhook format
API Playground · MAXFI Developer Hub