latestOpenAPI 3.0.02026-08-15161451.7 KB
6ffb6a8fd74a
Affiliate
Get affiliate config
Retrieve affiliate configuration for a given wallet address.
get/v1/affiliate/{address}
Path parameters
addressstring required
Example:0x1234567890123456789012345678901234567890
Response
Affiliate configuration
Example response
{
"id": "abc123",
"walletAddress": "0x1234567890123456789012345678901234567890",
"receiveAddress": "0x1234567890123456789012345678901234567890",
"partnerCode": "mypartner",
"partnerBps": 50,
"shapeshiftBps": 10,
"isActive": true,
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}