Skip to content

docs(partial-payments): rewrite with step-by-step implementation guide and clarify API usage#63

Open
aimensahnoun wants to merge 1 commit into03-02-docs_api-features_rewrite_standard-payments_with_verified_api_flow_refactor_api-features_standard-payments.mdx_from_ai-generated_placeholder_content_into_a_clearer_endpoint-driven_page_aligned_with_current_api_behavior._-_removefrom
03-02-docs_api-features_rewrite_partial-payments_with_endpoint-driven_guidance_refactor_api-features_partial-payments.mdx_from_ai-generated_placeholder_content_into_accurate_implementation-oriented_documentation_aligned_with_current_r
Open

docs(partial-payments): rewrite with step-by-step implementation guide and clarify API usage#63
aimensahnoun wants to merge 1 commit into03-02-docs_api-features_rewrite_standard-payments_with_verified_api_flow_refactor_api-features_standard-payments.mdx_from_ai-generated_placeholder_content_into_a_clearer_endpoint-driven_page_aligned_with_current_api_behavior._-_removefrom
03-02-docs_api-features_rewrite_partial-payments_with_endpoint-driven_guidance_refactor_api-features_partial-payments.mdx_from_ai-generated_placeholder_content_into_accurate_implementation-oriented_documentation_aligned_with_current_r

Conversation

@aimensahnoun
Copy link
Member

@aimensahnoun aimensahnoun commented Mar 2, 2026

TL;DR

Rewrote the partial payments documentation to be more concise and actionable, replacing AI-generated content with clear implementation steps.

What changed?

  • Removed AI-generated content warning and disclaimer
  • Replaced mermaid diagram with step-by-step implementation guide using API endpoints
  • Simplified the overview and benefits section into clearer, more direct language
  • Added specific API endpoint references with query parameter details
  • Streamlined supported payment types section to focus on practical usage
  • Reduced use cases from 3 to 2 cards, removing subscriptions
  • Updated API reference section to point to OpenAPI documentation

How to test?

Review the documentation for clarity and follow the step-by-step guide to ensure the API endpoints and parameters are correctly referenced. Verify that the linked API documentation matches the described functionality.

Why make this change?

The previous content was AI-generated and contained unnecessary complexity. This revision provides developers with a clear, actionable guide for implementing partial payments with specific API calls and parameters, making the documentation more practical and user-friendly.

…dance

Refactor `api-features/partial-payments.mdx` from AI-generated placeholder
content into accurate, implementation-oriented documentation aligned with
current Request API behavior.
- removed AI warning banner and generic placeholder descriptions
- replaced abstract flow with concrete step-based implementation using:
  - POST /v2/request
  - GET /v2/request/{requestId}/pay (with `amount` query for partial settlement)
  - GET /v2/request/{requestId} for status and breakdown tracking
- clarified partial payment behavior as incremental settlement on the same request
- added guidance on progress/status visibility and conversion breakdown handling
- removed hidden/unsupported use-case references (e.g. subscriptions)
- kept use-case links only to active pages (invoicing, checkout)
- replaced old internal API reference pattern with canonical OpenAPI link:
  https://api.request.network/open-api
Copy link
Member Author

aimensahnoun commented Mar 2, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@aimensahnoun aimensahnoun changed the title docs(api-features): rewrite partial-payments with endpoint-driven guidance Refactor api-features/partial-payments.mdx from AI-generated placeholder content into accurate, implementation-oriented documentation aligned with current Request API behavior. - docs(partial-payments): rewrite with step-by-step implementation guide and clarify API usage Mar 2, 2026
@aimensahnoun aimensahnoun self-assigned this Mar 2, 2026
@aimensahnoun aimensahnoun marked this pull request as ready for review March 2, 2026 12:09
@greptile-apps
Copy link

greptile-apps bot commented Mar 2, 2026

Greptile Summary

This PR successfully rewrites the partial payments documentation, replacing AI-generated content with clear, actionable implementation guidance. The changes follow established documentation patterns from recently updated payment-type pages (standard-payments.mdx, conversion-payments.mdx) and adhere to Mintlify technical writing guidelines.

Key improvements:

  • Removed AI-generated content warning banner
  • Replaced mermaid diagram with structured <Steps> component providing endpoint-driven implementation flow
  • Simplified overview and benefits into concise "Key Behavior" section
  • Added specific API endpoint references with clear parameter descriptions (amount query parameter for partial settlement)
  • Streamlined supported payment types by removing batch payments (which uses different workflow via /v2/payouts/batch)
  • Reduced use cases from 3 to 2 cards by removing subscriptions reference
  • Updated API reference to canonical OpenAPI documentation

The documentation is well-structured, uses appropriate Mintlify components, follows active voice and second-person perspective, and maintains consistency with other API feature pages. The writing is clear, concise, and focused on practical implementation steps.

Confidence Score: 5/5

  • This PR is safe to merge with no risk - it's a documentation-only change that improves clarity and removes AI-generated content
  • Perfect confidence score because this is a documentation-only PR that improves content quality, follows established patterns, maintains consistency with recently updated files, and adheres to technical writing guidelines. No code changes, no breaking changes, and the content is factually consistent with cross-references throughout the codebase.
  • No files require special attention

Important Files Changed

Filename Overview
api-features/partial-payments.mdx Improved documentation clarity by replacing AI-generated content with step-by-step implementation guide using proper Mintlify components

Last reviewed commit: bd5f8c5

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs - Make the Beta Docs good enough to link from the website instead of Legacy Docs

1 participant