Amend BACS mandate [beta]
Amend a BACS direct debit mandate.
Registers a change to a mandate's debtor and/or beneficiary details, applied asynchronously through the BACS scheme.
Notes:
-
The amend is persisted with status = AMEND_PENDING, and enqueued for the asynchronous submission worker, which submits it to Form3 through the PSP gateway.
-
Allowed only when the mandate is in CREATED, SUBMITTED, or CONFIRMED; any other state is rejected with a 409 Conflict (EBACS0103).
-
version is a Form3 optimistic-concurrency passthrough that must equal the stored version; a mismatch is rejected with a 409 Conflict (EBACS0104). This call does not increment this field.
-
This endpoint moves the mandate to status = AMEND_PENDING and generates a BACS mandate status changed event. Subsequent status transitions generate further events (for example AMENDED, FAILED).
Request
- Base URLhttps://sandbox.pismolabs.io/bacs
- URLhttps://sandbox.pismolabs.io/bacs/v1/payments/bacs/directdebit/mandates/{id}
- Authnone declared. Required headers: Authorization
Path parameters
Mandate ID (the Form3-assigned ID returned at creation).
Headers
Account token - access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a <b>401 Unauthorized</b> message
Request body
Example request
{
"debtor": {
"name": "John Debtor",
"account_number": "87654321",
"sort_code": "200000"
},
"beneficiary": {
"name": "Mac Donalds",
"account_number": "87654321",
"sort_code": "200000"
},
"advice_reason": "advance_notice_disputed"
}Response
Amend intent accepted and enqueued
Example response
{
"id": "b254bb5e-6f1a-4c2b-9c1e-2f0a6d3e8c11",
"status": "AMEND_PENDING",
"version": 2
}Changes
No recorded changes to this operation across all 1 revision of this API.