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 Account | Company Token | Product Service ID | Service Service ID |
|---|---|---|---|
| Account 1 | B3F59BE7-0756-420E-BB88-1D98E7A6B040 | 54841 | 85325 |
| Account 2 | C40E4138-3DF7-4A56-A6D1-375A49407A1C | 54842 | 86275 |
| Account 3 | 8BB9CF9A-6E89-4E78-828F-088D5A000269 | 54843 | 86277 |
| Account 4 | 732CDD7C-34B3-4506-ACF6-B03F94FB44C8 | 54844 | 86278 |
| Account 5 | 8E0F3AD8-B254-419A-80DF-6D9C280A5130 | 54845 | 86280 |
| Account 6 | 8D3DA73D-9D7F-4E09-96D4-3D44E7A83EA3 | 3854 | 5525 |
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
| Field | Value |
|---|---|
| Cardholder name | Any valid name |
| Card numbers | 5436 8862 6984 8367 4012 8888 8888 1881 3456 7890 1234 564 |
| Expiry date | "MM/YY" Any Future Date |
| CVV | 123 |
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
-
Choose a sandbox test account from the table above
-
Use the sandbox API endpoint to create a payment request
-
Redirect the customer to the hosted payment page
-
Complete the payment using test card details
-
Verify the transaction result in your integration

