v1

latestOpenAPI 3.1.02026-07-24180245513.9 KB
Direct Debit Mandates

Authorize direct debit mandate

Authorize an incoming direct debit mandate with status = blocked, expired, or active. When authorizing from blocked or expired, its status is set to active. Calling authorize on an already active mandate without new_expiry_date returns the mandate unchanged. When new_expiry_date is provided, the mandate expiry is updated accordingly.

post/direct_debit_mandates/{id}/authorize

Path parameters

idstring required

The ID of the direct debit mandate.

Request body

new_expiry_datestring date

Optional new expiry date (YYYY-MM-DD) when authorizing. Must be between today and the maximum validity allowed for the scheme (SEPA: 36 months from today; Bacs: from the connected bank configuration).

Example request

{
  "new_expiry_date": "2027-03-15"
}

Response

200

idstring uuid required

The UUID of the direct debit mandate.

objectstring required

Type of the object, direct_debit_mandate.

direction'outgoing' | 'incoming' required

The direction of the direct debit mandate.

type'sepa_core' | 'sepa_b2b' | 'bacs_debit' required

The type of the direct debit mandate.

status'active' | 'blocked' | 'canceled' | 'disabled' | 'expired' | 'pending_review' | 'rejected' required

The status of the direct debit mandate.

connected_account_idstring uuid required

The ID of the connected account.

creditor_account_idstring uuid

The ID of the internal account to be credited. Only filled in the case of outgoing mandates created by financial institution connected accounts.

creditor_account_type'internal_account'

The type of the account that creditor_account_id is referencing.

debtor_account_idstring uuid

The ID of the account (internal or external) to be debited.

debtor_account_type'internal_account' | 'external_account'

The type of the account that debtor_account_id is referencing.

originating_account_idstring uuid

The ID of the internal account to be credited.

receiving_account_idstring uuid

The ID of the account (internal or external) to be debited.

sequence'one_off' | 'recurring'

Deprecated, use frequency instead.

frequency'one_off' | 'recurring'

The frequency of the direct debit mandate. Populated for SEPA mandates (sepa_core, sepa_b2b); not applicable for bacs_debit mandates.

referencestring required

The reference of the direct debit mandate.

signature_datestring

The signature date of the direct debit mandate.

last_debit_collection_datestring date nullable

The date of the last direct debit collection processed against this mandate. Updated automatically when a direct debit collection is received.

expiry_datestring date nullable

The date after which the mandate is expired and cannot be used for subsequent direct debit collections. For SEPA mandates, this is 36 months after last_debit_collection_date. For Bacs mandates, this depends on the bank's mandate validity period configuration; if not configured, the value is null (no expiry).

metadataobject required

Additional client data in JSON format. See Metadata.

custom_fieldsCommonCustomFields

Custom fields in JSON key:value format. See Custom fields.

created_atstring date-time required

The UTC timestamp of the creation of this direct debit mandate.

Example response

{
  "direction": "outgoing",
  "type": "sepa_core",
  "status": "active",
  "connected_account_id": "ff1714ae-3ec8-450d-984c-c6ee44c82a88",
  "creditor_account": {
    "account_number": "FR7601234567890627967100010",
    "bank_code": "SOGEFRPP",
    "holder_name": "SoftwareCo",
    "creditor_identifier": "FR12ZZZ123456",
    "holder_address": {
      "line_1": "1, place de la Concorde",
      "building_number": "1",
      "street_name": "place de la Concorde",
      "postal_code": "75008",
      "city": "Paris",
      "country": "FR",
      "department": "Marketing",
      "sub_department": "Content team",
      "building_name": "Bat. 4",
      "floor": "3",
      "postal_box": "67b",
      "room": "47",
      "city_location_name": "Confluences",
      "district_name": "District 9"
    }
  },
  "creditor_account_id": "2c524087-20ae-437e-948c-f673b0757821",
  "creditor_account_type": "internal_account",
  "debtor_account": {
    "account_number": "FR7601234567891127967100082",
    "bank_code": "BNPAFRPPXXX",
    "holder_name": "PartnerCo",
    "holder_address": {
      "line_1": "1, place de la Concorde",
      "building_number": "1",
      "street_name": "place de la Concorde",
      "postal_code": "75008",
      "city": "Paris",
      "country": "FR",
      "department": "Marketing",
      "sub_department": "Content team",
      "building_name": "Bat. 4",
      "floor": "3",
      "postal_box": "67b",
      "room": "47",
      "city_location_name": "Confluences",
      "district_name": "District 9"
    }
  },
  "debtor_account_id": "b38f5318-a389-4278-9cbe-d16116750982",
  "debtor_account_type": "external_account",
  "originating_account": {
    "account_number": "FR7601234567890627967100010",
    "bank_code": "SOGEFRPP",
    "holder_name": "SoftwareCo",
    "creditor_identifier": "FR12ZZZ123456",
    "holder_address": {
      "line_1": "1, place de la Concorde",
      "building_number": "1",
      "street_name": "place de la Concorde",
      "postal_code": "75008",
      "city": "Paris",
      "country": "FR",
      "department": "Marketing",
      "sub_department": "Content team",
      "building_name": "Bat. 4",
      "floor": "3",
      "postal_box": "67b",
      "room": "47",
      "city_location_name": "Confluences",
      "district_name": "District 9"
    }
  },
  "originating_account_id": "2c524087-20ae-437e-948c-f673b0757821",
  "receiving_account": {
    "account_number": "FR7601234567891127967100082",
    "bank_code": "BNPAFRPPXXX",
    "holder_name": "PartnerCo",
    "holder_address": {
      "line_1": "1, place de la Concorde",
      "building_number": "1",
      "street_name": "place de la Concorde",
      "postal_code": "75008",
      "city": "Paris",
      "country": "FR",
      "department": "Marketing",
      "sub_department": "Content team",
      "building_name": "Bat. 4",
      "floor": "3",
      "postal_box": "67b",
      "room": "47",
      "city_location_name": "Confluences",
      "district_name": "District 9"
    }
  },
  "receiving_account_id": "b38f5318-a389-4278-9cbe-d16116750982",
  "sequence": "recurring",
  "frequency": "recurring",
  "reference": "some reference",
  "signature_date": "2023-05-31",
  "last_debit_collection_date": "2024-03-15",
  "expiry_date": "2027-03-15",
  "metadata": {
    "property_a": true,
    "property_b": "some text"
  },
  "created_at": "2023-06-07T08:49:54.54422Z",
  "bank_data": {
    "message_id": "ABCDEF"
  }
}