iiPayडेवलपर पोर्टल
उदाहरण OpenAPI सहायता
Docs/शुरुआत कैसे करें
यहाँ से शुरू करें

शुरुआत कैसे करें

मर्चेंट अकाउंट से hosted checkout तक का आसान रास्ता।

OpenAPI डाउनलोड करें ↗

Before you integrate

  1. Receive or register a merchant account with an active status.
  2. Ask an administrator to issue an API credential. The complete bearer token is displayed once.
  3. Configure your receiving UPI ID and an enabled, supported provider configuration.
  4. Have an active package subscription with enough remaining INR verified-payment volume.
  5. Send customers to the checkout_url returned by payment creation.
  6. Use the API status response or a verified webhook before delivering your product or service.

Provider status: Paytm and Google Pay (GPay) are available when their global status is available. Merchants connect their own receiving account; no routine administrator assignment is required. Read GET /api/v1/providers for the current status.

Create your first payment

Use a unique Idempotency-Key for each business order. Amounts are decimal strings with up to two fractional digits; currency must be INR. The response includes a public payment ID and a tokenized hosted checkout URL.

cURL · create payment

curl -X POST https://i-pay.im/api/v1/payments \
  -H 'Authorization: Bearer ipl_REPLACE_PUBLIC.ips_REPLACE_SECRET' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: order_2026_0001_create' \
  -d '{
    "merchant_order_id": "order_2026_0001",
    "amount": "499.00",
    "currency": "INR",
    "description": "Example order"
  }'

One rule that matters

Never treat a redirect, a customer-side callback, an entered UTR, or a successful HTTP request as settlement. Retrieve the payment and require status = SUCCESS with the transaction evidence returned by iPay.