Developers · Credentials

WayaQuick — API Key Guide

Your keys

Your integration identifies your account with your Merchant ID and authenticates with your secret key. Both come from your merchant dashboard.

CredentialLooks likeUsed for
Merchant IDMER_...Identifies your account on every request. Shown at the top left corner of your dashboard.
Secret keyWAYASECK_...Authenticates your server. Private — never share it or put it in browser code.
Public key—Used by the WayaQuick checkout page to process every payment method. Safe to expose.
Public key
When you start a payment with the API or an SDK, WayaQuick adds your public key to the checkout link along with the transaction reference, so the checkout page picks it up by itself — you don't send it. Only the WooCommerce plugin asks you to enter it in its settings.

Generate a secret key

SettingsWayaQuick SettingsAPI Keys
  1. Log in to your merchant dashboard at app.wayaquick.com.
  2. Click Settings in the side menu.
  3. Under Settings, click WayaQuick Settings.
  4. You'll see three tabs: Settlement Account, Payment Preferences and API Keys. Click API Keys.
  5. Click Generate new secret key.
  6. Click Copy, then paste the key into your server's environment variables or secret manager.
Keep it secret
Treat your secret key like a password. Store it in environment variables or a secret manager — never in source control, a public web page or a shared document.

Can't see the API Keys tab? Ask the account owner to give your team account access.

Test and live keys

You get a separate key for each mode. The key you generate matches the mode your dashboard is in, which you change with the Test / Live toggle at the top of the dashboard.

ModeKey starts withWhat it does
TestWAYASECK_TEST_Simulated payments. No real money moves.
LiveWAYASECK_PROD_Real payments. Available once your KYC has been approved.

New accounts start in Test mode. Live mode, and with it your live key, is available once your KYC has been approved — see Going live.

The key sets the mode
You don't need a separate test or live setting in your code: a test key runs test payments and a live key runs real ones. To go live, swap the key. Some mobile SDKs also take an environment value — set it to match the key you use.

Regenerating a key

If you lose your secret key or think it has been exposed, generate a new one from the same API Keys tab and update your integration straight away.

Your old key stops working
As soon as you generate a new secret key, the previous one stops working. Any server still using it will fail until you replace it, so update every place that uses the key at the same time.

WayaQuick · API Key Guide · Keep your secret key on your server.