LIGHTNING-NOTIFI...PAY_PAY_PART_END(7)
β¨ LIGHTNING-NOTIFI...PAY_PAY_PART_END(7) β¨
okay so bestie, the manual page we're reading is literally called LIGHTNING-NOTIFI...PAY_PAY_PART_END(7) (yes the name is a whole vibe, it's truncated, we love that for it) and it's all about one very specific notification π
πΈ NAME πΈ
pay_part_end β the notification that slides into your DMs when an xpay part finishes π
π¦ DESCRIPTION π¦
okay so first thing: this notification was added in v25.09. note that, fr fr, because if you're on an older version and you're sitting there waiting for it like π it is simply not coming π
The pay_part_end notification gets emitted by the xpay plugin when a payment part completes. that's it, that's the whole thing β one part finishes, the notification shows up, main character energy π
π NOTIFICATION PAYLOAD π
here's everything that comes in the payload, no cap, all the fields π«Ά
status(string) (one of"success","failure") β whether this payment part succeeded or failed. two options, that's it, pick your fighter πduration(number) β the time in seconds from send to result. the clock starts when it's sent and stops at the result β±οΈpayment_hash(hash) β the payment hash for thexpayinvocation πgroupid(u64) β thexpaygroup identifier for the payment attempt π·οΈpartid(u64) β the identifier for this specific payment part. hi little part, we see you πfailed_msg(hex, optional) β the decrypted onion error message, if it's available π§failed_node_id(pubkey, optional) β the node that generated the failure, if that's known π€failed_short_channel_id(short_channel_id, optional) β the short channel id that got complained about, if known πfailed_direction(u32, optional) β the direction within the failed short channel id, if known β‘οΈerror_code(u32, optional) β thexpayerror code, if known π’error_message(string, optional) β the human-readablexpayerror message π
quick vibe check bestie: see all those (optional) tags? they're optional. so don't come for the payload when a field isn't there β it was literally allowed to ghost you π
and that's the page!! every field accounted for, nothing skipped, we ate and left no crumbs π β¨
signing off with the source + version tea: this beauty is from Core Lightning v26.06.9 π§π
π¦ where this page comes from
- nixpkgs unstable: clightning 26.06.9
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms