Update an IBAN
This operation allows you to update an IBAN name or change its status. Only provided parameters have an effect on the current state of an IBAN.
PATCH
/v2/ibans/{id}
curl \
--request PATCH 'https://api.memo.bank/v2/ibans/fe98f29d-5165-45ff-83f9-d7aa83e970b5' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"string","status":"active","allow_collections":true,"account_id":"string"}'
Request examples
{
"name": "string",
"status": "active",
"allow_collections": true,
"account_id": "string"
}
Response examples (200)
{
"id": "fe98f29d-5165-45ff-83f9-d7aa83e970b5",
"account_id": "de2284c3-0360-4e4a-b10d-771f75b772d4",
"iban": "FR27590171083068762111832788",
"name": "customer no12345",
"status": "active",
"type": "main",
"allow_collections": true,
"is_deleted": false
}