Skip to main content
NexaPay B2B API home page
NexaPay B2B API
Search...
⌘K
Ask AI
Search...
Navigation
Docs
Getting Started
Introduction
Authentication
Errors
Security
Merchant APIs
Business registration
Merchant profile
Payments
Virtual accounts
Withdrawals
Transactions
On this page
Authentication
JWT (Dashboard / Human login)
API Key (Server‑to‑Server)
Getting Started
Authentication
Authentication
The API supports two auth models:
JWT (Dashboard / Human login)
Use JWTs for profile, bank verification, transactions, and other dashboard actions.
Header
Copy
Ask AI
Authorization: Bearer <token>
API Key (Server‑to‑Server)
Use API keys for payment processing, virtual account creation, and withdrawals.
Header
Copy
Ask AI
x-api-key: nexa-prod-... or nexa-test-...
Introduction
Errors
⌘I
Assistant
Responses are generated using AI and may contain mistakes.