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 Payment Requests API

Unified Payments API - charge end users across all channels.

Xendit Payment Requests API is one of 8 APIs that Xendit publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 3 operations across 3 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.

3 operations 3 paths 3 schemas 1 GET2 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 Payment Requests 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 3

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

Payment Requests 3

Unified Payments API - charge end users across all channels.

POST
/v3/payment_requests
Create a payment request
createPaymentRequest 2 params body → 201400401
GET
/v3/payment_requests/{payment_request_id}
Get a payment request
getPaymentRequest 2 params → 200401404
POST
/v3/payment_requests/{payment_request_id}/cancel
Cancel a payment request
cancelPaymentRequest 2 params → 200401404

Schemas 3

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

PaymentRequestInput
object
8 properties 2 required
PaymentRequest
object
11 properties
Error
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

xendit-payment-requests-api-openapi.yml Raw ↑

Other APIs Xendit publishes across the network.

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