# Razorpay API Documentation

This is the complete API documentation for connecting to the Razorpay API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Razorpay connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/razorpay/actions/{actionSlug}/run
```

## Razorpay actions

- PUT `accept-dispute` Accept Dispute
- PUT `capture-payment` Capture Payment
- POST `create-customer` Create Customer
- POST `create-order` Create Order
- POST `create-payment-link` Create Payment Link
- POST `create-payment-refund` Create Payment Refund
- GET `get-dispute` Get Dispute
- GET `get-order` Get Order
- GET `get-payment` Get Payment
- GET `get-payment-card-details` Get Payment Card Details
- GET `get-payment-link` Get Payment Link
- GET `get-refund` Get Refund
- GET `get-settlement` Get Settlement
- GET `list-customers` List Customers
- GET `list-disputes` List Disputes
- GET `list-order-payments` List Order Payments
- GET `list-orders` List Orders
- GET `list-payment-links` List Payment Links
- GET `list-payment-refunds` List Payment Refunds
- GET `list-payments` List Payments
- GET `list-refunds` List Refunds
- GET `list-settlements` List Settlements
- PUT `update-customer` Update Customer
- PUT `update-payment-link` Update Payment Link
