On this page

latest contributor to this doc

Last Edit:

@smk762

Get Lightning Payment Details

API-v2lightning::payments::get_payment_details

Returns details for a specific Lightning Network payment.

ParameterTypeRequiredDescription
coinstringThe ticker of the coin for the payment.
payment_hashstringThe hash of the payment to query.

ParameterTypeDescription
payment_detailsobjectThe payment details object.
idintRequest identifier.

Get Payment Details

POST
lightning::payments::get_payment_details
{
  "method": "lightning::payments::get_payment_details",
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "params": {
    "coin": "tBTC-lightning",
    "payment_hash": "414f9b3524fc4e48c99f2723952732d8bc2eba1b35ce3bf2a70f5144b40f599e"
  },
  "id": 1
}