Newgen Sandbox API

Test environment for Newgen API - all operations are simulated and do not affect real data

auth

POST /sandbox/auth/register

Register sandbox user

POST /sandbox/auth/login

Login (auto-creates user if not exists)

cards

GET /sandbox/cards

List cards

POST /sandbox/cards

Create virtual card

payments

POST /sandbox/payments

Process payment

transactions

GET /sandbox/transactions

List transactions

dashboard

GET /sandbox/dashboard/stats

Get statistics

webhooks

GET /sandbox/webhooks

List webhooks

POST /sandbox/webhooks

Create webhook

keys

GET /sandbox/keys

List API keys

POST /sandbox/keys

Create API key

Notes

  • Sandbox accepts any Bearer token (just needs to be 20+ chars or start with "sandbox_")
  • Sandbox auto-approves KYC for all users
  • Sandbox accepts any password
  • Webhooks logs to console instead of sending HTTP requests