Custom Rate Parser
General Information

A custom course parser allows you to automatically update exchange rates using your own data source.

Configuration

To configure the custom course parser, go to the "Application Settings" - "Custom Rate Parser Settings (API)". You can specify a secret key that will be sent in the HTTP header "X-Authorization".

Example Request
curl -X POST 'https://YOUR.HOST' \

    --header 'X-Authorization: SECRET_KEY'
Example Response

Successful response:

{

    "success": true,
    "result": {
        "ETHUSD": [
            1,
            350.4355
        ],
        "MYCUR1MYCUR2": [
            765.4466,
            1
        ]
    }
}

The key is the value of the "Pair" field, as specified in the "Rate Parser" tab on the exchange direction editing page, and the value consists of the currency exchange rate.

Unsuccessful response:

{

    "success": false,
    "result": false
}
We work without days off 10:00 - 20:00 (GMT+3)
© 2018 - 2024 Made with Exchanger CMS