Skip to main content
PATCH
Update your program’s payment terms. All fields are optional — only include the fields you want to change. If no payment terms exist yet, they will be created with sensible defaults for any fields not provided.

Body Parameters

string
Commission type. Valid values: FIXED, PERCENTAGE, CREDITS.
number
Commission rate. Must be >= 0.
string
Duration model. Valid values: lifetime, time_limited, payment_limited.
integer | null
Maximum commissions per referral. Set to null for unlimited.
integer | null
Days to hold commissions before approval. Set to null to disable.
integer
Minimum payout threshold in cents. Must be >= 0.
string
Payout frequency. Valid values: weekly, monthly.
array
List of accepted payment method strings.
string | null
Additional free-form payment terms shown to affiliates. Set to null to clear.
Referral cookie lifetime in days. Must be between 1 and 365.
boolean
Enable automatic payouts.
string
Invoice handling rule. Valid values: NONE, OWNER_PROVIDES, AFFILIATE_PROVIDES, SELF_BILLING.
string | null
Invoice number prefix. Maximum 20 characters. Set to null to clear.
boolean
Require affiliates to submit tax forms before payout.
string | null
Company name for invoices. Set to null to clear.
string | null
Address line 1. Set to null to clear.
string | null
Address line 2. Set to null to clear.
string | null
City. Set to null to clear.
string | null
Postal code. Set to null to clear.
string | null
ISO 3166-1 alpha-2 country code (e.g. US, DE). Must be exactly 2 characters. Set to null to clear.
string | null
VAT ID. Set to null to clear.
number | null
VAT rate percentage (0–100). Set to null to clear.

Response

Returns the updated payment terms object. Same structure as the Get Payment Terms response.