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 -i -X POST \
'https://api.sandbox.fondo.se/v2/partner/client/{clientId}/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": "my_internal_event_1"
},
{
"amount": 250,
"account": "b3f1c9d2-5e7a-4c1b-8f2d-6a9e0b4c7d31",
"clientRef": "my_internal_event_2"
}
]
}'The instruction progresses through: new → executing → processed. The clientRef you provide is copied to the resulting cash transactions for reconciliation.
typeanyrequired
The type of payment
Value:"autogiro"
paymentsArray of objectsrequired
Array of payment instructions
Example:
[ { "amount": 110, "account": "49ad7378-121c-4a53-9894-dfd14a7b4877", "clientRef": "my_internal_event_1" }, { "amount": 250, "account": "b3f1c9d2-5e7a-4c1b-8f2d-6a9e0b4c7d31", "clientRef": "my_internal_event_2" } ]
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 -i -X GET \
'https://api.sandbox.fondo.se/v2/partner/client/{clientId}/instruction/{instructionId}/payment' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Next: Place an order