> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update stop payment order

> Use this endpoint to update an existing stop payment order.

PUT/directdeposits/stop-payment/\{token}

Use this endpoint to update an existing stop payment order.

## URL path parameters

| Fields | Description |
| - | - |
| token string  Required | Unique identifier of the stop payment order to be updated. **Allowable Values:**  Existing stop payment order token |

## Request body

| Fields | Description |
| - | - |
| withdrawOrder boolean  Required | Flag indicating whether the stop payment order is withdrawn. **Allowable Values:**  `true`, `false` |

## Sample request body

```json JSON lines wrap theme={null}
{
    "withdrawOrder" : true
}
```

## Response body

| Fields | Description |
| - | - |
| token string  Conditionally returned | Unique identifier for each stop payment order. **Allowable Values:**  36 char max |
| withdrawOrder boolean  Conditionally returned | Flag indicating whether the stop payment order is withdrawn. **Allowable Values:**  `true`, `false` |
| createdTime datetime  Conditionally returned | Date and time when the resource was created. **Allowable Values:**  string **Format:** yyyy-mm-ddThh:mm:ssZ |
| lastModifiedTime datetime  Conditionally returned | Date and time when the resource was last updated. **Allowable Values:**  string **Format:** yyyy-mm-ddThh:mm:ssZ |

## Sample response body

```json JSON lines wrap theme={null}
{
    "token": "00acce2b-cefg-45ab-8417-f8a62326c0d6",
    "withdrawOrder": true,
    "createdTime": "2025-01-31T18:46:46Z",
    "lastModifiedTime": "2025-01-31T18:47:51Z"
}
```


## Related topics

- [Stop Payment Orders Overview](https://www.marqeta.com/docs/core-api/ach-receiving/stop-payment-orders.md)
- [ACH Receiving Overview](https://www.marqeta.com/docs/core-api/ach-receiving.md)
- [Update stop order](https://www.marqeta.com/docs/core-api/subscription-management/update-stop-order.md)
- [Create stop payment order](https://www.marqeta.com/docs/core-api/ach-receiving/stop-payment-orders/create-stop-payment-order.md)
- [Retrieve stop payment order details](https://www.marqeta.com/docs/core-api/ach-receiving/stop-payment-orders/retrieve-stop-payment-order-details.md)
