Skip to main content
PATCH
/
v1
/
referral
/
{address}
Update referral's info. For internal usage only.
curl --request PATCH \
  --url https://backend.swap.coffee/v1/referral/{address} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "fees_percentage": 123
}
'
{
  "error": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

address
string
required
Example:

"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"

Body

application/json
fees_percentage
number<double>
required

Response

ok