SlimPay Developer Center

  • REST API
  • File Transfer
  • Resources
  • Overview
  • Checkout by link
  • Payments
  • Remittance Files
  • Payment Issues
  • Account Statement Report
 

Checkout by link

When enrolling a new customer and/or adding a first payment, a redirect link can be sent by email in order to complete the Checkout process. Using a list of email addresses, this same operation can be done for many customers simultaneously with the SlimPay File API.

To do this, you will need to prepare a CSV file that includes:

  • Information about you, the merchant
  • The number of transaction items to be expected in the file
  • The name of the columns used (not all of them are mandatory)
  • The transactions themselves. Each transaction line can contain one or more items (for example, signing a mandate and setting up a recurring direct debit plan)

Please note: The emails are sent as soon as you deposit the file into your SFTP folder.

Merchant information

The CSV file begins with the following line:

1234
"0" "CHECKOUT_BY_LINK" Creditor reference Merchant company name

Below is an example of a merchant information line.

0;CHECKOUT_BY_LINK;testCreditor;TestCompany;

This is followed by one line for each distinct item type present in the file. The structure of this/these line(s) is:

123456
1 Item type:
  • MANDATE
  • DIRECT_DEBIT
  • RCUR_DIRECT_DEBIT
Number of items of this type Total amount
(decimal)
Currency:
  • EUR
Payment Scheme:
  • sepa_dd_core
  • sepa_dd_b2b
(for DIRECT_DEBIT and
RCUR_DIRECT_DEBIT only)

The example line below specifies that the file contains three direct debit orders, totalling €100:

1;DIRECT_DEBIT;3;100.00;EUR;sepa_dd_core;

Transaction columns

Underneath this is a line defining which columns you intend to use in the file, based on your needs. Some columns are mandatory, others are optional.
The order you place the columns is irrelevant, as long as the values entered below them correspond correctly.

Please note: A line composed of DIRECT_DEBIT/RCUR_DIRECT_DEBIT columns must also include MANDATE columns.

Columns generic to each transaction

TitleDescription MandatoryFormatMax length
TRANSACTION_REFERENCETransaction reference
Generated by SlimPay if empty
Alphanumeric35
CUSTOMER_REFERENCEThe unique reference of the customer in the merchant system YESAlphanumeric35
CUSTOMER_EMAILCustomer's email address YESAlphanumeric70

Mandate Columns

TitleDescription MandatoryFormatMax length
MANDATE_REFERENCEUnique mandate reference
Use -AUTO-GENERATE- to let SlimPay generate it
Use -NO-REFERENCE- for mandates with no reference
YESAlphanumeric35
MANDATE_SCHEMEMandate scheme
Only if the account has more than one enabled
  • sepa_dd_core
  • sepa_dd_b2b
CUSTOMER_IBANCustomer's IBAN Alphanumeric34
CUSTOMER_BICCustomer's BIC code (or SWIFT code) Alphanumeric11
CUSTOMER_TITLECustomer's title:
  • 0 for Mr.
  • 1 for Miss
  • 2 for Mrs
Integer1
CUSTOMER_FIRST_NAMECustomer's first name YESAlphabetic32
CUSTOMER_LAST_NAMECustomer's last name YESAlphabetic70
CUSTOMER_COMPANY_NAMECustomer's company name Alphanumeric35
CUSTOMER_COMPANY_IDCustomer's company identification number Alphanumeric24
CUSTOMER_PHONECustomer's mobile phone E.164 standard
E.g. +33612345678
16
CUSTOMER_ADDRESS1Customer's billing address: line 1 YESAlphanumeric70
CUSTOMER_ADDRESS2Customer's billing address: line 2 Alphanumeric70
CUSTOMER_POSTAL_CODECustomer's billing address: postal code YESAlphanumeric15
CUSTOMER_CITYCustomer's billing address: city YESAlphanumeric35
CUSTOMER_COUNTRYCustomer's billing address: country YESISO 3166-2
E.g. FR for France
2

Direct Debit Columns

TitleDescription MandatoryFormatMax length
DIRECT_DEBIT_AMOUNTAmount YESDecimal19
DIRECT_DEBIT_EXEC_DATEExecution date
If empty, SlimPay will apply the earliest possible date
ISO 8601 Date format
(2020-09-25)
10
DIRECT_DEBIT_LABELLabel which will appear on the bank statement of the customer YESAlphanumeric140
DIRECT_DEBIT_REFERENCEUnique payment reference YESAlphanumeric35

Recurrent Direct Debit Columns

TitleDescription MandatoryFormatMax length
RCUR_DIRECT_DEBIT_AMOUNTAmount YESDecimal19
RCUR_DIRECT_DEBIT_FROM_DATEDate from YESISO 8601 Date format
(2020-09-25)
10
RCUR_DIRECT_DEBIT_FREQUENCYThe frequency of the direct debit payments:
  • 0 for daily
  • 1 for weekly
  • 2 for monthly
  • 3 for every two months
  • 4 for trimestriel
  • 5 for quarterly
  • 6 for semiannual
  • 7 for yearly
YESInteger1
RCUR_DIRECT_DEBIT_MAX_NUMBERNumber of direct debits created
If empty, the direct debit plan will be unlimited until cancelled
Integer11
RCUR_DIRECT_DEBIT_LABELLabel which will appear on the bank statement of the customer YESAlphanumeric140
RCUR_DIRECT_DEBIT_REFERENCEUnique payment reference
This reference will be appended with -n, n being a number
YESAlphanumeric32

Transactions

The rest of the file consists of the transactions themselves, each allocated one line. Make sure the values you enter are aligned with the appropriate columns.

Below is an example of the complete CSV file for three direct debit orders, totalling €100:

0;CHECKOUT_BY_LINK;testCreditor;testCompany;
1;DIRECT_DEBIT;3;100.00;EUR;sepa_dd_core;
CUSTOMER_REFERENCE;CUSTOMER_EMAIL;MANDATE_REFERENCE;CUSTOMER_FIRST_NAME;CUSTOMER_LAST_NAME;CUSTOMER_ADDRESS1;CUSTOMER_POSTAL_CODE;CUSTOMER_CITY;CUSTOMER_COUNTRY;DIRECT_DEBIT_AMOUNT;DIRECT_DEBIT_LABEL;DIRECT_DEBIT_REFERENCE;
customer123;john.doe@slimpay.com;SLMP_0003214617;John;Doe;1 Rue des Fleurs;75001;Paris;FR;20.00;Invoice May;paymentRef123;
customer456;mark.bull@slimpay.com;SLMP_0008231982;Mark;Bull;15 Rue du Jardin;75002;Paris;FR;30.00;Cinema payment;paymentRef456;
customer789;nico.dupont@slimpay.com;SLMP_0004127437;Nicolas;Dupont;19 Avenue des Rosiers;75003;Paris;FR;50.00;Gym subscription;paymentRef789;

Reporting file

If the file you deposited is acknowledged, you can expect a reporting file to let you know which transactions where successfully created. For the transactions which were not, the reporting file will detail why they failed.

Please note: A successfully created transaction means the email was sent. You can get information about the transaction status (whether the customer completed the Checkout) by using your SlimPay Dashboard.

The reporting file format starts with the same first line as the file you sent, with the current date added. The second line consists of the columns you sent in the initial file, preceded by two new columns:

  • RESULT_CODE: 0 is for a creation success
  • RESULT_DESCRIPTION: if the code is not 0, the reason for failure will be specified here
 
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