Skip to main content
DELETE
/
api
/
payments
/
razorpay
/
{environment}
/
config
Remove Razorpay Keys
curl --request DELETE \
  --url https://api.example.com/api/payments/razorpay/{environment}/config \
  --header 'Authorization: Bearer <token>'
{
  "keys": [
    {
      "hasKey": true,
      "maskedKey": "rzp_test_...abcd"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environment
enum<string>
required

Payment provider environment.

Available options:
test,
live

Response

Updated Razorpay key configuration

keys
object[]
required