Skip to main content

api_operations_buy_operation_create

POST /api/operations/buy-operation/

api_operations_buy_operation_create

Request Body required
  • user_wallet string required

    Possible values: <= 255 characters

  • swap_to string required
  • amount decimal required

    Possible values: Value must match regular expression ^\d{0,6}(?:\.\d{0,2})?$

  • currency object
  • api_version string
  • customer object required
  • email email required

    Possible values: <= 254 characters

  • first_name string required

    Possible values: <= 64 characters

  • last_name string required

    Possible values: <= 64 characters

  • postal_code string required

    Possible values: <= 64 characters

Responses

Schema
  • uuid string required
  • user_wallet string required

    Possible values: <= 255 characters

  • swap_to string required
  • final_price decimal required

    Possible values: Value must match regular expression ^\d{0,18}(?:\.\d{0,2})?$

    Price with discounts applied (the final price paid by the user)

  • final_price_currency string required
  • currency object
  • customer object required
  • email email required

    Possible values: <= 254 characters

  • first_name string required

    Possible values: <= 64 characters

  • last_name string required

    Possible values: <= 64 characters

  • postal_code string required

    Possible values: <= 64 characters

  • created_at date-time required
Loading...