_bulk
endpoint allows for efficient processing of multiple requests in a single operation. It supports streaming, parallel or sequential processing, and atomic execution.
application/vnd.formance.ledger.api.v2.bulk+script-stream
parallel
query parameter:
parallel=true
(default): Elements are processed in parallel, improving throughput.parallel=false
: Elements are processed sequentially, maintaining order.atomic
query parameter:
atomic=true
: The entire batch is committed as a single transaction. If any element fails, the entire batch is rolled back.atomic=false
: Each element is processed independently. If one element fails, it does not affect the others.parallel=true
and atomic=true
at the same time.curl
command: