Payments API

Endpoints

POST /api/v1/payments/intent

Purpose: Create payment intent

Start hosted/embedded payment flow.

Authentication: Bearer token.

Response envelope: success, data, meta for success; success, error for failure.

POST /api/v1/payments/manual

Purpose: Record manual payment

Add cash/bank/manual payment.

Authentication: Bearer token.

Response envelope: success, data, meta for success; success, error for failure.

POST /api/v1/payments/reconcile

Purpose: Reconcile payments

Match gateway events to invoices.

Authentication: Bearer token.

Response envelope: success, data, meta for success; success, error for failure.