# How to simulate failed/fraud transaction in sandbox

**URL:** <https://developer.squareup.com/forums/t/how-to-simulate-failed-fraud-transaction-in-sandbox/20782>\
**Category:** Questions\
**Tags:** sandbox, webhooks-api\
**Created:** [January 23, 2025, 12:24pm UTC](https://developer.squareup.com/forums/t/how-to-simulate-failed-fraud-transaction-in-sandbox/20782 "2025-01-23T12:24:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nithin](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@Nithin](https://developer.squareup.com/forums/u/Nithin)\
**Post date:** [January 23, 2025, 12:24pm UTC](https://developer.squareup.com/forums/t/how-to-simulate-failed-fraud-transaction-in-sandbox/20782/1 "2025-01-23T12:24:00Z")

</div>

I want to simulate fraud transactions or any type of failed transactions, I found few test cards to test failed transactions but in sandbox there is no option to enter the card details to test failed transactions, is there any way to test that.

---

<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:** [January 23, 2025, 12:24pm UTC](https://developer.squareup.com/forums/t/how-to-simulate-failed-fraud-transaction-in-sandbox/20782/2 "2025-01-23T12:24:34Z")

</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 in the Sandbox](https://developer.squareup.com/docs/devtools/sandbox/testing)**
>
> A quick reference for walkthroughs for various Square APIs that use the Sandbox for testing.

> **[Sandbox Payments](https://developer.squareup.com/docs/devtools/sandbox/payments)**
>
> A quick reference of test credit card numbers and payment tokens you can use to make test payments with the Square Sandbox.

> **Additional Documentation**
>
> [Square Sandbox](https://developer.squareup.com/docs/devtools/sandbox/overview)  
> [Verify the Payment](https://developer.squareup.com/docs/get-started/verify-transaction-in-seller-dashboard)  
> [Take a Credit Card Payment](https://developer.squareup.com/docs/reader-sdk/quick-start/step-5)

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:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [January 23, 2025, 5:16pm UTC](https://developer.squareup.com/forums/t/how-to-simulate-failed-fraud-transaction-in-sandbox/20782/3 "2025-01-23T17:16:37Z")

</div>

You can use the [Disputes API test amounts](https://developer.squareup.com/docs/devtools/sandbox/testing#disputes-api) to simulate disputed/fraudulent payments in sandbox. 🙂
