API integration
The Lodin Pay by Bank Link API
No plugin for your platform? The Lodin API creates an instant bank transfer payment in one call: you get a payment link, your customer pays from their bank, and a webhook gives you the result.
- One call to create a payment
- Signed webhooks
- Sandbox in the console
Two authentication methods
| OAuth | HMAC signature | |
|---|---|---|
| Principle | Exchange credentials for a Bearer token valid for about 1 hour | Each request is signed with the Client Secret |
| Headers | Authorization: Bearer | X-Client-Id, X-Timestamp, X-Signature |
| Calls to create a payment | 2 for the first payment, then 1 while the token is valid | 1 |
A payment created with HMAC can then be read with an OAuth token from the same application.
A payment's journey
- You create the paymentOne request with the amount and your reference. The API returns a payment link.
- Your customer paysThey open the link, pick their bank and confirm the instant transfer.
- You get the resultA webhook tells you the status: succeeded, failed or pending.
Getting started
Create an application in the Lodin console to get your Client ID and Client Secret, and test in the sandbox. The documentation provides reference implementations of the signature in five languages.
Your questions
Frequently asked questions
Do I need a plugin to use Lodin online?
No. Plugins save you code on common platforms; the API covers every other case.
Can I test without real payments?
Yes. The Lodin console provides a test environment to create your applications and validate your integration.
How much does the API cost?
Nothing beyond your Lodin plan: 30 days free, then €10 excl. VAT a month, no commission.
Your first payment in a few minutes
Download Lodin POS, connect your bank, show your QR code. 30 days free, no commitment.