sendpay_success -- Notification for successful sendpay completion
DESCRIPTION
The sendpay_success notification informs whenever a payment attempt completes successfully.
NOTIFICATION PAYLOAD
- created_index (u64): 1-based index indicating order this payment was created in. (added v23.11)
- id (u64): Old synonym for created_index.
- payment_hash (hash): The hash of the payment preimage.
- groupid (u64): Grouping key for multiple attempts on the same payment.
- amount_sent_msat (msat): The total amount sent including fees.
- created_at (u64): The UNIX timestamp when this payment was initiated.
- status (string) (always "complete"): The terminal status for a successful sendpay notification.
- updated_index (u64, optional): 1-based index indicating order this payment was updated in. (added v23.11)
- partid (u64, optional): Part number for a multi-part payment.
- destination (pubkey, optional): The final destination of the payment, if known.
- amount_msat (msat, optional): The amount delivered to the destination, if known.
- completed_at (u64, optional): The UNIX timestamp when this payment completed.
- payment_preimage (secret, optional): The payment preimage proving success.
- label (string, optional): The optional label associated with the payment.
- bolt11 (string, optional): The bolt11 invoice string, if present.
- bolt12 (string, optional): The bolt12 invoice or offer string, if present. (added v24.02)
- description (string, optional): The description associated with the payment, if present.
- erroronion (hex, optional): The raw error onion if one was retained for the payment.