Mercury

Contents

Mercury#

The Mercury agent allows you to synchronise your data with the Mercury banking platform via the API.

Configuration#

  1. Retrieve your API key from the Mercury dashboard.

  2. Run the following function to submit your API key to the metacrud agent:

    curl -X POST 'http://localhost:8010/v1/agent/mercury/token' \
    -H 'Content-Type: application/json' \
    -H 'CF-Access-Client-Id: 1234567890' \
    -H 'CF-Access-Client-Secret: 1234567890' \
    -d '{
        "org_id": "exactsystems",
        "token": "secret-token:mercury_production_rma_ZVbTChGDHwFzmudyGnA21BB2Wh9nwFuUMdLXSssRVb7mT_yrucrem"
    }'
    
  3. The Mercury agent should from then on be running continuously to synchronise all Mercury data into the database for that organisation or individual.