Skip to main content
Hellgate Cloud provides a built-in Network Token Sandbox for testing network tokens on Test tier deployments. The Network Token Sandbox serves as the default backend for network token provisioning and enables you to test network token functionality across both Commerce and Guardian products.

Overview

The Hellgate Cloud Network Token Sandbox supports two modes of network token testing:
  • Standard network token testing: Generates network tokens from PAN data and allows you to request cryptograms (payment data) for them
  • Deterministic network tokens: Uses the FPAN (Fundamental PAN) of the underlying card as the TPAN (Token PAN) for transitive testing scenarios
Both modes work seamlessly on Commerce and Guardian, allowing you to test the complete network token lifecycle from provisioning through cryptogram generation and payment authorization.

Standard Network Token Testing

When you provision a network token using PAN data, the Network Token Sandbox:
  1. Accepts the FPAN and associated card data
  2. Generates a network token (TPAN - Token PAN) for the tokenized card, with an expiry of the card’s expiry month plus one and year plus one
  3. Associates the network token with your tokenized card
  4. Enables cryptogram requests for payment authorization
This standard behavior allows you to test the complete network token lifecycle, from provisioning through cryptogram generation and payment authorization.

Deterministic Network Tokens

For advanced testing scenarios involving transitive testing with acquirers and processors, Hellgate Cloud provides deterministic network tokens.
Deterministic TPANs are not active by default. Contact support to activate this feature for your account.

How Deterministic Network Tokens Work

Deterministic network tokens use the FPAN (Fundamental PAN) of the underlying card as the TPAN (Token PAN). This means:
  • The network token (TPAN) will be identical to the original card PAN (FPAN), at provisioning and in every cryptogram response
  • The network token keeps the card’s expiry month and year
  • Cryptograms are not deterministic: each request returns a new random cryptogram (or, for American Express and Discover, a new random dynamic CVV)
  • You can create predictable, reproducible testing scenarios
Because the cryptogram changes on every request, the acquirer or PSP sandbox you test against must not validate it.

When to Use Deterministic Network Tokens

Deterministic network tokens are particularly useful for:
  • Transitive testing: Testing integrations with connected sandboxes (e.g., acquirer or PSP sandboxes)
  • Predictable scenarios: Creating reproducible test cases where the same PAN always generates the same network token
  • Third-party sandbox integration: Enabling access to sandbox behavior on connected third-party environments (e.g., acquirer or PSP test systems)

Benefits

With deterministic network tokens, you can:
  • Provision network tokens whose TPAN and expiry match the underlying card
  • Test end-to-end flows through multiple systems (Hellgate Cloud → Acquirer → Processor)
  • Maintain consistency across test runs
  • Simplify integration testing with external sandbox environments

Testing Workflow

Follow these steps to test network tokens:
1

Provision a network token

Create a network token from PAN data using standard provisioning or deterministic mode (if enabled).For detailed API documentation, refer to:
2

Request a cryptogram

Generate payment data (cryptogram) for the network token. The cryptogram is used during payment authorization as proof of token validation.
3

Authorize a payment

Use the network token and cryptogram for payment authorization with your PSP or acquirer.
4

Verify results

Confirm the expected behavior based on your test scenario and validate that the network token and cryptogram work correctly.

Test Cards

Use the test cards provided in our Test Cards documentation to test network token scenarios. These cards support various network tokenization scenarios including:
  • Successful provisioning
  • Eligibility failures
  • Payment data request failures