POST
/
partner-fees
Create a partner fee
curl --request POST \
  --url https://api-sandbox.lumx.io/partner-fees \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "walletAddress": "0x76b74209f3542d172ca1575b5b18064594360299",
  "name": "Fee 7",
  "isDefault": false,
  "fees": {
    "onRampPercentage": "1",
    "offRampPercentage": "1",
    "onRampFlat": "1",
    "offRampFlat": "1"
  }
}'
{
  "id": "123e4567-e89b-12d3-a456-426614174004",
  "walletAddress": "0x76b74209f3542d172ca1575b5b18064594360299",
  "name": "Fee name",
  "isDefault": false,
  "fees": {
    "onRampPercentage": "1",
    "offRampPercentage": "1",
    "onRampFlat": "1",
    "offRampFlat": "1"
  },
  "createdAt": "2021-01-01T00:00:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header on the format Bearer <API_KEY>.

Body

application/json

Response

201 - application/json

Partner fee successfully created.

The response is of type object.