What has happened to a customer, invoice, payment request or schedule.
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.
Only return activities on this kind of record.
Only return activities on this record, as a UUID.
Only return activities of these kinds. Repeat the parameter to name more than one, combined with OR. Omit it to return every kind.
Only return activities that happened at or after this instant. Inclusive.
Only return activities that happened at or before this instant. Inclusive.
How many activities to return per page. A request for more than the maximum is refused.
How to order the page.
- Mock serverhttps://developer.adfin.com/_mock/api-docs/prod/activities
- Production API Server URLhttps://api.adfin.com/api/activities
- Staging API Server URLhttps://api.staging.adfin.com/api/activities
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.adfin.com/_mock/api-docs/prod/activities?entityType=INVOICE&entityId=3fa85f64-5717-4562-b3fc-2c963f66afa6&type=INVOICE_PAID&minCreationTime=2026-08-01T00%3A00%3A00Z&maxCreationTime=2026-08-31T23%3A59%3A59Z&page=1&size=50&sort=creationTime%2Cdesc&customerId=3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'The requested page of activities.
The activities on this page, newest first unless another order was asked for.
The kind of record it happened to.
What happened.
What can be done about it. Empty where there is nothing to offer.
{ "activities": [ { … } ], "pagination": { "page": 0, "size": 0, "totalPages": 0, "totalElements": 0, "numberOfElements": 0, "sort": "string" } }
- Mock serverhttps://developer.adfin.com/_mock/api-docs/prod/activities/{activityId}
- Production API Server URLhttps://api.adfin.com/api/activities/{activityId}
- Staging API Server URLhttps://api.staging.adfin.com/api/activities/{activityId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.adfin.com/_mock/api-docs/prod/activities/{activityId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'The requested activity.
The kind of record it happened to.
What happened.
What can be done about it. Empty where there is nothing to offer.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "creationTime": "2019-08-24T14:15:22Z", "entityType": "INVOICE", "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5", "type": "INVOICE_CREATED", "display": { "title": "string", "summary": "string" }, "actor": { "type": "USER", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b" }, "actions": [ { … } ] }