Payment Intents
Payment intents and payment file generation
Authentication
Requires session cookie (web app) or API key (x-api-key header). All endpoints are tenant-scoped via entityId.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/payment-intents?entityId= | List payment intents |
| POST | /api/payment-intents | Create payment intent |
| GET | /api/payment-files?entityId= | List or fetch payment files |
| POST | /api/payment-files | Generate payment file |
List payment intents
GET /api/payment-intents?entityId={entityId}
Returns payment intents for the entity. Supports status, dateRange, and other filters.
Create payment intent
POST /api/payment-intents
Body: { "entityId", "amount", "currency", "counterpartyId", "dueDate", "paymentMethod?", ... }
Payment files
GET /api/payment-files?entityId={entityId} — List or fetch payment files (ACH/NACHA, SEPA, SWIFT, ISO 20022).
POST /api/payment-files — Generate payment file. Body: { "entityId", "format": "ach" | "nacha" | "sepa" | "swift" | "iso20022", "paymentIntentIds", ... }