Direct Debit

Direct debits are popular in some European countries (e.g. Germany). There are some similarities to card payments (e.g. reversals, which are equivalents of chargebacks), but funds are not charged from a card, but directly from a bank account.

Initiate the PayLane Rest Client

For all direct debits methods in PayLane API, you must ensure that the Rest Client is initialized. Simply include a proper file and provide your user name and password.

1
2
include_once ('PayLaneRestClient.php');
$client = new PayLaneRestClient('your_login', 'your_password');
1
2
require 'paylane_client'
client = PayLane::Client.new('your_login', 'your_password')
1
2
from client import PayLaneRestClient
client = PayLaneRestClient("your_login", "your_password")
1
PayLaneApi api = PayLaneClientFactory.createClassicClient(context, "your_login", "your_password");