SlimPay Developer Center

  • REST API
  • File Transfer
  • Resources
  • Overview
  • Use Case Guides
  • Reference
  • Browser
 
Getting Started
  • Choosing the right HTTP client
  • Get an access token
  • Retrieving URLs
  • Where to next?
Enroll your customers
  • Checkout Integration Types
  • SlimPay Checkout
  • Checkout Api
  • Setting Up SlimCollect
  • Import an Existing Mandate
  • Add a Document Signature
Collect payments
  • Add a First Payment
  • Collect Payments by Direct Debit
Webhook
  • Configuration
  • Notification
  • Security
Monitor activity
  • Handle Payment Issues
  • Refund Payments
  • Update the Payment Method

Import an Existing Mandate

It’s possible you’ve already collected the bank account information of your customers through paper mandates or by using another payment service provider in the past. In either case, you can import these mandates into our system and use them for collecting payments.

Mandate importing is only available for user acceptance testing and live accounts and must be activated by SlimPay.

Please note

This guide does not cover the basics of API authentication or the format of requests and responses. Please review these sections if you are unfamiliar with these concepts.

To get started, you will need:

  • your creditor reference
  • the reference of your subscriber
  • the customer's first name, last name, billing address and IBAN

The table below lists all of the parameters that you need to import an existing mandate. Be sure to include all the properties that are mandatory, as well as any optional ones you wish.
All of the data you provide must conform to the constraints outlined in our comprehensive API reference.

ParameterMandatoryFormatMax length
creditor » reference YESAlphanumeric35
subscriber » reference YESAlphanumeric35
reference
The unique mandate reference.
Alphanumeric35
paymentScheme
  • SEPA.DIRECT_DEBIT.CORE
  • SEPA.DIRECT_DEBIT.B2B
YESAlphanumeric35
dateSigned
The exact date and time at which the mandate was signed.
YESA date, formatted to ISO 8601 standard
E.g. 2016-11-03T00:00:00.000+0100
28
signatory » honorificPrefix
Mr, Miss or Mrs
Alphabetic4
signatory » givenName
Are forbidden:
  • digits from 0 to 9
  • the at sign @
  • the slash /
  • the backslash \
YESAlphabetic32
signatory » familyName
Are forbidden: see list above.
YESAlphabetic70
signatory » companyName
The company legal name.
Alphanumeric70
signatory » organizationName
The unique identifier of the company.
Alphanumeric24
signatory » email Alphanumeric70
signatory » telephone E.164 standard
E.g. +33612345678
16
signatory » billingAddress » street1 YESAlphanumeric70
signatory » billingAddress » street2 Alphanumeric70
signatory » billingAddress » city YESAlphanumeric35
signatory » billingAddress » postalCode YESAlphanumeric15
signatory » billingAddress » country YESISO 3166-2
E.g. FR for France
2
signatory » bankAccount » iban YESAlphanumeric34

Now let's create the mandate using the create-mandates relation:

$rel = new Hal\CustomRel('https://api.slimpay.net/alps#create-mandates');
$follow = new Http\Follow($rel, 'POST', null, new Http\JsonBody(
[
    'creditor' => [
        'reference' => 'yourCreditorReference'
    ],
    'subscriber' => [
        'reference' => 'theSubscriberReference'
    ],
    'reference' => 'theMandateReference',
    'paymentScheme' => 'SEPA.DIRECT_DEBIT.CORE',
    'dateSigned' => '2016-08-24T17:27:48.000+0100',
    'signatory' => [
        'honorificPrefix' => 'Mr',
        'givenName' => 'John',
        'familyName' => 'Doe',
        'email' => 'change.me@slimpay.com',
        'telephone' => '+33612345678',
        'companyName' => null,
        'organizationName' => null,
        'billingAddress' => [
            'street1' => '27 rue des fleurs',
            'street2' => 'Bat 2',
            'city' => 'Paris',
            'postalCode' => '75008',
            'country' => 'FR'
        ],
        'bankAccount' => [
            'iban' => 'theIban'
        ]
    ]
]
));
$mandate = $hapiClient->sendFollow($follow);
$mandateReference = $mandate->getState()['reference'];

And it’s as easy as that! Be sure to store the mandate reference for future operations.

 
SlimPay
  • Developer Center
  • Help Center
  • Website
  • REST API
    • Overview
    • Guides
    • Reference
    • Browser
    • Clients
  • File Transfer
    • Overview
    • Checkout
    • Payments
    • Payments Issues
    • Account Reporting
  • Resources
    • FAQ
    • IBANs