ELAELA Docs

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

FlowEndpointNotes
Booking paymentPOST /partner-api/bookings/{id}/paymentSaved-card only. Use a dashboard-saved card enabled for public API charges; CREDIT is not accepted for direct booking invoice payments.
GO Bulk quote paymentPOST /partner-api/quote-requests/{id}/paymentUse SAVED_CARD for card charge or CREDIT when partner credit is enabled and the quote is unexpired.
HAUL quotation paymentPOST /partner-api/haulage/quotations/{id}/paymentUse SAVED_CARD for card charge or CREDIT for HAUL quotations issued with credit terms.
Payment statusGET /partner-api/payments/{reference}Use after timeouts, retries, or pending verification.

Payment Reconciliation

Accept quoted credit terms through the payment endpointbash
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"  }'
Look up payment statusbash
curl https://services.enviablelogistics.com/api/v1/partner-api/payments/pap_ref_demo_123 \  -H "X-ELA-API-Key: ela_live_xxx"