mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-13 23:39:08 -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.
|
- `1`: The relay URL where the receiving service subscribes to payment requests.
|
||||||
- `2`: The offer identifying string.
|
- `2`: The offer identifying string.
|
||||||
- `3`: A flag indicating the pricing type:
|
- `3`: A flag indicating the pricing type:
|
||||||
- `0`: Fixed price
|
- `0`: Fixed price (Price stated in 4 will not change)
|
||||||
- `1`: Variable price
|
- `1`: Variable price (Price must be calculated and will be reflected in the invoice)
|
||||||
- `2`: Spontaneous payment (payer specifies the amount)
|
- `2`: Spontaneous payment (Payer specifies the amount in request payload)
|
||||||
- `4`: The price in sats (optional for display purposes).
|
- `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.
|
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