---
title: "Delete a Payment"
method: DELETE
path: "/v1/payments/requests/{requestId}"
tags: ["Payment Requests"]
---

# Delete a Payment

`DELETE /v1/payments/requests/{requestId}`

## Request

- Base URL: `https://sandbox-api.spinwheel.io`
- URL: `https://sandbox-api.spinwheel.io/v1/payments/requests/{requestId}`
- Auth: API key in header `Authorization`

This API will allow you to delete one of the Payment request with a provided requestId if it exists.

## Path parameters

- `requestId` string, required

## Response `200`

- ResponseStatus
  - `code` number
  - `desc` string
  - `messages` Message[]
    - `desc` string, required
    - `type` 'ERROR' | 'WARN' | 'INFO'

## Other responses

- `400`: Bad request response
- `401`: Unauthorized response
- `404`: Not found response
- `500`: Internal server error response

---

[API](https://skmtc.dev/spinwheel/apis/pay.md) - [All operations](https://skmtc.dev/spinwheel/apis/pay/llms.txt) - [OpenAPI document](https://skmtc.dev/spinwheel/apis/pay/revisions/58ba91f8ae13?raw)
