Skip to main content

Xendit

Quick Start
  1. Sign up at xendit.co and obtain API credentials
  2. Create a terminal in the Admin Console with the parameters below
  3. Start processing — the adapter is pre-built and ready to use

Go to Xendit →

Overview

Southeast Asian payment platform with one-phase and two-phase support

Provider IDxendit
CategoryLocal Payment Methods
Websitexendit.co

Supported operations: start_tx capture_tx refund_tx status


Authentication

API Key in Basic Auth (username, empty password)


Payment Flow

Payment Flow

One-phase:

  1. start_tx - Create charge
    • POST to /credit_card_charges
    • Capture=true in payload
    • Returns charge ID and status

Two-phase:

  1. start_tx - Authorization
    • POST to /credit_card_charges with capture=false
    • Status AUTHORIZEDauthorized
  2. capture_tx - Capture
    • POST to /credit_card_charges/{id}/capture
    • Amount can be specified

Refund:

  • refund_tx - Create refund
    • POST to /credit_card_charges/{id}/refund
    • Can refund partial amount

Testing

Sandbox URL

https://api.xendit.co/

Test Cards

CardNumberCVVExpResult
Visa (3DS Success)4000 0000 0000 0002any 3 digitsany future3DS passed
Visa (3DS Failed)4000 0000 0000 0010any 3 digitsany future3DS not passed
Mastercard (No 3DS)5200 0000 0000 0056any 3 digitsany futureWithout 3DS
Malaysia MPGS4508 7500 1574 101910001/39MPGS test

Resources