ExchangePairGetBody:
  description: The parameters to use for retrieving a specific exchange pair by its id
  required: true
  content:
    application/vnd.omisego.v1+json:
      schema:
        properties:
          id:
            type: string
        required:
          - id
        example:
          id: exg_01cgvppyrz2pprj6s0zmc26p2p
ExchangePairCreateBody:
    description: The parameters to create an exchange pair.
    required: true
    content:
      application/vnd.omisego.v1+json:
        schema:
          properties:
            from_token_id:
              type: string
            to_token_id:
              type: string
            rate:
              oneOf:
                - type: string
                - type: number
            sync_opposite:
              type: boolean
            default_exchange_wallet_address:
              type: string
            allow_end_user_exchanges:
              type: boolean
          required:
            - from_token_id
            - to_token_id
            - rate
          example:
            from_token_id: tok_ETH_01cbfge9qhmsdbjyb7a8e8pxt3
            to_token_id: tok_OMG_01cgvrqbfpa23ehkmrtqpbsyyp
            rate: 0.017
            sync_opposite: false
ExchangePairUpdateBody:
    description: The parameters to update an exchange pair.
    required: true
    content:
      application/vnd.omisego.v1+json:
        schema:
          properties:
            id:
              type: string
            rate:
              oneOf:
                - type: string
                - type: number
            default_exchange_wallet_address:
              type: string
            allow_end_user_exchanges:
              type: boolean
          required:
            - id
          example:
            id: exg_01cgvppyrz2pprj6s0zmc26p2p
            rate: 0.099
ExchangePairDeleteBody:
    description: The parameters to delete an exchange pair.
    required: true
    content:
      application/vnd.omisego.v1+json:
        schema:
          properties:
            id:
              type: string
          required:
            - id
          example:
            id: exg_01cgvppyrz2pprj6s0zmc26p2p
