To evaluate the seamless integration of our Direct Debit and Direct Debit Registration services into your applications, the testing process is designed to be simple and straightforward. With Krungthai Sandbox System, you can ensure that the functionality and security features are optimized for the best user experience on your applications.
Corporate Profile
A corporate profile consists of simulated data that is used for conducting system integration testing for both Funds Transfer and Direct Debit services. This simulated data is completely separated from any actual production data.
1. Go to 'Sandbox' > 'Corporate Profile'

2. Click the ‘Add Corporate Profile’ button. Once confirmed, a corporate profile will be added permanently.

Create Your Sandbox Application
1. Go to 'Sandbox' > 'Sandbox Applications'. Then, click the ‘Create Application’ button.

2. Provide the following information
- Application details
- Fill in the application name and description. Then, upload a logo of your application or use the default logo from the system.
- Products
- Select an API for your application.
- If you want to connect your application with more than one API, click '+ Add Product'. You can also change your selection later.
- Whitelist IP Addresses
- Fill in the IP addresses that you will use to access the following API products:
Fund Transfer
- Fund Transfer to Krungthai Account
- Fund Transfer to Other Bank Account
- Fund Transfer to Promptpay
Direct Debit
- Direct Debit Registration
- Direct Debit
- Once all necessary information has been provided, click 'Create' button.
- Your new application will appear on the Sandbox Applications page.

3. When both an application and a corporate profile are successfully added, you will receive API keys that provide access to the Sandbox APIs.
To generate API keys:
- On the Sandbox Application page, select an application to see more details.
- On the 2-legged credential section, click 'Generate Key' button.
- Copy the API keys to a secure location, as you will not be able to access the keys on other pages.
- Once done, click 'Close' button.
- You can now use the generated API keys to integrate your application with Krungthai API products.

Experiment Your Application
Follow these instructions to test Direct Debit and Direct Debit Registration services in the sandbox environment, and ensure your application is efficient, secure, and accurate.
For Direct Debit Registration
- Create your sandbox application to retrieve API keys.
- Integrate your application using the API keys:
- Construct the HTTPS request following the guidelines outlined in the Development Guideline pages.
- Your application is now able to connect to Krungthai Sandbox System. You can start testing with necessary transaction scenarios provided here.
- After making a transaction request, check the response received from the API. Validate the response status, error messages, and any transaction references that are included with the response.
- Once the testing is complete, ensure your application is well-prepared for production deployment before submitting the production application on Krungthai Developer Portal.
For Direct Debit
- Create a corporate profile to retrieve test accounts and mock data for transaction making within the sandbox environment.
- Create your sandbox application to retrieve API keys.
- Integrate your application using the API keys:
- Construct the HTTPS request following the guidelines outlined in the Development Guideline pages.
- Your application is now able to connect to Krungthai Sandbox System. You can start testing with necessary transaction scenarios provided here.
- After making a transaction request, check the response received from the API. Validate the response status, error messages, and any transaction references that are included with the response.
- Once the testing is complete, ensure your application is well-prepared for production deployment before submitting the production application on Krungthai Developer Portal.