v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Razorpay Payments

Create Razorpay Item

Create a Razorpay Item, then mirror it locally after Razorpay succeeds.

post/api/payments/razorpay/{environment}/catalog/items

Path parameters

environment'test' | 'live' required

Payment provider environment.

Request body

namestring required
descriptionstring nullable
amountinteger required
currencystring required

Example request

{
  "currency": "INR"
}

Response

Razorpay item created

Example response

{
  "item": {
    "itemId": "item_123",
    "name": "Pro monthly",
    "amount": 290000,
    "unitAmount": 290000,
    "currency": "inr",
    "type": "invoice"
  }
}