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

Xendit Refunds API

Refund successful payment requests.

Xendit Refunds API is one of 8 APIs that Xendit 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 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://api.xendit.co.

2 operations 2 paths 3 schemas 1 GET1 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.xendit.co
Authentication
HTTP Basic
Contact
Resource Areas
1

Authentication & Security 1

Xendit 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. Use your Xendit secret API key as the username and leave the password empty. The key is Base64-encoded into the Authorization header…

Paths & Operations 2

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

Refunds 2

Refund successful payment requests.

POST
/refunds
Create a refund
createRefund body → 200400401
GET
/refunds/{refund_id}
Get a refund
getRefundById 1 param → 200401404

Schemas 3

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

Refund
object
7 properties
Error
object
2 properties
RefundInput
object
5 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

xendit-refunds-api-openapi.yml Raw ↑

Other APIs Xendit publishes across the network.

Xendit Balance API
Xendit Customers API
Xendit Invoices API
Xendit Payment Requests API
Xendit Payment Tokens API
Xendit Payouts API
Xendit Transactions API