Xendit
Quick Start
- Sign up at xendit.co and obtain API credentials
- Create a terminal in the Admin Console with the parameters below
- Start processing — the adapter is pre-built and ready to use
Overview
Southeast Asian payment platform with one-phase and two-phase support
| Provider ID | xendit |
| Category | Local Payment Methods |
| Website | xendit.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:
- start_tx - Create charge
- POST to
/credit_card_charges - Capture=true in payload
- Returns charge ID and status
- POST to
Two-phase:
- start_tx - Authorization
- POST to
/credit_card_chargeswithcapture=false - Status
AUTHORIZED→authorized
- POST to
- capture_tx - Capture
- POST to
/credit_card_charges/{id}/capture - Amount can be specified
- POST to
Refund:
- refund_tx - Create refund
- POST to
/credit_card_charges/{id}/refund - Can refund partial amount
- POST to
Testing
Sandbox URL
https://api.xendit.co/
Test Cards
| Card | Number | CVV | Exp | Result |
|---|---|---|---|---|
| Visa (3DS Success) | 4000 0000 0000 0002 | any 3 digits | any future | 3DS passed |
| Visa (3DS Failed) | 4000 0000 0000 0010 | any 3 digits | any future | 3DS not passed |
| Mastercard (No 3DS) | 5200 0000 0000 0056 | any 3 digits | any future | Without 3DS |
| Malaysia MPGS | 4508 7500 1574 1019 | 100 | 01/39 | MPGS test |