Fetch all payments from the internal system associated with the given subscription. Available for all payment gateways and all environments (including production).
Path Parameters
The unique identifier (uid) of the subscription.
Response Fields
Unique identifier of the payment request.
Unique identifier of the associated order.
Merchant-facing reference ID for the order.
Payment amount in the billing currency (e.g., INR).
ISO 4217 currency code (e.g., INR).
Payment status. One of:
PENDING — Payment is pending
CAPTURED — Payment was successfully captured
FAILED — Payment failed
INVALID — Payment is invalid
Type of payment. One of:
REGULAR — One-time payment
RECURRING — Recurring subscription payment
MANDATE — Mandate/authorization payment
Mode of payment. One of: CREDIT_CARD, DEBIT_CARD, UPI, NET_BANKING, WALLET, QR, EMI, BNPL, CARD, VBA_TRANSFER.
Bank reference number for the transaction.
Additional status message or failure reason.
ISO 8601 timestamp when the payment record was created.
ISO 8601 timestamp when the payment was completed at the gateway.
200 - Success
404 - Subscription not found
{
"success" : true ,
"message" : "Subscription payments fetched successfully" ,
"data" : [
{
"payment_id" : "dpr_abc123" ,
"order_id" : "ord_xyz789" ,
"reference_id" : "SUBPAY-sub123-cf456" ,
"amount" : 1000.00 ,
"currency" : "INR" ,
"status" : "CAPTURED" ,
"payment_type" : "RECURRING" ,
"mop_type" : "UPI" ,
"bank_ref_num" : "BANK123456" ,
"status_message" : null ,
"created_at" : "2025-03-20T10:30:00Z" ,
"payment_completed_at" : "2025-03-20T10:30:05Z"
}
]
}