The invoice file is successfully returned
- Cancel an imported credit note
Resume collection for an invoice
Pause collection for an invoice
Get an invoice by its id
Update an invoice
Void an invoice
Manually mark an invoice as paid
Activate (send) an invoice
Retrieve a list of invoices by filter
Create an invoice
Preview instalment plan for an invoice
Import a credit note
Get the collection preferences for an invoice
Reset the collection preferences for an invoice
Change the collection preferences for an invoice
Get the file for a specific invoice
Cancel an imported credit...
Adfin API (1.0.0)
Adfin uses OAuth 2.0 access tokens to authenticate all API requests.
There are two contexts in which tokens are issued:
Biller Access Tokens — Generated via the Authorization Code flow when a biller connects their Adfin account. These tokens grant access to that biller's data (invoices, payment requests, customers, etc.).
Platform Access Tokens — Generated via the Client Credentials flow when a platform authenticates as itself rather than as one of its billers. A platform uses one to manage its own webhook subscriptions under
/api/apps/{clientId}/webhooks.
Download OpenAPI description
Languages
Servers
Mock server
https://developer.adfin.com/_mock/products/direct-integration/direct-integration-api-reference/
Production API Server URL
https://api.adfin.com/api/
Staging API Server URL
https://api.staging.adfin.com/api/
- Mock serverhttps://developer.adfin.com/_mock/products/direct-integration/direct-integration-api-reference/invoices/{id}/file
- Production API Server URLhttps://api.adfin.com/api/invoices/{id}/file
- Staging API Server URLhttps://api.staging.adfin.com/api/invoices/{id}/file
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.adfin.com/_mock/products/direct-integration/direct-integration-api-reference/invoices/{id}/file' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'- Mock serverhttps://developer.adfin.com/_mock/products/direct-integration/direct-integration-api-reference/invoices/{invoiceId}/credit_notes/{creditNoteId}
- Production API Server URLhttps://api.adfin.com/api/invoices/{invoiceId}/credit_notes/{creditNoteId}
- Staging API Server URLhttps://api.staging.adfin.com/api/invoices/{invoiceId}/credit_notes/{creditNoteId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developer.adfin.com/_mock/products/direct-integration/direct-integration-api-reference/invoices/{invoiceId}/credit_notes/{creditNoteId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'