# Generate Test DPA Data
source: https://developer.mastercard.com/mastercard-checkout-solutions/tutorial/generate_test_dpas/step2/index.md

## Generate Test DPA Data {#generate-test-dpa-data}

To generate sample SRCI DPA ID (also referred to as `srcDpaId`) values for initial testing on Sandbox:

1. Click on the projects tab and open a project.
2. Go to the **DPA Management** tab and click **Generate Data**.
3. In the Generate test data dialog box, select the applicable program.
4. This table lists the actions you should do in the Generate test data dialog box to create test data for each Program Type.

|          Program Type          |                                                                 Action                                                                  |
|--------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
| On Behalf of Merchant Model    | Click the **Generate** button to create test ID values.                                                                                 |
| Click to Pay                   | * Select **Yes** if you want Click to Pay to return token-based credentials in the payload * Select **No** for PAN-based credentials.   |
| Commerce Platform Direct model | Select the name of an available Commerce Platform you want to create the test data for and click **Generate** to create test ID values. |
| On Behalf of Commerce Platform | Select the name of an available Commerce Platform you want to create the test data for and click **Generate** to create test ID values. |

You can follow the same steps to generate a maximum of six SRCI DPA ID Values. You will need to wait for a while (up to 5 minutes) before the test data shows up.

At any point if you choose to delete any test DPA data, you can do it by clicking the delete symbol in the Test DPAs section.

![Delete DPA Data](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/img/delete-test-dpa-data.png "Delete DPA Data")
