SEPA Direct Debit
POST
/api/payment/sdd/initThe request allows the initiation of a SDD (SEPA Direct Debit).
The customer will be required to sign an electronic mandate for the first debit. A redirection page (parameter MandateUrl
) is then returned, as for a 3DSecure payment for example, and this operation will not be requested for the next debits.
Request
Transaction amount in cents
Your unique customer ID (highly recommended)
The customer's email address associated with the payment (highly recommended)
Name of the client, or company name
IBAN of the customer
BIC of the customer
Person (or company) who owns the bank account
Only used to manage the collection of payments between companies. It does not apply to individuals or self-employed persons
A B2B direct debit is not contestable by the customer (disabled by default)
IP address of the client or device validating the collection
Customer's address
Customer's postal code
Customer's city
Customer's country of residence
Unique Easytransac customer ID (if you have already made a payment for this customer)
Your unique transaction identifier (or order number)
Description of the transaction (use \nto make a line break)
Customer's first name
Customer's calling code
Customer's phone number
Customer's birth date
Customer's nationality
URL where the customer is redirected once the payment is made
The status of the transaction is systematically returned in POST on this return URL
The ReturnUrl
parameter passing is by default in POST, you can force it in GET
Only the "essential" parameters are returned in this case
Allows the transaction to be split into several payments (for example, for an amount of 300 euros, the deposit will be 100 euros by default, a payment of 100 euros will take place 30 days later, and then a final payment of 100 euros after 60 days)
Number of payments to be made in total when paying in instalments, including deposit (default is 3)
Deposit for a payment in several instalments (33% of the total by default, if payment in 3 instalments for example) or amount of the first payment (for a subscription, if the first payment is different from the following)
Activate or not the subscription (recurring payments)
Frequency of direct debit subscriptions (monthly by default)
Allows you to redirect the cashing of this transaction to the account of another Easytransac user
Allows you to redirect the collection of this transaction to the account of another Easytransac user, by his unique ID
Indicates the capabilities of the client browser
Language of the potential bank errors returned
Signature to verify the integrity of the data sent
Responses
{
"Code": 0,
"Signature": "1f51786246a940677afe71f6968972fd46500bd1",
"Result": {
"RequestId": "a1b2c3d4e5f6",
"Tid": "a1b2c3d4",
"Uid": "Abc123",
"OrderId": "Cde100",
"Status": "pending",
"Date": "2019-06-03 17:05:30",
"DateRefund": "2019-06-03 17:05:30",
"DateChargeback": "2019-06-03 17:05:30",
"DateRepresentment": "2019-06-03 17:05:30",
"Amount": "29.99",
"FixFees": "0.01",
"Message": "Payment was successful",
"MultiplePayments": "yes",
"Rebill": "yes",
"OriginalPaymentTid": "a1b2c3d4",
"Alias": "a1b2c3",
"Error": "Insufficient funds",
"AdditionalError": [
"Do not honor"
],
"MandateUrl": "https://www.easytransac.com/api/payment/mandate/a1b2c3d4",
"Client": {
"Id": "aaabbb1",
"Email": "test@test.com",
"Firstname": "John",
"Lastname": "Doe",
"Address": "26 green street",
"ZipCode": "75001",
"City": "Paris"
}
}
}