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
Copy file name to clipboardexpand all lines: v2/specification.md
+11-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# JSON Payment Protocol Specification V2
2
2
3
-
Revision 0.7
3
+
Revision 0.1
4
4
5
5
## Application Logic
6
6
@@ -10,6 +10,7 @@ Revision 0.7
10
10
4. (Server) Verifies invoice exists and is still accepting payments, responds with payment request
11
11
5. (Client) Validates payment request hash
12
12
6. (Client) Validates payment request signature
13
+
7. (Client) Selects a currency from the list of payment options
13
14
7. (Client) Generates a payment to match conditions on payment request
14
15
8. (Client) Submits proposed unsigned transaction and size of signed transaction to server
15
16
9. (Server) Validates invoice exists and is still accepting payments
@@ -58,7 +59,16 @@ Each payment option includes
58
59
*`instructions` - An array of instructions for this currency
59
60
*`tokenInformation` - An optional object that includes currency specific information. If this isn't present, then we're using the chain's native currency
0 commit comments