w3g_. Send it as a bearer token:
X-Api-Key: w3g_... works too, if your HTTP client makes the Authorization header awkward.
What a key can do
The payer-side endpoints (reading a link’s checkout, creating an order, reading an order) need no key: anyone with the link or order id can use them, which is what lets the payer pay.
Getting your first key
A Paywire admin creates your gateway in the dashboard; its first key is shown once. After that you can issue more keys yourself with the API.Rotating a key
A gateway can have up to 5 active keys, so you can rotate without downtime:1
Issue a new key
apiKey, shown this once, and its keyId.2
Deploy it
Switch your servers to the new key and check they work.
3
Revoke the old key
401.GET /payments/merchants/me: it lists every key with its id, prefix (the first characters, to recognise it) and revokedAt.