Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DelpayRequest

The delpay RPC command deletes a payment with the given payment_hash if its status is either complete or failed. Deleting a pending payment is an error.

  • payment_hash: The unique identifier of a payment.
  • status: Expected status of the payment. Only deletes if the payment status matches.

EXAMPLE JSON REQUEST

{
"id": 82,
"method": "delpay",
"params": {
"payment_hash": "4fa2f1b001067ec06d7f95b8695b8acd9ef04c1b4d1110e3b94e1fa0687bb1e0",
"status": "complete"
}
}

Hierarchy

  • DelpayRequest

Index

Properties

payment_hash: string
status: "failed" | "complete"

Generated using TypeDoc