Skip to main content

Resume a payment batch's consent

POST 

/api/v1/payment_batches/:id/consent_session

Resumes the hosted consent of a hosted_consent batch that submit already handed over, and answers 200: nothing is created. Every call asks the payment provider again - an open consent gets a fresh consent_url, and a consent the provider has since accepted, timed out or refused moves the batch accordingly. It never sends the batch a second time. A batch whose consent is already resolved is answered from its current state without asking the provider. The body carries a bearer capability, so it is sent with Cache-Control: no-store, and this endpoint takes no Idempotency-Key: one that is sent is ignored, and nothing is stored or replayed.

Request​

Responses​

The consent, as the provider reports it now.