mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-12 15:09:07 -05:00
clarify types
This commit is contained in:
parent
7b15e7dfed
commit
45227429ed
6
69.md
6
69.md
|
@ -24,9 +24,9 @@ The static payment code is a bech32 (per [NIP-19](19.md)) encoded string prefixe
|
|||
- `1`: The relay URL where the receiving service subscribes to payment requests.
|
||||
- `2`: The offer identifying string.
|
||||
- `3`: A flag indicating the pricing type:
|
||||
- `0`: Fixed price
|
||||
- `1`: Variable price
|
||||
- `2`: Spontaneous payment (payer specifies the amount)
|
||||
- `0`: Fixed price (Price stated in 4 will not change)
|
||||
- `1`: Variable price (Price must be calculated and will be reflected in the invoice)
|
||||
- `2`: Spontaneous payment (Payer specifies the amount in request payload)
|
||||
- `4`: The price in sats (optional for display purposes).
|
||||
|
||||
If neither the price nor the pricing type flag is present, the sender may assume it is a spontaneous payment offer.
|
||||
|
|
Loading…
Reference in New Issue
Block a user