SEPA Direct Debit

Server-Side Implementation

Creating transactionsAnchorIcon

Creating a SEPA Direct debit transaction is the same as creating any other transaction with a nonce or a vaulted payment method . Be sure to pass the device data you collected on the client side when you create the transaction.

Optional fieldsAnchorIcon

  • order_id - a merchant-generated ID associated with the transaction
  • descriptor_name - a descriptor that will show in the user's bank statement
Below includes an example call with relevant parameters:
  1. Callback
  2. Promise
const saleRequest = {
    amount: req.body.amount,
    paymentMethodNonce: nonceFromTheClient,
    merchantAccountId: "EUR-merchant-account",
    orderId: "Order 1234",
    descriptorName: "Merchant ABC",
    deviceData: deviceData,
    options: {
        submitForSettlement: true // Required
    }
};

gateway.transaction.sale(saleRequest, (err, result) => {
    if (err) {
        console.log("Error: " + err);
    } else if (result.success) {
        console.log("Success! Transaction ID: " + result.transaction.id);
    } else {
        console.log("Error: " + result.message);
    }
});

Currency supportAnchorIcon

SEPA Direct Debit only supports EUR currency.

SEPA Direct Debit webhooksAnchorIcon

You can set up webhooks to notify you of changes in status to SEPA Direct Debit transactions.