ZenithPay iconZenithPay
API Reference

POST /approvals/:id/deny

Deny and close a pending payment request

Endpoint

POST https://api.usezenithpay.xyz/approvals/:id/deny

Auth

Bearer API key required.

Request body

{
  "humanSignature": "0x...",
  "timestamp": 1711234567890
}

Signature payload:

{
  "action": "deny",
  "approvalId": "apr_01abc",
  "timestamp": 1711234567890
}

Response shape

{
  "id": "apr_01abc",
  "status": "denied",
  "merchant": "service.xyz",
  "amount": "0.50",
  "deniedAt": "2026-03-24T12:00:00.000Z"
}

On this page