Capture a Payment
Captures an authorized payment. A payment must be in authorized status to be captured. You can capture for the full authorized amount or a lesser amount.
Authorizations
Use your Razorpay Key ID as the username and Key Secret as the password.
Path Parameters
The unique identifier of the authorized payment to capture.
"pay_DJkTfWoJ5ZFPce"
Body
Request body for capturing an authorized payment.
Response
The payment was successfully captured. Returns the updated payment object.
A Razorpay Payment object representing a payment transaction.
Unique identifier for the payment.
"pay_DJkTfWoJ5ZFPce"
Entity type, always payment for payment objects.
"payment"
The payment amount in the smallest currency sub-unit (e.g., paise for INR).
50000
The ISO 4217 currency code for the payment.
"INR"
The current status of the payment.
created, authorized, captured, refunded, failed "captured"
The unique identifier of the order associated with this payment.
"order_IluGWxBm9U8zJ8"
The payment method used for this transaction.
card, netbanking, wallet, upi, emi "upi"
Indicates whether the payment has been captured. true if the payment is captured.
true
A brief description of the payment.
"Payment for order #1001"
The email address of the customer who made the payment.
"john.doe@example.com"
The phone number of the customer who made the payment.
"+919876543210"
Unix timestamp (in seconds) at which the payment was created.
1595491108