Skip to main content
POST
/
v1
/
refunds
Mark a payment as refunded
curl --request POST \
  --url https://api.pay.walletconnect.com/v1/refunds \
  --header 'Api-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'Merchant-Id: <merchant-id>' \
  --data '
{
  "paymentId": "<string>"
}
'
{
  "paymentId": "pay_a1a2ecc101KGF210FP7PN3BK08PZARS1CZ"
}

Documentation Index

Fetch the complete documentation index at: https://docs.walletconnect.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Api-Key
string
header
required

Headers

Merchant-Id
string
required

Merchant identifier.

Example:

"acme-store-1"

WCP-Version
string

Optional WalletConnect Pay API version override. If omitted, the partner's pinned version is used.

Examples:

"2026-02-18"

"2026-02-19.preview"

Body

application/json
paymentId
string
required

Payment ID to refund

Required string length: 1 - 64
Pattern: ^pay_[A-Za-z0-9]+$
Example:

"pay_a1a2ecc101KGF210FP7PN3BK08PZARS1CZ"

Response

Payment marked as refunded

paymentId
string
required

Payment ID that was marked as refunded