After setting up the payment method, you can create payments by deposing a CSV file in your SFTP folder.
This file must contain:
- Information about the merchant.
- The number of items to be expected in the file.
- The name of the columns used.
- The transactions. Each transaction (line) can contain one or more item(s).
The file begins with the following line:
|"0"||"PAYMENTS"||Creditor reference||Merchant company name|
Followed by one line to define the direction of the payment and the currency. The structure of this/these line(s) is:
||Number of items of this type||Total amount||Currency:
If you wish to create payments for multiple directions or currencies, you will have to create multiple files.
Followed by one line to define which columns you intend to use based on your needs. Some columns are mandatory, others are optional. The order is irrelevant.
Generic columns to each transaction
|PAYMENT_REFERENCE||Payment unique reference.
Generated by SlimPay if empty.
As soon as possible if empty.
|PAYMENT_LABEL||Label to appear in the bank statement.||Alphanumeric||140|
Direct Debit Columns
|MANDATE_REFERENCE||Unique mandate reference.
Card Payment Columns
|CARD_ALIAS_REFERENCE||Unique card alias reference.||Alphanumeric||35|
Then come the transactions. The values must be aligned with the specified columns.
If the file is acknowledged, you can expect a reporting file to let you know the total amount processed.
Here is a file with 2 payments IN:
0;PAYMENTS;hooli;Hooli; 1;IN;2;38.00;EUR; PAYMENT_DIRECTION;PAYMENT_REFERENCE;PAYMENT_AMOUNT;PAYMENT_LABEL;MANDATE_REFERENCE;CARD_ALIAS_REFERENCE;CARD_OPERATION_TYPE; IN;payment-00000028;12.00;Payment for invoice number 00000028;SLMP_0003214617;;; IN;payment-00000030;26.00;Payment for invoice number 00000030;;129#democreditor#subscriber01;authorizationDebit;
The file would then be acknowledged and a reporting file will be generated:
Now if any issue with a payment should come up, you can be aware of it by using the payment issues reporting file.