Smart Pix — Intelligent initiation (Sweeping)
Lina initiation APIs for Smart Pix streamline automatic payments and Sweeping (intelligent transfers under an Open Finance recurring consent). They reduce integration effort so you can offer a modern payment experience while using Open Finance as regulation permits.
With Smart Pix, you create an automatic-payment contract at the account holder, redirect the payer once for consent, then initiate transfers from the selected account to the same holder within the agreed limits.
Prerequisites
- Obtain an OAuth 2.0 access token as described in Get your credentials.
- Complete Onboarding so redirect domains are allow-listed for your sub-tenant.
Stage 0 — Create the contract (consent + first redirect)
- Call Get registered participants
with header
subTenantIdso the payer can choose an institution. - Call Create recurring consent
with
organisationId,authorisationServerId, and nestedrecurringConsent(includingrecurringConsent.redirectUri— see below). - From 201 Created, persist
data.idanddata.consentIdserver-side, then send the user todata.redirectUrlto authenticate and approve the contract at the account holder. - After approval, the holder redirects the browser to
redirectUriyou sent in the consent body. That URL must be owned and operated by your application (allow-listed on the sub-tenant); Lina does not host it. - Poll Get payment request with path
{automaticPaymentsRequestId}=data.iduntildata.consentStatusisAUTHORISED(see OpenAPI for other states). - Call Create recurring payment with
recurringConsentIdset todata.consentIdfrom step 3 (and the rest of the payment payload required by the API).
Stage 1 — Further transfers (contract already authorised)
When the contract is already AUTHORISED, you do not repeat the holder redirect for each transfer. Obtain a token and call Create recurring payment directly, then optionally Get recurring payment for details.
API Reference
Use the Smart Pix API group in the sidebar for full request and response schemas.