Payments
Initialize supported public payments and reconcile payment references safely.
At a glance
Public API payment endpoints accept only specific payment actions. Do not send card details, client amounts, provider references, payment proofs, or client-controlled payment statuses.
Supported actions
| Flow | Endpoint | Notes |
|---|---|---|
| Booking payment | POST /partner-api/bookings/{id}/payment | Saved-card only. Use a dashboard-saved card enabled for public API charges; CREDIT is not accepted for direct booking invoice payments. |
| GO Bulk quote payment | POST /partner-api/quote-requests/{id}/payment | Use SAVED_CARD for card charge or CREDIT when partner credit is enabled and the quote is unexpired. |
| HAUL quotation payment | POST /partner-api/haulage/quotations/{id}/payment | Use SAVED_CARD for card charge or CREDIT for HAUL quotations issued with credit terms. |
| Payment status | GET /partner-api/payments/{reference} | Use after timeouts, retries, or pending verification. |
Payment Reconciliation
curl -X POST https://services.enviablelogistics.com/api/v1/partner-api/haulage/quotations/hq_demo_123/payment \ -H "X-ELA-API-Key: ela_live_xxx" \ -H "Idempotency-Key: haulage-credit-demo-001" \ -H "Content-Type: application/json" \ -d '{ "paymentMethod": "CREDIT" }'curl https://services.enviablelogistics.com/api/v1/partner-api/payments/pap_ref_demo_123 \ -H "X-ELA-API-Key: ela_live_xxx"