cURL
curl --request GET \ --url https://test.deribit.com/api/v2/private/get_affiliate_program_info \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 2, "method": "private/get_affiliate_program_info", "params": {} } '
{ "jsonrpc": "2.0", "id": 2, "result": { "received": { "eth": 0.00004, "btc": 0.000001 }, "number_of_affiliates": 1, "link": "https://www.deribit.com/reg-xxx.zxyq", "is_enabled": true } }
Retrieves user`s affiliates count, payouts and link.
Scope: account:read
account:read
Try in API console
Success response
The JSON-RPC version (2.0)
2.0
Show child attributes
The id that was sent in the request
Was this page helpful?