Our public API offers several services that let you interact with various aspects of the system.
The AffiliateService part of our API allows you to directly create and fetch data about affiliates associated with your system.
The BillingDetailService allows you to update billing information for affiliates.
The PaymentMethodsService allows you to interact with affiliate's payment methods.
To properly interact with our public API, please refer to general information in our API documentation.
Below, you'll find a description of parameters used in the requests of endpoints of services mentioned above. For proper data schema see the API documentation.
AffiliateService
Get filtered list of affiliates by specific parameters
POST /api/node/affiliates/v1
Allows you to get a list of affiliates associated with your tenantID based on requested parameters.
For detailed JSON schema see our API documentation.
Parameter | Type | Description |
limit | integer | The limit used for a page of results. |
offset | integer | The offset used for a page of results. |
registeredFrom | date-time | Starting date-time of registrations (including). |
registeredTo | date-time | End datetime of registration (including). |
publicIds | string | Public identifier of affiliate, present in URL of the affiliate. |
emails | string | Affiliate emails. |
name | string | Full name of affiliates. |
statuses | enum | The state of affiliates in the system, allowed values:
|
tierIds | string | Identifier of affiliate tier in the system, see Affiliate tiers for more details, or the TiersService in our API. |
registrationCountryCodes | string | Affiliate registration country code, ISO 3166-1 Alpha-3 code format. |
sourceStatuses | enum | Designates if traffic coming from the affiliate is being recorded by the system. Allowed values:
|
referralAccountIds | string | Unique affiliate identifiers. |
isSuspected | boolean | Designates if affiliate is flagged by our fraud detection systems as suspicious. |
Create a new affiliate
POST /api/node/affiliates/v1/register-with-user
Creates a new affiliate in the system. The affiliate is automatically paired with your tenant account.
For detailed JSON schema, see our API documentation.
Parameter | Type | Description |
string | Email of the newly created affiliate. | |
password | string | Default password used for affiliate login. |
name | string | Full name of the created affiliate |
publicID | string | Public identifier of affiliate, present in URL of the affiliate. |
status | enum | Affiliate status after creation, allowed values:
|
referralAccountId | string | Unique identifier of the affiliate in the system. |
BillingDetailService
This service allows you to add billing detail to your affiliates.
Create a new billing detail
POST /api/node/billing-details/v1
Creates a new billing detail for specific user (account).
For detailed JSON schema, see our API documentation.
Parameter | Type | Description |
accountId | string | ID of the account the billing details will be updated for. |
name | string | Full name for the billing detail. |
addressLine1 | string | First line of the address. |
city | string | Address city. |
countryCode | string | Affiliate registration country code, ISO 3166-1 Alpha-3 code format. |
postalCode | string | Address postal code. |
addressLine2 | string | Second line of the address. |
invoicingEmail | string | Email to appear on credits notes/invoices. |
vat | string | VAT. |
PaymentMethodService
Manage payment methods for your affiliates. Read more here.
Create a new payment method
POST /api/node/payment-methods/v1
Creates a new payment method in the system. Once created, affiliates will be able to select the payment method as their preferred method for payout.
Parameter | Type | Description |
accountId | string | ID of account for which the payment method is to be added. |
type | enum | Payment method types, allowed values:
|
code | string | The three-letter currency code defined in ISO 4217. |
default | boolean | Designates if payment method should be set as default one, only one default payment method can be set. |
Bank Transfer
bankAccountNumber | string | Number of the bank account. |
bankAddress | string | Address of the bank. |
bankName | string | Registered name of the bank. |
swift | string | SWIFT of the bank account. |
aba | string | ABA number (for U.S. transfers.) |
note | string | Internal note. |
Bitcoin
cryptoWalletAddress | string | Bitcoin wallet address. |
note | string | Internal note. |
Credit Store
identification | string | Credit store information. |
note | string | Internal note. |
Direct Deposit
accountNumber | string | Bank account number. |
accountHolder | string | Name of the account holder. |
bankName | string | Bank name. |
bankRoutingNumber | string | ABA/bank routing number of the bank. |
note | string | Internal note. |
Ether
cryptoWalletAddress | string | ETH wallet address. |
note | string | Internal note. |
Gift Card
identification | string | Gift card code/identifier. |
note | string | Internal note. |
Mercado Pago
string | Registered email. | |
firstName | string | First name. |
lastName | string | Last name. |
note | string | Internal note. |
Neteller
string | Registered email. | |
note | string | Internal note. |
Payoneer
string | Registered email. | |
note | string | Internal note. |
PayPal
string | Registered email. | |
note | string | Internal note. |
SEPA
IBAN | string | IBAN of the bank account. |
beneficiaryName | string | Bank account holder name. |
bic | string | BIC/SWIFT code of the banking institution. |
note | string | Internal note. |
Skrill
string | Registered email address. | |
note | string | Internal note. |
USDC
cryptoWalletAddress | string | USDC wallet address. |
note | string | Internal note. |
USDT
cryptoWalletAddress | string | USDT wallet address. |
note | string | Internal note. |
Wise
string | Registered email address. | |
note | string | Internal note. |
Update a specific payment method
PATCH /api/node/payment-methods/v1/{id}
Updates the data for selected payment method.
Parameter | Type | Description |
id | string | Payment method ID. |
Rest of parameter descriptions are the same as in endpoint: POST /api/node/payment-methods/v1