Back to the guide

Nexwa API: keys and authentication

Connect your application to the public v2 API.

Last updated:

How it works, step by step

  1. Send POST requests to https://nexwa.store/api/v2 using application/x-www-form-urlencoded or application/json.
  2. In Wallet and API, open API keys, optionally enter a label and generate a key. Copy it immediately: the full secret is shown only once. Up to 5 active keys are allowed.
  3. Authenticate with Authorization: Bearer, X-Api-Key or body parameter key. Never place keys in URLs or public frontend code; integrate server-side.
  4. Verify your email and fund the wallet before ordering. Accepted add requests debit credit. Revoke compromised keys in your account and update integrations.

Important

Examples use environment variables, not real credentials. Running add with valid data and balance makes a real purchase.

API examples

services

curl --request POST https://nexwa.store/api/v2 \
  --header "Authorization: Bearer ${NEXWA_API_KEY}" \
  --data-urlencode "action=services"

balance

curl --request POST https://nexwa.store/api/v2 \
  --header "Authorization: Bearer ${NEXWA_API_KEY}" \
  --data-urlencode "action=balance"

Open the feature

Related articles

Still need a hand?

Open account support for a specific request. If you cannot sign in, email us.