Skip to main content

Submit a payment batch

POST 

/api/v1/payment_batches/:id/submit

Hands an approved hosted_consent batch to its channel and answers 202 with the batch. A 202 never means the money moved: poll GET /payment_batches/{id} and its instructions. submission_status says what became of the handover - awaiting_consent while the payer's consent is open, unknown when the channel's answer was lost, refused with the batch failed - and none of those is a cancellation. The consent URL is never returned here: POST /payment_batches/{id}/consent_session publishes it. expected_version is required. A sepa_file batch is handed over by POST /payment_batches/{id}/sepa_export instead. Submitting a batch already accepted by its channel changes nothing and answers 202 again.

Request​

Responses​

The batch, handed over. Read submission_status: a 202 never means the money moved.