Instructions to Use Postman Collection
-
All Razorpay APIs are authorized using Basic Authorization.
- Generate API Keys from the Dashboard.
- Add your API Keys in Postman. Select the required API → Auth → Type = Basic Auth → Username =
; Password =
-
Some APIs in the collection require data specific to your account, such as
order_id,cust_idandtoken_ideither in the request body or as a path parameter.- For example, the create order API requires you to add the
cust_id(Customer ID) in the request body. - These parameters are enclosed in {} in the collection. For example, {cust_id}.
- The API throws an error if these are incorrect or do not exist in your system.
- For example, the create order API requires you to add the