POST
/
v1
/
partnership
/
{address}
/
settings
curl --request POST \
  --url https://backend.swap.coffee/v1/partnership/{address}/settings \
  --header 'Content-Type: application/json' \
  --data '{
  "ref_share": 123,
  "custom_fee": {
    "fixed_fee": "<string>",
    "percentage_fee": 123,
    "min_percentage_fee_fixed": "<string>",
    "max_percentage_fee_fixed": "<string>"
  }
}'
This response has no body data.

Authorizations

X-Api-Key
string
header
required

Path Parameters

address
string
required

Body

application/json
ref_share
number
required
custom_fee
object
required

If present, additional transaction for fees collection will be generated. Because of that, be careful with max_splits to not exceed wallet contract limits