Prerequisites
Before starting your integration:- Complete Flinks onboarding and receive your API credentials (
x-client-id) - Review and finalize your Pre-Authorized Debit (PAD) agreement with Flinks
- Obtain sandbox access credentials from your Flinks representative
Step 1: Set Up Environments
Use the appropriate base URL for your environment:| Environment | Base URL |
|---|---|
| Sandbox | https://payments-uat.flinksapp.com |
| Production | https://payments.flinksapp.com |
Step 2: Authenticate
Obtain an access token using the/api/v1/authorize endpoint with your Client ID and Secret:
access_token valid for 599 seconds. See Authorize for details.
Step 3: Create an EFT Transaction
CallPOST /api/v1/transactions to create a new EFT transaction. Include your x-client-id header for authentication.
One-Time Debit Example
schedules array containing the created schedule with its ID and status.
Recurring Debit Example
Step 4: Monitor Payment Status
Poll the payment request status to track your transaction:refreshStatus=true to fetch the latest status from the payment network before responding:
Step 5: Handle Recurring Schedules
For recurring debit transactions, you can define a schedule using one of the following approaches:- End date — Payments continue on the set frequency until the end date is reached.
- Transaction count — A fixed number of payments (maximum 300) are executed on the set frequency.
endDate or transactionsCount for recurring schedules.
Available Frequencies
| Frequency | Description |
|---|---|
OneTime | Single payment on the start date |
Weekly | Every week from the start date |
Biweekly | Every two weeks from the start date |
Monthly | Every month from the start date |
Step 6: Cancel Schedules When Needed
To cancel an upcoming schedule:Step 7: Go to Production
When you are ready to go live:- Switch your base URL from
payments-uat.flinksapp.comtopayments.flinksapp.com. - Use your production API credentials (provided by Flinks during onboarding).
- Verify your PAD agreement is finalized and approved.
- Confirm your settlement account is configured with Flinks.
Field Specifications Summary
| Field | Constraint |
|---|---|
amount | Minimum $0.01 |
description | Max 15 characters |
crossReferenceNumber | Alphanumeric + hyphens, max 36 characters |
institutionCode | Exactly 3 digits |
transitNumber | Exactly 5 digits |
accountNumber | 7–12 digits |
transactionsCount | Max 300 (recurring only) |
Common Integration Issues
- Start date must be in the future for debit transactions. Same-day start dates are only valid for credit transactions.
- DEBIT requires
payor, notpayee. CREDIT requirespayee, notpayor. - Recurring schedules need either
endDateortransactionsCount, but not both. - Credit transactions only support
OneTimefrequency with a same-day start date. - Account info must provide either an
accountIdor the combination ofinstitutionCode+transitNumber+accountNumber, but not both.