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 Tokens API

Save reusable payment methods for future and recurring charges.

Xendit Payment Tokens 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 Tokens. 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 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.

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

Authentication & Security 1

Xendit Payment Tokens 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 1

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

Payment Tokens 1

Save reusable payment methods for future and recurring charges.

POST
/v3/payment_tokens
Create a payment token
createPaymentToken 2 params body → 201400401

Schemas 3

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

PaymentToken
object
5 properties
Error
object
2 properties
PaymentTokenInput
object
6 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

xendit-payment-tokens-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 Payouts API
Xendit Refunds API
Xendit Transactions API