iiPayडेवलपर पोर्टल
उदाहरण OpenAPI सहायता
Docs/पेमेंट स्थिति
API संदर्भ

पेमेंट स्थिति

अपने मर्चेंट के पेमेंट और checkout status को पढ़ें।

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

GET /api/v1/payments/{payment_id}

Returns one payment belonging to the authenticated merchant. The ID is the public value returned at creation time, such as pay_…. A different merchant cannot retrieve it.

cURL · retrieve

curl https://i-pay.im/api/v1/payments/pay_REPLACE_UUID \
  -H 'Authorization: Bearer ipl_REPLACE_PUBLIC.ips_REPLACE_SECRET'

Successful responses include id, merchant_order_id, status, environment, and is_test, amount, currency, timestamps, checkout_url, upi_transaction_reference, and a transaction object only after settlement evidence is stored.

Payment statuses

StatusMeaning
PENDINGCreated or awaiting provider evidence.
PROCESSINGA verification attempt is in progress.
SUCCESSAuthoritative evidence passed all checks.
FAILEDThe provider confirmed failure.
EXPIREDThe expiry time passed without settlement.
REVIEWEvidence was incomplete, inconsistent, or needs operator review.

POST /api/v1/payments/{payment_id}/verify

This endpoint starts an idempotent server-side verification attempt. It requires provider, an Idempotency-Key, and may accept utr (or the legacy alias reference) as a candidate. A submitted UTR is never accepted as proof by itself.