diff --git a/doc/lightning-sendonion.7.md b/doc/lightning-sendonion.7.md index 927e779a6..c059afc95 100644 --- a/doc/lightning-sendonion.7.md +++ b/doc/lightning-sendonion.7.md @@ -98,6 +98,7 @@ On success, an object is returned, containing: - **label** (string, optional): the label, if given to sendpay - **bolt11** (string, optional): the bolt11 string (if supplied) - **bolt12** (string, optional): the bolt12 string (if supplied: **experimental-offers** only). +- **partid** (u64, optional): the partid (if supplied) to sendonion/sendpay If **status** is "complete": - **payment_preimage** (hex): the proof of payment: SHA256 of this **payment_hash** (always 64 characters) @@ -127,4 +128,4 @@ RESOURCES Main web site: [bolt04]: https://github.com/lightningnetwork/lightning-rfc/blob/master/04-onion-routing.md -[comment]: # ( SHA256STAMP:d588d85b79f709a57441479504ee8761331c852284ebb8effeab91a557437517) +[comment]: # ( SHA256STAMP:b8fd5d1c31eb2db10b2f32960752ae1c90150ffeb470c5ea635cb1034e8b1438) diff --git a/doc/schemas/sendonion.schema.json b/doc/schemas/sendonion.schema.json index 56474b44e..7368f849a 100644 --- a/doc/schemas/sendonion.schema.json +++ b/doc/schemas/sendonion.schema.json @@ -61,6 +61,10 @@ "bolt12": { "type": "string", "description": "the bolt12 string (if supplied: **experimental-offers** only)." + }, + "partid": { + "type": "u64", + "description": "the partid (if supplied) to sendonion/sendpay" } }, "allOf": [ @@ -94,6 +98,7 @@ "label": {}, "bolt11": {}, "bolt12": {}, + "partid": {}, "payment_preimage": { "type": "hex", "description": "the proof of payment: SHA256 of this **payment_hash**", @@ -131,6 +136,7 @@ "label": {}, "bolt11": {}, "bolt12": {}, + "partid": {}, "message": { "type": "string", "description": "Monitor status with listpays or waitsendpay"