---
title: "Delete a walletLink by Payment Method ID"
method: DELETE
path: "/v1/paymaya/wallet_links/payment_method/{payment_method_id}"
tags: ["PayMaya"]
---

# Delete a walletLink by Payment Method ID

`DELETE /v1/paymaya/wallet_links/payment_method/{payment_method_id}`

## Request

- Base URL: `https://ewallets-api.paymongo.com`
- URL: `https://ewallets-api.paymongo.com/v1/paymaya/wallet_links/payment_method/{payment_method_id}`
- Auth: HTTP basic

Deletes a walletLink using its associated Payment Method ID

## Path parameters

- `payment_method_id` string, required

## Response `200`

Successfully deleted walletLink

- object: Standard response containing data and its metadata if any
  - `data` DeleteWalletLinkResponseDTO: Response payload containing the details of the deleted walletLink
    - `card_state` string
    - `id` string
    - `payment_method_id` string
  - `has_more` boolean

## Other responses

- `400`: Invalid URI parameters or validation errors
- `401`: Missing or invalid credentials
- `500`: Internal server error

---

[API](https://skmtc.dev/paymongo/apis/ewallets.md) - [All operations](https://skmtc.dev/paymongo/apis/ewallets/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/ewallets/revisions/a445ca65c132?raw)
