API ReferenceIntegrationsKnowledge Base

Postman Collection

We have a Postman collection to make the integration quicker and easier. Click the Download Postman Collection button below to get started.

Instructions to use the Postman Collection#

  • All Razorpay APIs are authorized using Basic Authorization.
    • Generate API Keys from the Dashboard .
    • Add your API Keys in Postman. Selected the required API → Auth → Type = Basic Auth → Username = <Your_Key_ID>; Password = <Your_Key_secret>
  • Some APIs in the collection require data specific to your account such as order_id, cust_id and token_id either 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.