PATCH
/
organizations
/
{organization_id}
/
sepa-mandates
/
{mandate_id}
Update Sepa Mandate
curl --request PATCH \
  --url https://sandbox.intermezzo.ai/organizations/{organization_id}/sepa-mandates/{mandate_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "validFrom": "2023-12-25",
  "validTo": "2023-12-25",
  "mandateReference": "<string>",
  "agencyId": 123,
  "bankAccountId": "ban_01h455vb4pex5vsknk084sn02q",
  "isRecurring": true
}'
{
  "validFrom": "2023-12-25",
  "validTo": "2023-12-25",
  "mandateReference": "<string>",
  "agencyId": 123,
  "bankAccountId": "ban_01h455vb4pex5vsknk084sn02q",
  "isRecurring": true,
  "id": "mnd_01h455vb4pex5vsknk084sn02q",
  "createdBy": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_id
string
required

TypeID with prefix 'org'

Example:

"org_01h455vb4pex5vsknk084sn02q"

mandate_id
string
required

TypeID with prefix 'mnd'

Example:

"mnd_01h455vb4pex5vsknk084sn02q"

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.