POST exchange-office/update

Updates a Exchange Office owned by the currently authenticated exchange office. Requires a JSON POST body and Content-Type header to be set to application/json. Setting Content-Length may also be required if it is not automatically.

URL

https://unicash.io/api/exchange-office/update

Parameters

access-token (string) (required) (header param) Access token for exchange office authentication.
name (string) (optional) Name of the Echange Office.
website (string) (optional) Website of the Exchange Office.
reference_link (string) (optional) Reference link of the Exchange Office.
reserves (int) (optional) Reserves in USD of the Exchange Office.

Example request

{
    "name": "ADCash s. r. o.",
    "website": "http://adcash.io",
    "reference_link": "http://adcash.io",
    "reserves": 456687
}

Example success response

{
    "status": 200,
    "data": {
        "name": "ADCash s. r. o.",
        "website": "http://adcash.io",
        "reference_link": "http://adcash.io",
        "reserves": 456687
    }
}

Example error response

{
    "status": 400,
    "error": "This is an error message."
}