---
title: "Delete payment method"
method: DELETE
path: "/api/v1/payment-method/{paymentMethodId}"
tags: ["Payment Methods"]
---

# Delete payment method

`DELETE /api/v1/payment-method/{paymentMethodId}`

## Request

- Base URL: `https://sandbox.api.afriex.com`
- URL: `https://sandbox.api.afriex.com/api/v1/payment-method/{paymentMethodId}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/afriex/apis/afriex-business-api/docs/api/v1/payment-method/:paymentMethodId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes a payment method from the system.

## Path parameters

- `paymentMethodId` string, required

## Response `200`

Payment method deleted successfully.

- object

## Other responses

- `400`: Request error.
- `401`: Unauthorized.
- `404`: Payment method not found.
- `500`: Server error.
- `503`: Temporarily unavailable: an upstream service failed or timed out, or the API is momentarily offline. Retry with backoff and honour the Retry-After header when present.

---

[API](https://skmtc.dev/afriex/apis/afriex-business-api.md) - [All operations](https://skmtc.dev/afriex/apis/afriex-business-api/llms.txt) - [OpenAPI document](https://skmtc.dev/afriex/apis/afriex-business-api/revisions/d94198b6c256?raw)
