v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Razorpay Payments

Sync Razorpay Payments State

Sync items, plans, customers, subscriptions, invoices, and payments for every configured Razorpay environment. Razorpay remains the source of truth.

post/api/payments/razorpay/sync

Response

Sync result for configured Razorpay environments

Example response

{
  "results": [
    {
      "connection": {
        "accountId": "acc_123",
        "merchantName": "Example Merchant",
        "webhookEndpointId": "manual",
        "webhookEndpointUrl": "https://api.example.com/api/webhooks/razorpay/test",
        "maskedKey": "rzp_test_...abcd"
      }
    }
  ]
}