---
title: "[Sandbox] Fail payment"
method: POST
path: "/payments/{payment}/simulate/fail"
---

# \[Sandbox\] Fail payment

`POST /payments/{payment}/simulate/fail`

## Request

- Base URL: `https://sandbox.checkhq.com`
- URL: `https://sandbox.checkhq.com/payments/{payment}/simulate/fail`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/checkhq/apis/check-api/docs/payments/:payment/simulate/fail/post.ts> (a function with typed inputs; its response is checked against the schema)

Fail a single payment, which moves from `processing` to `failed`. Use it on an employee or contractor credit to test a failed direct deposit. To test a failed employer debit, use [Sandbox] Fail funding instead. Sandbox-only. The payment must have a `status` of `processing`.

## Path parameters

- `payment` string, required

## Response `200`

200

- object

## Other responses

- `400`: 400
- `404`: 404

## Changes

- **2026-11-03** `5a54f5eb888b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/checkhq/apis/check-api/changes/payments/:payment/simulate/fail/post.md)

---

[API](https://skmtc.dev/checkhq/apis/check-api.md) - [All operations](https://skmtc.dev/checkhq/apis/check-api/llms.txt) - [OpenAPI document](https://skmtc.dev/checkhq/apis/check-api/revisions/5a54f5eb888b?raw)
