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 and payoutAsset must match a supported payout route. payoutAddress is where affiliate fee claims are settled.
Response:
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.