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 17A9BC2CD-DE9F-4ABA-91F4-B22BC932C4175484185325
Account 2DE0E5D26-BB5B-4442-8A3F-93336311962254842

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