Razorpay Docs Logo
Razorpay Docs Logo
/

API Reference

Support

Log In

Introduction

API Reference Guide

API Changelog

API Basics

Authentication & Sandbox Setup

Entity & Metadata

Pagination & Rate Limiting

Best Practices

Glossary

Payments

Orders

Payments

Payments Entity

Capture a Payment

Fetch a Payment With ID

Fetch a Payment (With Expanded Card Details)

Fetch a Payment (With Expanded EMI Details)

Fetch a Payment (With Expanded Offer Details)

Fetch a Payment (With Expanded UPI Details)

Fetch All Payments

Fetch All Payments (With Expanded Card Details)

Fetch All Payments (With Expanded EMI Details)

Fetch Payments Based on Orders

Fetch Card Details of a Payment

Update a Payment

Downtime

Settlements

Instant Settlements

Refunds

Disputes

Documents

Customers

Payment Links

QR Codes

Invoices

Items

Plans

Subscriptions

Add-on

Linked Account

Stakeholder

Product Configuration

Transfers

Smart Collect

Smart Collect With TPV

Bills

About Bills

Bills Entity

Create a Bill

Update a Bill

Delete a Bill

Partners

Account

Product Configuration

Stakeholder

Terms and Conditions

Documents

Webhooks

Payout APIs

Get Started

Account Validation

Composite Account Validation

Contacts

Fund Accounts

Payouts

Payouts to Cards

Payout Composite

Payouts Approval

Payout Idempotency

Payout Links

Payout Wallet - Amazon

Transactions

Api

Payments

API Test Keys

Payments APIs

Payments APIs are used to capture and fetch payments. You can also fetch payments based on orders and card details of payment.

Handy Tips

You can use Payments API only to retrieve payment details or change the status from authorized to captured and not to collect payments. You can use our

products

to accept payments.

Related Guides:

About Payments

Set Up Webhooks

Sample Payloads

Endpoints

08

Capture a Payment

POST

Captures a payment.

Fetch a Payment With ID

GET

Retrieves details of a specific payment using id.

Fetch a Payment With ID (Example 1)

GET

Retrieves details of all the payments that is created, with the card parameter.

Fetch All Payments

GET

Retrieves details of all payments.

Fetch All Payments (Example 1)

GET

Retrieves expanded card details of a payment.

Fetch Payments Based on Orders

GET

Retrieves payments linked to an Order.

Fetch Card Details of a Payment

GET

Retrieves card details of a payment.

Update a Payment

PATCH

Edits an existing payment.