Connect Mercury

Connect your Mercury bank so you can see balances and statements, issue Mercury cards and send ACH payments from RentDesk.

Advancedabout 15 minutes4 steps

Do these first

You will need

  • A Mercury account where you can create API tokens
  • The Advanced plan

This switches on

  • The "Mercury bank (moves money)" block shows "connected"
  • Send ACH and Issue Mercury card on the client page
  • Mercury charges on the Card charges page

Steps

  1. Create an API token in Mercury

    In Mercury click your organization (top left), then All Settings, then Tokens, then "Create an API Token". A Read Only token is enough to see balances. To send money from RentDesk choose a Custom token with the request-send-money permission plus read access to accounts, recipients and transactions. Issuing Mercury cards and editing recipients need a Read and Write token. Scopes cannot be changed after the token is created: to add one, create a new token.

    Open docs.mercury.com (opens in a new tab)
  2. Add the IP address to the token

    Mercury requires an IP allow-list on Read and Write tokens (and on custom scopes that need write access); request-send-money alone works without one. If your token needs it, add the public IP address of the server that runs your account. See "Mercury IP allow-list" for how to find it.

    Open docs.mercury.com (opens in a new tab)
  3. Hand the token to RentDesk

    On a RentDesk subscriber account you do not type this key into the app. RentDesk stores it for your account only. Create the key at the provider, then send a request from Help → Support saying it is ready. Do not put the key in the message: RentDesk will contact you and arrange a safe way to hand it over.
    On the house account the server operator puts the value in the server .env file and restarts the API. The name is MERCURY_API_TOKEN.

  4. Check the status

    Settings → Ramp cards → "Mercury bank (moves money)" now shows "connected" and the number of accounts.

    Where in the appSettings → Ramp cards → Mercury bank (moves money)/settings?section=ramp-cards

Check that it worked

If something goes wrong

The badge says "set MERCURY_API_TOKEN in .env".

The token is not on the server yet. Subscriber: send a request from Help → Support. House: the operator adds it to .env and restarts. Mercury also deletes tokens that go unused for 45 days; if an old token stopped working, create a new one.

Calls fail and the answer mentions the IP is not whitelisted.

The server's IP is not on the token. See Mercury IP allow-list.

Related questions

How do I connect Mercury?

Create an API token in Mercury, enter it for your account, and add the server's IP address to Mercury's allow-list. Then register the Mercury webhook.

Next step

Mercury IP allow-list

Write tokens fail until the IP is listed

Continue to the next step
Also after thisMercury: choose the Ramp recipient and the card ownerThen pick the Ramp recipient and the card owner

Was this helpful?

If a step did not match what you see in the app, tell us which one and we will fix the guide or help you finish.