Uh oh!
There was an error while loading. Please reload this page.
docs(standard-payments): remove AI warning, restructure content with step-by-step flow, and update API references - #62
Conversation
api-features/standard-payments.mdx from AI-generated placeholder content into a clearer, endpoint-driven page aligned with current API behavior. - removed AI warning banner anGreptile SummaryThis PR rewrites the standard payments documentation page, removing the AI-generated content warning and providing clearer, more structured guidance on same-currency crypto payments with a new step-by-step "How It Works" section and updated API references.
Confidence Score: 5/5Documentation-only change with no runtime impact; all internal links resolve to existing pages. The change is purely additive documentation restructuring. All four internal links resolve to existing files in the repository, the external OpenAPI links follow the same anchor scheme used elsewhere in the docs, and no code is modified. No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant Dev as Developer
participant API as Request Network API
participant Chain as Blockchain
Note over Dev,Chain: Request-first flow
Dev->>API: "POST /v2/request (invoiceCurrency == paymentCurrency)"
API-->>Dev: requestId
Dev->>API: "GET /v2/request/{requestId}/pay"
API-->>Dev: calldata (+ approval calldata if ERC20)
alt ERC20 payment requiring approval
Dev->>Chain: Execute approval transaction
Chain-->>Dev: approval confirmed
end
Dev->>Chain: Execute payment transaction
Chain-->>Dev: payment confirmed
Note over Dev,Chain: Payment-first flow
Dev->>API: "POST /v2/payouts (invoiceCurrency == paymentCurrency)"
API-->>Dev: payout initiated
Reviews (2): Last reviewed commit: "docs(api-features): rewrite standard-pay..." | Re-trigger Greptile |
Merge activity
|
Refactor `api-features/standard-payments.mdx` from AI-generated placeholder
content into a clearer, endpoint-driven page aligned with current API behavior.
- removed AI warning banner and unsupported assumptions
- clarified standard payments as same-currency flows where
`invoiceCurrency` and `paymentCurrency` match
- split behavior between Native and ERC20 payments with accurate
execution characteristics (approval vs no-approval paths)
- added practical “How It Works” steps with direct endpoint references:
- POST /v2/request
- POST /v2/payouts
- GET /v2/request/{requestId}/pay
- replaced vague token/network claims (e.g. “500+ tokens”) with
references to authoritative supported-currency resources
- removed hidden/unsupported use-case links (`payouts`, `payroll`)
and kept active links (`invoicing`, `checkout`)
- updated technical reference to canonical OpenAPI docs:
https://api.request.network/open-apiad72ad5 to
4e4d0f8CompareUh oh!
There was an error while loading. Please reload this page.

TL;DR
Rewrote the standard payments documentation to remove AI-generated content warning and provide clearer, more structured guidance on same-currency crypto payments.
What changed?
invoiceCurrencyandpaymentCurrencymatchHow to test?
Why make this change?
The previous version contained an AI-generated content warning and lacked clear implementation guidance. This revision provides developers with more precise definitions, clearer implementation steps, and removes uncertainty about content accuracy while maintaining technical accuracy.