Category: Documentation - API Reference
Priority: Medium
Estimated Time: 1 hour
Description:
The sep7_uri field in PaymentRequestView (built in src/api/payment_requests.rs) is the SEP-0007 web+stellar:pay URI — the exact payload a frontend encodes into a QR code. This field is the core of the QR payment flow, yet API.md may not explain:
- The exact URI format:
web+stellar:pay?destination=...&amount=...&memo=...&memo_type=MEMO_TEXT
- That
sep7_uri is null for non-XLM assets (cNGN) with an explanation of why
- That the amount in the URI is in XLM decimal notation (not stroops)
- Which SEP-0007 fields are included and which optional ones are omitted
Tasks:
- Add a dedicated section in
API.md explaining the sep7_uri field with a concrete example
- Document the null case for non-XLM assets
- Add a note about QR code generation
- Update
openapi.yaml to document the nullable field with an example
- Cross-reference the SEP-0007 spec
Category: Documentation - API Reference
Priority: Medium
Estimated Time: 1 hour
Description:
The
sep7_urifield inPaymentRequestView(built insrc/api/payment_requests.rs) is the SEP-0007web+stellar:payURI — the exact payload a frontend encodes into a QR code. This field is the core of the QR payment flow, yetAPI.mdmay not explain:web+stellar:pay?destination=...&amount=...&memo=...&memo_type=MEMO_TEXTsep7_uriisnullfor non-XLM assets (cNGN) with an explanation of whyTasks:
API.mdexplaining thesep7_urifield with a concrete exampleopenapi.yamlto document the nullable field with an example