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.
$client = new PayLaneRestClient('your_login', 'your_password');
client = PayLane::Client.new('your_login', 'your_password')
from client import PayLaneRestClient
client = PayLaneRestClient("your_login", "your_password")
PayLaneApi api = PayLaneClientFactory.createClassicClient(context, "your_login", "your_password");