Skip to main content
All API endpoints require authentication via JWT tokens.

Authentication Methods

CreditNexus supports two authentication methods:
  1. Traditional Login: Email and password
  2. Wallet Authentication: MetaMask wallet signature

JWT Tokens

After successful authentication, you receive:
  • Access Token: Short-lived token for API requests
  • Refresh Token: Long-lived token for token renewal

Using Access Tokens

Include the access token in the Authorization header:

Token Refresh

When the access token expires, use the refresh token:

Wallet Authentication

For wallet-based authentication:
The signature is cryptographically verified before authentication.