Retrieve account agreements and generate PDF documents for account-related contracts.
- Get payment instruction
Fondo Partner API (2.0.0)
Request
Creates a new payment instruction of the specified type (for example autogiro) for the client identified by client_id. Provide an array of payments with details such as amount, destination account, and a unique clientRef. The response returns the instruction id, the list of created payments, a bankTransferRef if available, and the initial status (for example new) so you can track subsequent processing and settlements.
Create instruction of payments
- Mock serverhttps://docs.fondo.se/_mock/openapi/api_3.0.3/v2/partner/client/{client_id}/instruction/payment
- Productionhttps://api.fondo.se/v2/partner/client/{client_id}/instruction/payment
- Sandboxhttps://api.sandbox.fondo.se/v2/partner/client/{client_id}/instruction/payment
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.fondo.se/_mock/openapi/api_3.0.3/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,
"clientRef": "instruction_id_29384"
}
]
}'{ "id": "string", "type": "autogiro", "instructions": [ { … } ], "bankTransferRef": "REF-12345", "status": "new" }
Request
Returns the list of individual payments linked to an instruction identified by instruction_id under the given client_id. Each payment record includes its id, destination account, amount, optional clientRef, current status (such as new or completed), and any explanatory reason or reasonCode. Use this endpoint to monitor execution and settlement of all payments created within a given payment instruction.
- Mock serverhttps://docs.fondo.se/_mock/openapi/api_3.0.3/v2/partner/client/{client_id}/instruction/{instruction_id}/payment
- Productionhttps://api.fondo.se/v2/partner/client/{client_id}/instruction/{instruction_id}/payment
- Sandboxhttps://api.sandbox.fondo.se/v2/partner/client/{client_id}/instruction/{instruction_id}/payment
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.fondo.se/_mock/openapi/api_3.0.3/v2/partner/client/49ad7378-121c-4a53-9894-dfd14a7b4877/instruction/49ad7378-121c-4a53-9894-dfd14a7b4877/payment \
-H 'Authorization: Bearer <YOUR_Token_HERE>'Array of payments
UUID (Universally Unique Identifier)
UUID (Universally Unique Identifier)
Payment status
- new
- pending
- complete
- failed
- settled
- canceled
- refunded
Payment created
[ { "id": "string", "sortedId": "string", "account": "string", "amount": 0, "clientRef": "my_order_123", "status": "new", "reason": "string", "reasonCode": "string" } ]
Request
Returns the full payment instruction identified by instruction_id under the given client_id. The response includes the instruction id, a list of scheduled payments (each with amount, target account, and optional clientRef), any bankTransferRef provided by the payment system, and the current status (such as new, processing, or completed). Use this endpoint to track the overall lifecycle and settlement state of a particular payment instruction.
- Mock serverhttps://docs.fondo.se/_mock/openapi/api_3.0.3/v2/partner/client/{client_id}/instruction/{instruction_id}
- Productionhttps://api.fondo.se/v2/partner/client/{client_id}/instruction/{instruction_id}
- Sandboxhttps://api.sandbox.fondo.se/v2/partner/client/{client_id}/instruction/{instruction_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.fondo.se/_mock/openapi/api_3.0.3/v2/partner/client/49ad7378-121c-4a53-9894-dfd14a7b4877/instruction/49ad7378-121c-4a53-9894-dfd14a7b4877 \
-H 'Authorization: Bearer <YOUR_Token_HERE>'{ "id": "string", "type": "autogiro", "instructions": [ { … } ], "bankTransferRef": "REF-12345", "status": "new" }
Transactions
Transactions record movements of money and units.
- Cash transactions (CT): deposits, withdrawals, cash legs of fund orders (with settlement dates).
- Fund transactions (FT): unit movements from subscriptions/redemptions (trade & settlement dates). Use these endpoints to reconcile ledgers and statements.
Subscriptions (WebSocket & Webhooks)
Receive real-time updates from Fondo without polling.
- WebSocket: open a persistent stream for
.create,.update,.delete, andheartbeatevents. - Webhooks: register a callback URL to get signed POSTs with
current/previouspayloads. Include replay/retry handling in your consumers.