You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`fetchinvoice` variant, for setting invreq_recurrence_cancel instead.
Signed-off-by: Rusty Russell <[email protected]>
Changelog-EXPERIMENTAL: `cancelrecurringinvoice` command to send new "don't expect any more invoice requests" msg to recurring bolt12 invoices.
"title": "Command for sending a cancel message for a recurring offer",
7
+
"description": [
8
+
"NOTE: Recurring offers are experimental, and may be changed in backwards-incompable ways.",
9
+
"",
10
+
"The **cancelrecurringinvoice** RPC command sends a cancellation message in place of an invoice_request. The BOLT 12 specification suggests sending this as a courtesy in place of the next invoice_request (as would be sent by fetchinvoice)."
11
+
],
12
+
"request": {
13
+
"required": [
14
+
"offer",
15
+
"recurrence_counter",
16
+
"recurrence_label"
17
+
],
18
+
"additionalProperties": false,
19
+
"properties": {
20
+
"offer": {
21
+
"type": "string",
22
+
"description": [
23
+
"Offer string (must be recurring) which we have been paying."
24
+
]
25
+
},
26
+
"recurrence_counter": {
27
+
"type": "u64",
28
+
"description": [
29
+
"One later than the last-specified recurrence_counter for the last invoice."
30
+
]
31
+
},
32
+
"recurrence_label": {
33
+
"type": "string",
34
+
"description": [
35
+
"This must be the same as prior fetchinvoice calls for the same recurrence, as it is used to link them together."
36
+
]
37
+
},
38
+
"recurrence_start": {
39
+
"type": "number",
40
+
"description": [
41
+
"Indicates what period number to start at (usually 0). This will be the same as previous fetchinvoice calls."
42
+
]
43
+
},
44
+
"payer_note": {
45
+
"type": "string",
46
+
"description": [
47
+
"To tell the issuer the reason for the cancellation."
48
+
]
49
+
},
50
+
"bip353": {
51
+
"type": "string",
52
+
"description": [
53
+
"BIP353 string (optionally with ₿) indicating where we fetched the offer from"
0 commit comments