v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Razorpay Payments

Update Razorpay Item

Update mutable Razorpay Item fields, then mirror the item locally after Razorpay succeeds.

patch/api/payments/razorpay/{environment}/catalog/items/{itemId}

Path parameters

environment'test' | 'live' required

Payment provider environment.

itemIdstring required

Razorpay item ID.

Request body

namestring
descriptionstring nullable
amountinteger
currencystring
activeboolean

Example request

{
  "currency": "INR"
}

Response

Razorpay item updated

Example response

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