Issuing a direct debit request
In order to issue a direct debit request, you can:
- Use a file exchange service (see https://sogecommerce.societegenerale.eu/doc/en-EN/payment-file/ips/sitemap.html).
This solution consists in uploading a file with the direct debit request to the SFTP server.
The uploaded files are processed twice a day, at 7 a.m. and at 1 p.m.
Files uploaded after 1 p.m. will be processed the following morning at 7 a.m.
Depending on the constraints related to different deadlines, the Merchant decides when to issue a direct debit request.
Therefore, the Merchant controls the date of funds transfer.
The amount of direct debits may vary from one due date to another.
- Use the Merchant Back Office
This solution consists in creating a manual payment using an existing token via the Merchant Back Office.
The Merchant defines the direct debit amount and the desired due date.
Depending on the constraints related to various deadlines, the payment gateway calculates which funds transfer date will be the closest possible to the desired due date.
- Use the Charge/CreatePayment method of the REST Web Service API
This solution consists in making a call to the createPayment Web Service in SILENT mode by transmitting the UMR to be debited in the paymentMethodToken attribute.
To enable the SILENT mode, set the formAction attribute to “SILENT”. Any other value will cause the request to be rejected.
Depending on the constraints related to different deadlines, the Merchant decides when to issue a direct debit request.
Therefore, the Merchant controls the date of funds transfer.
The amount of direct debits may vary from one due date to another.
If the operation is successful, the Web Service returns a Payment object. The fund transfer date is returned in the transaction.transactionDetails.cardDetails.expectedCaptureDate attribute.
Example of a request:
{ "amount":"3990", "currency":"EUR", "formAction":"SILENT", "paymentMethodToken":"0d75bd5f1fef4e779a4154e65abb39ca", "orderId":"myOrderId-605811", "customer":{ "email":"sample@example.com", "reference":"12345678" } }