| POST, OPTIONS | /wallets/exchange |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Authorization | header | string | Yes | Authorization token in the form "Bearer your_token_here" |
| NewExchangeWalletInfo | body | ExchangeWalletInfo | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserKeyName | form | string | No | |
| Exchange | form | ExchangeName | No | |
| Settings | form | Dictionary<string, string> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /wallets/exchange HTTP/1.1
Host: partytime.pt
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Authorization":"String","NewExchangeWalletInfo":{"UserKeyName":"String","Exchange":null,"Settings":{"String":"String"}}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length false