Get your API key

Takes about a minute. You need a NectarPay account with at least one store.

  1. Sign in (or create a free account).
  2. Open Stores and pick the store that should receive payments.
  3. Go to API keys and press Create key. Give it a name, like "Lovable shop".
  4. Copy the key — it starts with sk_live_ and is shown only once. Keep it secret.
  5. Optional: on the same store, open Webhooks, set your URL and copy the webhook secret so your site is told the moment a payment lands.
A key can create invoices and read sales for its one store. It can never move money — payments go straight to your own wallet. Lost or leaked a key? Revoke it on the same page and create a new one.

Test it: curl -H "Authorization: Bearer sk_live_…" https://app.nectar-pay.com/api/public/v1/me