Skip to main content

Create SEPA Mandate

POST 

/mandates

The endpoint supports creating mandates in two ways:

  1. Use a system generated mandate reference with optional pre-fix by submission of referenceInstructions.
  2. Use an own mandate reference by submitting mandateReference attribute in create mandate request.

The following section will describe the procedure and results of creating a new mandate.

The mandate reference must be unique in the scope of a creditor reference, duplicate mandate references cannot be activated.

info

Each mandate requires data of the creditor for the mandate. Your Product Solution Specialist can help you to assess the correct setup for the creditor data. Mandate management solution supports both — the use of merchant specific creditor identification, passed via create mandate API or use of pre-configured creditor identification data, which would be returned in create mandate response.

The current release of mandate management solution supports SEPA mandates:
mandateScheme = "SEPA_B2B" or "SEPA_CORE"

Request​

Header Parameters

    Content-Type stringrequired

    Must be application/json

    Accept-Language stringrequired

    Must be be en-US

    Origin stringrequired

    The origin of the request

    User-Agent stringrequired

    The client making the request

Bodyrequired

    mandateSchemestringrequired

    Specifies the SEPA scheme type to use for the mandate.

    Possible values: [SEPA_B2B, SEPA_CORE]

    mandateReferencestring

    Unique identifier for the mandate reference assigned by the creditor.

    Possible values: <= 35 characters

    referenceInstructions objectnullablerequired

    Optional object containing creditor-provided instructions for mandate Reference.

    mandatePrefixstring

    Prefix string to be prepended to the generated mandate reference identifier.

    Possible values: <= 10 characters

    debtorNamestring

    Name of the debtor (payer) authorizing the SEPA mandate.

    Possible values: <= 70 characters

    debtorAddress object

    Object representing the full billing address of the debtor.

    addressLine1stringrequired

    Street name.

    Possible values: <= 60 characters

    Example: Max-Planck-Straße
    addressLine2string

    Apartment, suite, unit, building, floor or other secondary address information.

    Possible values: <= 60 characters

    addressLine3string

    Specific delivery instructions, department names, or additional floor information.

    Possible values: <= 60 characters

    citystringrequired

    The city or localitly of the address.

    Possible values: <= 50 characters

    Example: Berlin
    countryCodestringrequired

    ISO-3 code of the address country (e.g., DEU for Germany).

    Possible values: >= 3 characters and <= 3 characters

    Example: DEU
    numberstring

    The house or building number corresponding to the street address.

    Possible values: <= 10 characters

    Example: 30
    postCodestringrequired

    The postal or ZIP code of the address.

    Possible values: <= 10 characters

    Example: 14473
    statestring

    3-letter code of the address state. Mandatory when countryCode corresponds to Canada or USA.

    Possible values: <= 3 characters

    debtorBank object

    Object representing bank account details of the debtor.

    ibanstring

    IBAN of the debtor's bank.

    bankNamestring

    Bank name of the debtor.

    bicstring

    BIC of the debtor's bank.

    creditorNamestring

    Legal name of the creditor collecting the SEPA payments.

    Possible values: <= 70 characters

    creditorIdentifierstring

    SEPA Creditor Identifier assigned by the national authority to the merchants.

    Possible values: <= 35 characters

    creditorAddress object

    Object representing the full address details of the creditor.

    addressLine1stringrequired

    Street name.

    Possible values: <= 60 characters

    Example: Max-Planck-Straße
    addressLine2string

    Apartment, suite, unit, building, floor or other secondary address information.

    Possible values: <= 60 characters

    addressLine3string

    Specific delivery instructions, department names, or additional floor information.

    Possible values: <= 60 characters

    citystringrequired

    The city or localitly of the address.

    Possible values: <= 50 characters

    Example: Berlin
    countryCodestringrequired

    ISO-3 code of the address country (e.g., DEU for Germany).

    Possible values: >= 3 characters and <= 3 characters

    Example: DEU
    numberstring

    The house or building number corresponding to the street address.

    Possible values: <= 10 characters

    Example: 30
    postCodestringrequired

    The postal or ZIP code of the address.

    Possible values: <= 10 characters

    Example: 14473
    statestring

    3-letter code of the address state. Mandatory when countryCode corresponds to Canada or USA.

    Possible values: <= 3 characters

    account object

    Object containing internal or external account references used by the system.

    billingAddress object

    Consumer's billing address data. See Address in Data model.

    addressLine1stringrequired

    Street name.

    Possible values: <= 60 characters

    Example: Max-Planck-Straße
    addressLine2string

    Apartment, suite, unit, building, floor or other secondary address information.

    Possible values: <= 60 characters

    addressLine3string

    Specific delivery instructions, department names, or additional floor information.

    Possible values: <= 60 characters

    citystringrequired

    The city or localitly of the address.

    Possible values: <= 50 characters

    Example: Berlin
    countryCodestringrequired

    ISO-3 code of the address country (e.g., DEU for Germany).

    Possible values: >= 3 characters and <= 3 characters

    Example: DEU
    numberstring

    The house or building number corresponding to the street address.

    Possible values: <= 10 characters

    Example: 30
    postCodestringrequired

    The postal or ZIP code of the address.

    Possible values: <= 10 characters

    Example: 14473
    statestring

    3-letter code of the address state. Mandatory when countryCode corresponds to Canada or USA.

    Possible values: <= 3 characters

    businessConsumer objectnullable

    Company data, in case the consumer is a business or a legal entity. See businessConsumer in Data model.
    Conditional. Can be present if consumer is missing from the request.

    companyNamestringrequired

    Name of the legal entity

    Possible values: <= 100 characters

    companyRegistrationCountryCodestring

    Company registration country ISO2 or ISO3 code

    Possible values: >= 2 characters and <= 3 characters

    companyRegistrationNumberstring

    Company registration number

    Possible values: <= 50 characters

    companyTypestringrequired

    Possible values: <= 100 characters

    culturestring

    Consists of ISO 639-1 language code and ISO 3166-1 alpha-2 country code separated by dash. If this value is not provided the browser culture is used. Default culture is English (e.g., en-de). This field is not case sensitive.

    Possible values: <= 5 characters

    Example: en-EN
    emailAddressstringrequired

    Customer email address for any notification

    Possible values: <= 255 characters

    taxIdstring

    Person's tax identification number

    Possible values: <= 30 characters

    consumer objectnullable

    Consumer's personal data, in case the consumer is a physical person. See consumer in Data model.
    Conditional. Can be present if businessConsumer is missing from the request.

    culturestring

    Consists of ISO 639-1 language code and ISO 3166-1 alpha-2 country code separated by dash. If this value is not provided the browser culture is used. Default culture is English (e.g., en-de). This field is not case sensitive.

    Possible values: <= 5 characters

    Example: en-EN
    dateOfBirthstring<date>

    Date of birth. Format - YYYY-MM-DD. Mandatory for payment option registration flow. Minimum date allowed is 1900-01-01

    Possible values: <= 10 characters, Value must match regular expression ^\d{4}-\d{2}-\d{2}$

    Example: 1989-11-08
    emailAddressstring<email>required

    Customer email address for any notification

    Possible values: <= 255 characters

    Example: john.doe@gmail.com
    firstNamestringrequired

    Person first name

    Possible values: <= 60 characters

    Example: John
    genderstring

    Person gender

    Possible values: <= 6 characters

    Example: Mr
    homePhonestring

    Person's home phone number (including the country code)

    Possible values: <= 30 characters

    Example: 496912345678
    lastNamestringrequired

    Person last name

    Possible values: <= 60 characters

    Example: Doe
    merchantCustomerIdstring

    Consumer/Customer Account Id in the merchant system. When provided into the Create Checkout API, SmartPay will request e-wallet account creation which will have external account reference equals to the given merchantCustomerId value.

    Possible values: <= 255 characters

    Example: abcd123
    middleNamestring

    The customer's middle name

    Possible values: <= 60 characters

    Example: Robert
    mobilePhonestring

    Person's mobile phone number (including the country code)

    Possible values: <= 30 characters

    Example: 496912345678
    taxIdstring

    Person's tax identification number

    Possible values: <= 30 characters

    Example: 123456789
    timezonestring

    Preferred timezone name

    Possible values: <= 50 characters

    Example: CET
    titlestring

    Person title

    Possible values: <= 3 characters

    Example: Mr
    workPhonestring

    Person's work phone number (including the country code)

    Possible values: <= 30 characters

    Example: 496912345678
    createdAtstring<date-time>
    customerAccountIdstring

    Possible values: <= 125 characters

    idstring

    Possible values: <= 39 characters

    isBusinessUserboolean
    objectstring
    additionalData object

    Optional object for sending integration-specific or metadata-related fields.

    namestring

    Possible values: <= 100 characters

    valuestring

    Possible values: <= 255 characters

Responses​

Mandate created successfully

Schema
    idstring<uuid>required

    Unique identifier of the mandate

    Possible values: <= 36 characters

    objectstringrequired

    Object type identifier

    Possible values: [MANDATE]

    createdAtstring<date-time>required

    Timestamp of mandate creation in ISO 8601 format

    statusstringrequired

    Mandate status

    Possible values: [CREATED]

    mandateSchemestringrequired

    SEPA mandate scheme type

    Possible values: [SEPA_CORE, SEPA_B2B]

    mandateReferencestringrequired

    Mandate reference (shop-defined or system-generated)

    Possible values: <= 70 characters

    referenceInstructions objectnullable

    Instructions for generating a mandate reference prefix

    mandatePrefixstringnullable

    Prefix used for generating mandate references

    Possible values: <= 50 characters

    debtorNamestringnullable

    Full name of the debtor

    Possible values: <= 140 characters

    debtorAddress objectnullable
    addressLine1stringnullable

    Street name and house number

    Possible values: <= 70 characters

    numberstringnullable

    House number

    Possible values: <= 10 characters

    postCodestringnullable

    Postal code

    Possible values: <= 20 characters

    citystringnullable

    City

    Possible values: <= 70 characters

    countryCodestringnullable

    Country code (ISO 3166-1 alpha-2)

    Possible values: <= 2 characters

    debtorBank objectnullable
    ibanstringnullable

    IBAN of the debtor

    Possible values: <= 34 characters

    bankNamestringnullable

    Name of the debtor's bank

    Possible values: <= 70 characters

    bicstringnullable

    BIC of the debtor's bank

    Possible values: <= 11 characters

    creditorNamestringrequired

    Name of the creditor

    Possible values: <= 140 characters

    creditorIdentifierstringrequired

    Creditor SEPA identifier

    Possible values: <= 35 characters

    creditorAddress objectrequired
    addressLine1string

    Street name and house number

    Possible values: <= 70 characters

    numberstring

    House number

    Possible values: <= 10 characters

    postCodestring

    Postal code

    Possible values: <= 20 characters

    citystring

    City

    Possible values: <= 70 characters

    countryCodestring

    Country code (ISO 3166-1 alpha-2)

    Possible values: <= 2 characters

    account objectnullable
    customerAccountIdstringnullable

    Customer account identifier

    Possible values: <= 255 characters

    billingAddress object
    addressLine1stringrequired

    Street name.

    Possible values: <= 60 characters

    Example: Max-Planck-Straße
    addressLine2string

    Apartment, suite, unit, building, floor or other secondary address information.

    Possible values: <= 60 characters

    addressLine3string

    Specific delivery instructions, department names, or additional floor information.

    Possible values: <= 60 characters

    citystringrequired

    The city or localitly of the address.

    Possible values: <= 50 characters

    Example: Berlin
    countryCodestringrequired

    ISO-3 code of the address country (e.g., DEU for Germany).

    Possible values: >= 3 characters and <= 3 characters

    Example: DEU
    numberstring

    The house or building number corresponding to the street address.

    Possible values: <= 10 characters

    Example: 30
    postCodestringrequired

    The postal or ZIP code of the address.

    Possible values: <= 10 characters

    Example: 14473
    statestring

    3-letter code of the address state. Mandatory when countryCode corresponds to Canada or USA.

    Possible values: <= 3 characters

    isBusinessUserbooleannullable

    Flag indicating business user

    businessConsumer objectnullable
    companyNamestringnullable

    Company name of business user

    Possible values: <= 140 characters

    companyTypestringnullable

    Type of business entity

    Possible values: <= 70 characters

    emailAddressstringnullable

    Contact email

    Possible values: <= 254 characters

    taxIdstringnullable

    Tax identifier

    Possible values: <= 20 characters

    culturestringnullable

    Locale/culture info

    Possible values: <= 10 characters

    consumer objectnullable
    firstNamestringnullable

    Possible values: <= 50 characters

    lastNamestringnullable

    Possible values: <= 50 characters

    middleNamestringnullable

    Possible values: <= 50 characters

    emailAddressstringnullable

    Possible values: <= 254 characters

    dateOfBirthstring<date>nullable
    genderstringnullable
    mobilePhonestringnullable
    homePhonestringnullable
    workPhonestringnullable
    titlestringnullable
    culturestringnullable

    Possible values: <= 10 characters

    taxIdstringnullable

    Possible values: <= 20 characters

    additionalData object[]nullable
  • Array [
  • namestring

    Metadata key

    valuestring

    Metadata value

  • ]
  • versionTagstringnullable

    Mandate version tag

    Possible values: <= 10 characters

    versionCreatedAtstring<date-time>nullable

    Timestamp of this version creation