Razorpay Payments API
The Payments API from Razorpay — 6 operation(s) for payments.
Razorpay Payments API is one of 6 APIs that Razorpay publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Payments. The published artifact set on APIs.io includes an OpenAPI specification.
This API exposes 7 operations across 6 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.
Requests are made against a single base URL, https://api.razorpay.com/v1.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Razorpay Payments API declares
1 security scheme
for authenticating requests.
It accepts HTTP basic authentication (basicAuth).
By default, every request must be authenticated.
basicAuth— HTTP Basic auth — username is Razorpay keyid, password is keysecret.
Paths & Operations 7
Across 6 paths, the API surfaces 7 operations — 4 GET, 1 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Payment (20 properties), Refund (11 properties), PaymentList (3 properties), RefundList (3 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Razorpay 5
Other APIs Razorpay publishes across the network.