Sandbox & Test Credentials

The DPO Pay sandbox environment allows you to test your integration without processing real transactions.

All payments created in the sandbox are simulated and no funds are transferred. Use the credentials and endpoints on this page to build and validate your integration before going live.


Sandbox API Endpoint

Use the following base URL for all API requests in the sandbox environment:

https://secure.3gdirectpay.com/API/v6/

Test Merchant Accounts

DPO Pay provides multiple sandbox merchant accounts for testing. Each account is identified by a Company Token and associated Service Type IDs.

You must include both values when creating a payment request.

Test Credentials

Test AccountCompany TokenProduct Service IDService Service ID
Account 1B3F59BE7-0756-420E-BB88-1D98E7A6B0405484185325
Account 2C40E4138-3DF7-4A56-A6D1-375A49407A1C5484286275
Account 38BB9CF9A-6E89-4E78-828F-088D5A0002695484386277
Account 4732CDD7C-34B3-4506-ACF6-B03F94FB44C85484486278
Account 58E0F3AD8-B254-419A-80DF-6D9C280A51305484586280
Account 68D3DA73D-9D7F-4E09-96D4-3D44E7A83EA338545525

Understanding the Fields

Company Token
Unique identifier for a sandbox merchant account. Used to authenticate API requests.

Service Type ID
Identifies the product or service being purchased. You must supply one of these IDs when creating a payment.


Hosted Payment Page

After successfully creating a payment token via the API, redirect the customer to the hosted payment page:

https://secure.3gdirectpay.com/payv3.php?ID={paymentToken}

Replace {paymentToken} with the token returned in the API response.


Test card details

The following test card numbers can be used to simulate successful payments in the sandbox environment.

Supported card schemes

  • Visa

  • Mastercard

  • American Express (Amex)

Cardholder details

Use any valid cardholder name.

Test card details

FieldValue
Cardholder nameAny valid name
Card numbers5436 8862 6984 8367
4012 8888 8888 1881
3456 7890 1234 564
Expiry date"MM/YY" Any Future Date
CVV123

Test behaviour

  • Transactions using these cards will always return a successful payment result

  • Decline scenarios and error handling are not supported in the sandbox environment

  • 3D Secure testing is handled separately on a case-by-case basis


Important Notes

  • Sandbox transactions are not processed by real banks.

  • Do not use production credentials in the sandbox environment.

  • Company Tokens provided here are for testing purposes only.

  • Production credentials will be issued during onboarding.


Next Steps

  1. Choose a sandbox test account from the table above

  2. Use the sandbox API endpoint to create a payment request

  3. Redirect the customer to the hosted payment page

  4. Complete the payment using test card details

  5. Verify the transaction result in your integration