API Reference2026-02-19.previewGateway
POST /v1/gateway/payment/{id}/cancel
POST
header
Api-Key<token>id*stringPayment ID
Api-Key?string|nullApp-Id?string|nullClient-Id?string|nullWCP-Version?string|nullSdk-Name?string|nullSdk-Version?string|nullSdk-Platform?string|nullPayment cancelled successfully
application/json- response
cancelledAt*stringcancelledReason*stringpaymentId*PaymentIdPayment ID
status*PaymentStatusPayment status representing the lifecycle of a payment.
Payments progress through these states from creation to terminal status. Some states are specific to the payment source (pull vs push).
Value in
"requires_action""processing""succeeded""failed""expired""cancelled"curl -X POST 'https://api.pay.walletconnect.com/v1/gateway/payment/pay_7fa2ecc101ARZ3NDEKTSV4RRFFQ69G5FAV/cancel'{ "cancelledAt": "string", "cancelledReason": "string", "paymentId": "pay_7fa2ecc101ARZ3NDEKTSV4RRFFQ69G5FAV", "status": "requires_action"}