List partners
const url = 'https://example.com/api/v1/partners?page=1&per_page=10';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/partners?page=1&per_page=10' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Filter by partner IDs
Filter by customer IDs
Filter by workspace IDs
Filter by partner name (case-insensitive substring match)
Page number for pagination (default: 1)
Number of items per page for pagination (default: 10)
Responses
Section titled “ Responses ”OK
object
object
Unique identifier of the partner
Name of the partner
ID of the customer this partner belongs to
ID of the workspace this partner belongs to
Billing mode for this partner (null if not configured)
Present when billing_mode is self_billing. Contains all invoice generation data.
object
Legal entity name of the partner (used on invoices)
Registered business address shown on invoices
object
Street address including house number
City
State, province, or region
Postal or ZIP code
ISO 3166-1 alpha-2 country code
VAT or tax registration number (e.g. “FR12345678901”)
Number of days after invoice issuance until payment is due
Bank account to which the settlement amount should be transferred
object
Name of the bank account beneficiary
International Bank Account Number
Bank Identifier Code (SWIFT/BIC)
Tax treatment applied to this partner’s invoices
object
Tax treatment applied to commissions paid to this partner
Tax label printed on invoices (e.g. “VAT”, “TVA”, “MwSt”)
Tax rate in basis points (e.g. 2000 = 20%). Required when treatment is standard.
Total number of partners matching the query
Current page number
Number of partners returned per page
Example
{ "partners": [ { "billing_mode": "self_billing", "self_billing_data": { "tax_config": { "treatment": "standard" } } } ]}Unauthorized
object
Example
{ "error_code": "UNAUTHORIZED", "message": "Authentication credentials were not provided or are invalid."}Internal server error
object
Example
{ "error_code": "UNAUTHORIZED", "message": "Authentication credentials were not provided or are invalid."}