Affiliate
Get affiliate config
Changed onRetrieve affiliate configuration for a wallet address. The wallet may be the owner or an admin; the response role says which.
get/v1/affiliate/{address}
Request
- Base URLhttps://api.shapeshift.com
- URLhttps://api.shapeshift.com/v1/affiliate/{address}
- Authnone declared
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",
"role": "owner"
}Changes
- info
added the optional property
to the response with the status
- info