Skip to main content

Request

  • Headers: Authorization: YOUR_API_KEY
  • Body (required):
    • Media Type: application/json

Fields:

  • business_id (string, required): The ID of the business to be assigned as a market maker.
  • contacts (array of objects, required): A list of associated contact users.
  • id (string, required): Contact user ID.
  • type (string, required): The type of contact (e.g., user).
  • swap_provider (boolean, required): Indicates if the market maker provides swaps.
  • swap_weight (integer, required): The weight or priority for the swap service (e.g., 0–100).

Responses:

201 Created
  1. Media Type: application/json
  2. Sample Response:
  • 400 Bad Request- Returned if the request contains invalid data.
  • 403 Forbidden- Returned if the user is not authorized to create a market maker.
  • 422 Unprocessable Entity- Returned if required fields are missing or invalid.