---
title: "Revoke a PayMongo Wallet link"
method: DELETE
path: "/v1/paymongo_wallet/links/{id}"
tags: ["PayMongo Wallet"]
---

# Revoke a PayMongo Wallet link

`DELETE /v1/paymongo_wallet/links/{id}`

## Request

- Base URL: `https://ewallets-api.paymongo.com`
- URL: `https://ewallets-api.paymongo.com/v1/paymongo_wallet/links/{id}`
- Auth: HTTP basic

Ends a link so no further renewal can debit through it. Revoking a link that is already revoked returns it unchanged. Transactions already taken through the link are not affected.

## Path parameters

- `id` string, required

## Response `200`

Link revoked, or already revoked

- object: Standard response containing data and its metadata if any
  - `data` LinkResponseDTO: The payer wallet a vaulted payment method debits from when the customer is not present. One active link exists per payment method.
    - `agreement_id` string
    - `authorized_at` string
    - `created_at` string
    - `id` string
    - `livemode` boolean
    - `organization_id` string
    - `payer_account_number` string
    - `payer_organization_id` string
    - `payment_method_id` string
    - `revoked_at` string
    - `status` 'active' | 'revoked'
    - `updated_at` string
  - `has_more` boolean

## Other responses

- `400`: Invalid URI parameters or validation errors
- `401`: Missing or invalid credentials
- `404`: Link not found
- `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)
