Speak to a website designer — call Call 01793 239 239 Our team are here 9am to 4.30pm weekdays Client Connect

How to Create a Production API Key in Revolut Business

How to create a Production API secret key in the Revolut API Console and add it to the Revolut Gateway for WooCommerce plugin so your WordPress site can take live payments.

To take live payments with the Revolut Gateway for WooCommerce plugin, your website needs a Production API secret key from your Revolut Business account. This article shows you how to create one and where to paste it in WordPress. It only takes a few minutes.

The key is created in Revolut’s API Console, a separate dashboard that you sign in to with your normal Revolut Business email. It is not in the Settings menu of the Revolut Business app, which is where many people look first.

Before you start

  • You need a fully verified Revolut Business account with an approved Merchant account. The Merchant account is a sub-account of your Business account that lets you take card and Revolut Pay payments. If you have not applied yet, you can start at business.revolut.com/merchant. Revolut checks each application, so allow time for this before you go live.
  • Your Revolut user needs the Manage API permission. If you cannot create a key, ask the account Owner or an Admin to give you the permission or to create the key for you.
  • You need to be an admin on your WordPress site, with the Revolut Gateway for WooCommerce plugin installed.

Create the Production API key

  1. Go to the Revolut API Console and sign in with your Revolut Business email. You may be asked to confirm it in the Revolut app.
  2. Check the account switcher in the top right corner. Make sure your Production account is selected, not Sandbox. The Sandbox account shows a banner across the top of the page, and keys from it will not take real payments.
  3. Open API keys in the menu and choose New.
  4. Select the Merchant product and set all of its resources to Write where you can. Write includes Read. This is the access the plugin needs to create orders, take payments and handle refunds.
  5. Choose Continue. If Revolut asks you to add signing keys at this step, follow the on-screen instructions, or ask us and we will help.
  6. Give the key a clear name, such as Website payments, so you can recognise it later. You can also set an optional expiry date. If you do, put a reminder in your diary, because the payments stop working the day after the key expires.
  7. Choose Create API key. Revolut may ask you to confirm with extra security, such as a notification in the Revolut app, an email or a selfie.
  8. Copy the Production API secret key straight away. A key created without signing keys is shown only once. If you close the page without copying it, you will need to create a new key.

Add the key to your WordPress plugin

  1. Log in to your WordPress admin area.
  2. Go to Plugins > Installed Plugins, find Revolut Gateway for WooCommerce and choose Settings.
  3. On the General tab, choose Or connect using your production API secret key. A box appears.
  4. Paste your Production API secret key into the box.
  5. Choose Save changes.
  6. Check the Setup Status list on the same tab. Each item, such as Payment Webhook and Merchant Public Key, should show a green indicator. If any item is red, choose Retry next to it.

Make sure Select Mode is set to Live when you are ready to take real payments. Sandbox mode only simulates payments.

Keeping the key safe

  • Treat the secret key like a password. Anyone who has it can use your Merchant account through the API. Do not email it, put it in a chat message or save it in a shared document.
  • Use separate keys for separate environments. Never use a Sandbox key on your live site, and never use a Production key on a test site.
  • If you think the key has been seen by someone who should not have it, go back to the API Console, create a new key, update it in the plugin, and then delete the old key.
  • If you want us to set this up for you, you do not need to share your password or the key. You can add us to your Revolut Business account as a team member instead.

Another way to connect

The plugin can also connect with OAuth, which avoids needing a key. On the General tab, choose Connect your Merchant account, pick your account type and choose Authorise on the Revolut page. If you would rather not handle an API key, this is a good option.

Revolut changes its menus from time to time, so what you see may differ slightly from the steps above. Stuck on anything? Contact us and we will be happy to help.

Was this article helpful?

Our help articles are written for O’Brien Media customers. If you’re a customer and this didn’t answer your question, contact our support team or call 01793 239 239 and we’ll be happy to help. Our support is for O’Brien Media customers only. If you’re not a customer yet, get in touch and we can talk about how we can help.