# Create Exchange

API Type: POST\
Required Parameter: \
&#x20;                      In the header: \
&#x20;                                   `x-api-key`: enter your API key for authentication.\
&#x20;                      In body:\
&#x20;                                  `currency_from`: It is the coin symbol \
&#x20;                                  `currency_to`: It is the coin symbol\
&#x20;                                  `amount_from`: Here you pass the amount that you want to  exchange\
&#x20;                                  `address_to`: Here you enter the address at which you want to get the amount\
&#x20;                                  `refund_address`(string)\
&#x20;                                  `fixed`: true/false  (**true** for *fixed rate* / **false** for *float rate*)

&#x20;                                   `extra_id_to` (string)

&#x20;                                  `user_refund_extra_id` (string)

&#x20; API Link:  <https://secureshift.io/api/v2/create-exchange>\
\
&#x20; API Response

```json
{
    "status": 200,
    "data": {
        "order_id": "67a6f48119557"
    }
}

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.secureshift.io/developement-apis/create-exchange.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
