Verified BursaPay gateway workflow: Explains batch payment submission and asynchronous processing for larger batches.
1. Overview & Purpose
The published guide supports POST /api/v1/payments/bulk/ and describes synchronous handling for small batches and queued processing for larger batches.
2. Requirements & Setup
Each payment should have its own stable idempotency key where safe retries matter.
3. Step-by-Step Workflow
- Build the payments array.
- Submit the batch endpoint.
- Store the batch reference.
- Poll the batch status endpoint or consume the completion event.
4. Rules & Troubleshooting
Large batches may be queued rather than completed inside the request cycle.
5. Verification & Next Steps
Design the application so a processing batch can remain pending without duplicate submissions.