Skip to main content
GET
Get Payment

Overview

Returns the full record of one payment: the order it belongs to, the settlement that paid it out, any refunds against it, and details of the method the buyer used. Take the payment_id from List Payments or from a payment webhook.
PSPs can fetch any payment they can act for: their own, or any sub-merchant’s. X-Merchant-ID is not needed here, and does not narrow the lookup.

Payment status

status is the payment’s status as recorded: pending, captured, failed or invalid. invalid means the attempt was voided when its payment link was closed.
A pending payment that has expired still reads pending here. List Payments shows the same payment as failed. Treat a pending payment whose order has passed its expiry as failed.
order.status is the order’s status, not the payment’s: payment_pending, payment_successful or failed. An order can have several payments, one per attempt, so a failed payment can belong to a payment_successful order.

Response Fields

  • order.amount is a decimal string with two places, e.g. "1500.00". The same applies to settlement.settlement_amount and refund[].refund_amount. Parse them as decimals, never as floats.
  • settlement is null until the payment is settled.
  • refund lists refunds against the payment, newest first, and is [] when there are none. refund_status is one of initiated, processing, refunded, failed, reversed, on_hold or bank_rejected_refund.
  • collection_mode is how the payment was collected: hosted_payment, payment_link or s2s.
  • mop_type and order.opted_mop_type are lowercase, e.g. upi or credit_card. opted_mop_type is the method chosen when the order was created; mop_type is the one the buyer actually used.
  • mop_detail depends on mop_type:
Any field inside mop_detail can be null when the payment provider did not return it.
  • For a UPI payment, upi_instrument is what funded it, lowercase: upi (bank account), upi_cc (credit card on UPI), upi_cl (credit line on UPI), upi_ppi (wallet), upi_si (UPI standing instruction) or upi_si_ppi (standing instruction from a wallet). null means the provider did not report the instrument. It does not mean plain UPI. This value may be available based on the processor.
  • upi_app is the UPI app the payer used, e.g. PhonePe, worked out from the handle of their VPA. It is null when the handle is not one we recognise.
  • created_at, payment_completed_at, order.created_at, and the timestamps under settlement and refund, are UTC, e.g. 2026-10-15T06:44:13.414209Z.

Errors

A payment ID that does not exist, or belongs to a merchant you cannot act for, returns 404:
The response is the same whatever X-API-Version you send. v1, v2 and v3 integrations share this endpoint and its response.

Authorizations

X-Client-ID
string
header
required

Client Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.

X-Client-Secret
string
header
required

Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.

Headers

X-API-Version
enum<string>
default:3.0.0

Optional. Send 3.0.0. It is not a credential. The response's X-API-Version header echoes the value you sent, or your account's default version if you send none.

Available options:
3.0.0

Path Parameters

payment_id
string
required

Payment ID, e.g. PR4350279153.

Response

The payment

success
boolean
message
string
data
object