Get your API key
Takes about a minute. You need a NectarPay account with at least one store.
- Sign in (or create a free account).
- Open Stores and pick the store that should receive payments.
- Go to API keys and press Create key. Give it a name, like "Lovable shop".
- Copy the key — it starts with
sk_live_ and is shown only once. Keep it secret. - 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