Autogiro lets you pull deposits from the customer's bank account into their Fondo account. It is used in two ways:
- Allocation plans — Rules for distributing an account's cash balance across funds by percentage (e.g., "allocate 60% to fund X, 40% to fund Y").
- Savings plans — Recurring withdrawals from a payment account, investing fixed amounts into specified funds (e.g., "withdraw 5000 SEK monthly and buy fund X").
There are multiple ways to create an autogiro mandate:
- In the
createAccountjourney when setting up an allocation plan — you provide the autogiro bank account when initializing the journey. - In the
updateAllocationPlanjourney — you provide the autogiro bank account when initializing the journey. - In the
addBankAccountjourney — the customer selects a bank account to connect, including a 3rd-party account verification. - In the
createAccountjourney when setting up a savings plan.
Once the mandate is active, trigger autogiro deposits by creating a payment instruction. You can batch multiple payments (to different accounts) in a single instruction.
- Sandboxhttps://api.sandbox.fondo.se/v2/partner/client/{clientId}/instruction/payment
- NPChttps://api.npc.fondo.se/v2/partner/client/{clientId}/instruction/payment
- Productionhttps://api.fondo.se/v2/partner/client/{clientId}/instruction/payment
- curl
- Node.js
- Go
- C#
- Python
- Java
curl -i -X POST \
https://api.sandbox.fondo.se/v2/partner/client/49ad7378-121c-4a53-9894-dfd14a7b4877/instruction/payment \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"type": "autogiro",
"payments": [
{
"amount": 110,
"account": "49ad7378-121c-4a53-9894-dfd14a7b4877",
"clientRef": "instruction_id_29384"
}
]
}'The instruction progresses through: new → executing → processed. The clientRef you provide is copied to the resulting cash transactions for reconciliation.
The type of payment
Array of payment instructions
The amount of the payment
Client specified reference for keeping track of payment. Value is copied to the clientRef of transactions
Check the status of individual payments within an instruction:
- Sandboxhttps://api.sandbox.fondo.se/v2/partner/client/{clientId}/instruction/{instructionId}/payment
- NPChttps://api.npc.fondo.se/v2/partner/client/{clientId}/instruction/{instructionId}/payment
- Productionhttps://api.fondo.se/v2/partner/client/{clientId}/instruction/{instructionId}/payment
- curl
- Node.js
- Go
- C#
- Python
- Java
curl -i -X GET \
https://api.sandbox.fondo.se/v2/partner/client/49ad7378-121c-4a53-9894-dfd14a7b4877/instruction/49ad7378-121c-4a53-9894-dfd14a7b4877/payment \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Next: Place an order