---
title: "Execute a walletLink by ID"
method: POST
path: "/v1/paymaya/wallet_links/{id}/execute"
tags: ["PayMaya"]
---

# Execute a walletLink by ID

`POST /v1/paymaya/wallet_links/{id}/execute`

## Request

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

Executes a walletLink to process a payment

## Path parameters

- `id` string, required

## Request body

- ExecuteWalletLinkRequestDTO: Request payload for executing a wallet link with payment details
  - `amount` integer
  - `currency` string
  - `organization_id` string
  - `request_reference_number` string

## Response `200`

Successfully executed walletLink

- object: Standard response containing data and its metadata if any
  - `data` ExecuteWalletLinkResponseDTO: Response payload containing the result of the wallet link execution
    - `id` string
    - `is_paid` boolean
    - `payment_id` string
    - `status` string
  - `has_more` boolean

## Other responses

- `400`: Invalid URI or JSON parameters or validation errors
- `401`: Missing or invalid credentials
- `422`: merchant_not_configured: the merchant has no live-mode configuration for this wallet
- `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)
