API Test Keys

Delete a Bill

DELETE
/v1/bills/:bill_id

Click to copy

Use this endpoint to delete a Bill.

Is this page helpful?

Curl

1
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
2
-X DELETE https://api.razorpay.com/v1/bills/bill_4a5e9ulyzk1mk2

Success

Failure

1
{"status": "deleted"}
Path Parameters
id

*

string

The unique identifier of the bill that must be deleted.

Errors

client not authorised to update

Error Status: 401

The client credentials are unauthorised to make changes to this bill.

Solution

Operation failed

Error Status: 500

There is an internal server error

Solution

Delete a Bill

DELETE
/v1/bills/:bill_id

Click to copy

Use this endpoint to delete a Bill.

Is this page helpful?

Path Parameters
id

*

string

The unique identifier of the bill that must be deleted.

Errors

client not authorised to update

Error Status: 401

The client credentials are unauthorised to make changes to this bill.

Solution

Operation failed

Error Status: 500

There is an internal server error

Solution

Curl

1
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
2
-X DELETE https://api.razorpay.com/v1/bills/bill_4a5e9ulyzk1mk2

Success

Failure

1
{"status": "deleted"}