# Manually Create A Dispute in Sandbox

**URL:** <https://developer.squareup.com/forums/t/manually-create-a-dispute-in-sandbox/19497>\
**Category:** Questions\
**Tags:** disputes-api\
**Created:** [November 8, 2024, 10:01pm UTC](https://developer.squareup.com/forums/t/manually-create-a-dispute-in-sandbox/19497 "2024-11-08T22:01:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shayne](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@shayne](https://developer.squareup.com/forums/u/shayne)\
**Post date:** [November 8, 2024, 10:01pm UTC](https://developer.squareup.com/forums/t/manually-create-a-dispute-in-sandbox/19497/1 "2024-11-08T22:01:07Z")

</div>

Is it possible to manually create a dispute against a transaction in the sandbox env (either in the dashboard or programatically). Just for testing purposes.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [November 8, 2024, 10:01pm UTC](https://developer.squareup.com/forums/t/manually-create-a-dispute-in-sandbox/19497/2 "2024-11-08T22:01:21Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Test the Disputes API](https://developer.squareup.com/docs/disputes-api/sandbox-testing)**
>
> Learn how to test the Disputes API in the Square Sandbox.

> **[Disputes API](https://developer.squareup.com/docs/disputes-api/overview)**
>
> An introduction to processing disputes using the Square Disputes API.

> **Additional Documentation**
>
> [Verify the Payment](https://developer.squareup.com/docs/get-started/verify-transaction-in-seller-dashboard)  
> [Process Disputes](https://developer.squareup.com/docs/disputes-api/process-disputes)  
> [Square Sandbox](https://developer.squareup.com/docs/devtools/sandbox/overview)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [November 8, 2024, 10:03pm UTC](https://developer.squareup.com/forums/t/manually-create-a-dispute-in-sandbox/19497/3 "2024-11-08T22:03:47Z")

</div>

Yes, you can manually create a dispute in the Square Sandbox for testing purposes. To trigger a test dispute, you need to send a CreatePayment request with specific charge amounts. The Sandbox then creates a Dispute object whose reason corresponds to the charge amount set. For example, a charge amount of 8803 would create a dispute with the reason of DUPLICATE. You can then manage these disputes using the Disputes API. Please note that these test disputes are not visible in the Developer Dashboard or Seller Dashboard, they can only be accessed and managed through the Disputes API.

_This answer was reviewed by @Lance-Square._
