API संदर्भ
पेमेंट स्थिति
अपने मर्चेंट के पेमेंट और checkout status को पढ़ें।
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
| Status | Meaning |
|---|---|
PENDING | Created or awaiting provider evidence. |
PROCESSING | A verification attempt is in progress. |
SUCCESS | Authoritative evidence passed all checks. |
FAILED | The provider confirmed failure. |
EXPIRED | The expiry time passed without settlement. |
REVIEW | Evidence 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.