Sandbox

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:

SuffixTransaction StatusExample
100, 200, 300COMPLETED (PIN-less)+6595123100
101, 201, 301COMPLETED (PIN-based)+6595123201
102, 202, 302DECLINED-INVALID-CREDIT-PARTY+6595123102
103, 203, 303DECLINED-BARRED-CREDIT-PARTY+6595123103
104, 204, 304DECLINED-OPERATOR-CURRENTLY-UNAVAILABLE+6595123204
105, 205, 305DECLINED-DUPLICATED-TRANSACTION+6595123105
106, 206, 306DECLINED+6595123206
107, 207, 307DECLINED-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.