cURL
curl --request GET \ --url https://test.deribit.com/api/v2/private/enable_affiliate_program \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 24, "method": "private/enable_affiliate_program", "params": {} } '
{ "jsonrpc": "2.0", "id": 1569, "result": "ok" }
Enables affiliate program for user
📖 Related Support Article: Affiliate Program
Scope: account:read_write
account:read_write
Try in API console
Success response
The JSON-RPC version (2.0)
2.0
Result of method execution. ok in case of success
ok
The id that was sent in the request
Was this page helpful?