Fees Configurations

Download Spec

All fees configurations related paths.

Create a fee configuration

post /fees/configurations

Creates a fee configuration for a fee collection.

account_id

string

uuid

required

Account unique identifier.

fee_model_id

string

uuid

required

Fee model unique identifier.

Response

ExamplesSchema

OK

{
  "created_at": "2021-07-21T14:10:00.00Z",
  "updated_at": "2021-07-21T14:10:00.00Z",
  "fee_model_id": "1df86975-06f4-484d-935e-46b54bab2f6c",
  "account_id": "7524949b-31fd-497e-ad92-f52de45341d1"
}

Get fee configuration

get /fees/configurations/{account_id}

Retrieve the fee configuration for a specific account.

account_id

string

uuid

required

Account unique identifier.

Response

ExamplesSchema

OK

{
  "created_at": "2021-07-21T14:10:00.00Z",
  "updated_at": "2021-07-21T14:10:00.00Z",
  "account_id": "7524949b-31fd-497e-ad92-f52de45341d1",
  "fee_model_id": "1df86975-06f4-484d-935e-46b54bab2f6c"
}

Update fee configuration

patch /fees/configurations/{account_id}

Update fee configuration

fee_model_id

string

uuid

required

Fee model unique identifier.

Response

ExamplesSchema

OK

{
  "created_at": "2021-07-21T14:10:00.00Z",
  "updated_at": "2021-07-21T14:10:00.00Z",
  "fee_model_id": "1df86975-06f4-484d-935e-46b54bab2f6c",
  "account_id": "7524949b-31fd-497e-ad92-f52de45341d1"
}