To create multiple disbursements at once, use the bulk creation process. This involves invoking a GraphQL mutation that initiates a background job. The mutation will return a jobId, which you can use to track the job’s status.Each disbursement created as part of the job will trigger a disbursement.created webhook. You can either listen for those webhooks or poll the job status endpoint to retrieve results.
You can provide a client-generated id (e.g. a UUID) for each disbursement in
the createParams. This id will become the disbursement.id, allowing you to
associate results with records in your own system for better traceability.
The response will include a jobId and initial jobStatus.
Each successful disbursement will emit a disbursement.created webhook event.
Errors encountered during job execution will be returned in the job status results array, indexed by the disbursementId originally passed in the createParams array.