API docs
Use your merchant secret API key in header X-Api-Key.
Create payment intent
POST /api/payment-intents/create
Headers:
X-Api-Key: sec_xxx
{
"amount": 499,
"title": "Consultation",
"description": "Secure booking",
"external_id": "order_1001"
}
Confirm payment intent
POST /api/payment-intents/confirm
{
"payment_intent_id": 1,
"reference": "gateway_ref_123"
}
Release / refund escrow
POST /api/escrow/release
{ "escrow_id": 1 }
POST /api/escrow/refund
{ "escrow_id": 2 }
Balance / transactions
GET /api/wallet/balance
GET /api/transactions
Payout request
POST /api/payouts/create
{
"amount": 1000,
"destination_label": "Bank card",
"destination_details": "**** 4242"
}