Connect Ramp

Create an API app in Ramp and connect it, so you can issue client cards and see their charges in RentDesk.

Advancedabout 15 minutes5 steps

Do these first

You will need

  • A Ramp business account where you are an admin
  • The Advanced plan

This switches on

  • Settings → Ramp cards shows "Ramp connected"
  • Issue card on the client page
  • Ramp charges on the Card charges page

Steps

  1. Create an API app in Ramp

    Sign in to Ramp as an admin and open Settings → Developer apps (app.ramp.com/settings/ramp-developer/apps). Click "Start building" (first app) or "Create new app", and under "Grant types" turn on Client credentials.

    Open support.ramp.com (opens in a new tab)
  2. Allow the scopes RentDesk asks for

    On the app, click "Configure allowed scopes" and allow these scopes. RentDesk asks for exactly these and nothing more:
    funds:read funds:write cards:read cards:write transactions:read embedded_cards:write treasury:read users:read users:write bank_accounts:read

    Tip. RentDesk never asks for permission to read full card numbers. Card numbers are shown only in Ramp's own secure viewer.
  3. Copy the client ID and client secret

    Ramp shows a client ID and a client secret for the app. Keep them somewhere safe. Never send them by email or chat.

  4. Hand the credentials 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 names are RAMP_CLIENT_ID, RAMP_CLIENT_SECRET and RAMP_API_BASE (https://api.ramp.com; empty means Ramp's demo environment).

    Careful. Never paste a secret into Settings, a support message or an email.
  5. Check the status

    Open Settings → Ramp cards. The badge at the top must read "Ramp connected" followed by the environment. If it still says "Not configured", the credentials are not in place yet.

    Where in the appSettings → Ramp cards/settings?section=ramp-cards

Check that it worked

If something goes wrong

The badge says "Not configured — set RAMP_CLIENT_ID / RAMP_CLIENT_SECRET in .env and restart the API".

The credentials are not on the server yet. On a subscriber account, send a request from Help → Support. On the house account, the operator adds them to .env and restarts the API.

An action fails with "scope rejected: ... scopes are not allowed".

The Ramp app is missing a scope from step 2. Add it in Ramp. RentDesk picks up the new scope on the next try, no restart needed.

The house cardholder box says "user list unavailable — enable users:read".

Add the users:read scope to the Ramp app.

Related questions

How do I connect Ramp?

Create an API app in Ramp, then enter its client ID and secret for your account. Next, register the webhook so charges arrive live, and turn on the authenticator lock before issuing cards.

Where are my Ramp, Mercury and Rho keys stored?

In your account's own private configuration, never in its settings table. After you save them, the app only shows whether each one is set; the values are never shown again.

Next step

Register the Ramp webhook (live charges)

Without the webhook, new charges arrive only on the next sync instead of instantly

Continue to the next step

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.