Affiliates
Affiliate profiles let you register a partner-scoped app-fee recipient with a payout destination on any supported chain under a stableaffiliateId, then reference that id in quote requests.
PUT /v1/affiliates/:affiliateId
Create or update an affiliate profile. Headers:payoutChain, payoutAsset, and payoutAddress fields configure the self-service claim destination. All three must be provided together. Supported destinations match the pipeline payout routes.
Legacy fields are supported for backward compatibility:
settlementChain+recipientAddress
GET /v1/affiliates
List affiliate profiles for your partner. Headers:includeDisabled(true|false, defaultfalse)limit(default200, max1000)offset(default0)
DELETE /v1/affiliates/:affiliateId
Disable an affiliate profile. Headers:POST /v1/affiliates/:affiliateId/claim
Create a claim for the full available affiliate fee balance. The available balance reflects the affiliate’s 80% share after Flashnet’s 20% platform cut. Minimum claim is $1 USDC. Headers:payoutChain, payoutAsset, payoutAddress).
GET /v1/affiliates/:affiliateId/claims
List claims for an affiliate. Headers:limit(default50, max200)offset(default0)
Partner Webhooks
Webhooks deliver order status changes for your partner account.POST /v1/webhooks
Register an endpoint. Headers:secret is only returned at creation time. Store it.
DELETE /v1/webhooks/:id
Disable an endpoint. Headers:Accumulation Addresses
Accumulation addresses are reusable deposit addresses on Solana and any supported chain. Each deposit automatically creates an order that deliversBTC or USDB on Spark.