A dedicated sandbox environment facilitates seamless integration and testing.
Environment
The sandbox environment allows you to simulate real-world scenarios and validate your API interactions without affecting live transactions.
For instructions on setting up the relevant accounts to access the sandbox.
Open Sandbox
Requires Credentials: API URL https://preprod-dvs-api.dtone.com/v1/.
Generate API Key
Go to section Pre-Production API Keys of DT Shop
Simulating Transaction Responses
All transactions in the sandbox are simulated. Modify the last three digits of the credit_party_identifier
(mobile_number
or account_number
) to simulate different responses, as shown in the table below:
Suffix | Transaction Status | Example |
---|---|---|
100 , 200 , 300 | COMPLETED (PIN-less) | +6595123100 |
101 , 201 , 301 | COMPLETED (PIN-based) | +6595123201 |
102 , 202 , 302 | DECLINED-INVALID-CREDIT-PARTY | +6595123102 |
103 , 203 , 303 | DECLINED-BARRED-CREDIT-PARTY | +6595123103 |
104 , 204 , 304 | DECLINED-OPERATOR-CURRENTLY-UNAVAILABLE | +6595123204 |
105 , 205 , 305 | DECLINED-DUPLICATED-TRANSACTION | +6595123105 |
106 , 206 , 306 | DECLINED | +6595123206 |
107 , 207 , 307 | DECLINED-EXCEPTION | +6595123107 |
Simulate Processing Delays
Use different suffixes to simulate processing delays:
10X
: At least 3 seconds.20X
: At least 20 seconds.30X
: At least 5 minutes.
Note about Products without Credit Party Identifiers
Products without a credit_party_identifier
(e.g., Gift Cards) always result in a COMPLETED
status in the sandbox.