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

# Get a walletLink by Payment Method ID

`GET /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

Retrieves a walletLink using its associated Payment Method ID

## Path parameters

- `payment_method_id` string, required

## Response `200`

Successfully retrieved walletLink

- object: Standard response containing data and its metadata if any
  - `data` GetWalletLinkByPaymentMethodIDResponseDTO: Response payload containing the details of the retrieved 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)
