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.
Request
This endpoint should be used for tracking referrals from the moment a user registered under a referral link or code that belongs to the caller. The caller is identified from the authentication token provided.
- Mock serverhttps://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/referrals/billers
- Production API Server URLhttps://api.adfin.com/api/referrals/billers
- Staging API Server URLhttps://api.staging.adfin.com/api/referrals/billers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/referrals/billers?referralCode=string&lastUpdatedTime=2019-08-24T14%3A15%3A22Z' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "referredBillers": [ { … } ] }