Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Juspay Refunds API

Refund a charged order.

Juspay Refunds API is one of 5 APIs that Juspay publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Refunds. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against 2 base URLs: https://api.juspay.in, https://sandbox.juspay.in.

1 operations 1 paths 4 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://api.juspay.in
Authentication
HTTP Basic
Contact
Resource Areas
1

Authentication & Security 1

Juspay Refunds API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • basicAuth — HTTP Basic authentication. The API key is the username and the password is an empty string; the pair is Base64-encoded into Authorization: Basic . An x-merchan…

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Refunds 1

Refund a charged order.

POST
/orders/{order_id}/refunds
Refund an order
createRefund 3 params body → 200400401

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Order (6 properties), RefundInput (4 properties), Refund (4 properties), Error (3 properties). Each schema is shown below with its type and property counts.

Order
object
6 properties
Error
object
3 properties
Refund
object
4 properties
RefundInput
object
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

juspay-refunds-api-openapi.yml Raw ↑

Other APIs Juspay publishes across the network.

Juspay Customers API
Juspay Orders API
Juspay Session API
Juspay Transactions API