docs(sdk/payout-service): add per-operation docs for java, node, pyth… - #2102
docs(sdk/payout-service): add per-operation docs for java, node, pyth…#2102manojradhakrishnan wants to merge 5 commits into
Conversation
|
Hi @manojradhakrishnan I took a review of this PR, and had a question...
Eight-row operations tables:
Since March, api-reference README has had 8 rows ... I'm not sure if it was checked against the proto, which has 9... |
|
I also wanted to ask about the php client.. I'm having trouble understanding something. I can't find the php client... sdk/ has java, javascript, python and rust and I couldn't find a composer.json...... but the php docs say composer require hyperswitch/prism. I don't see that php has any entries in SUMMARY.md .... if you hit control +f, you see that PHP is not listed. @manojradhakrishnan is this intentional? If you can help me better understand.... thank you! |
|
Another thing I noticed is that some request fields have fewer rows than what is described in the proto file. In the description, the CREATE shape is here in the payouts.proto file: hyperswitch-prism/crates/types-traits/grpc-api-types/proto/payouts.proto Lines 250 to 283 in d5c7541 ... if you look at line 282, you see there's a description field. The Request Fields, the 4th section in create.md file, it is missing the There is a discrepancy in what is in the proto file and what's in the create.md file. Now, what's interesting is in the rules file: hyperswitch-prism/docs/rules/rules.md Lines 289 to 303 in d5c7541 it says the rules are: Rules:
There are a few files that are missing different fields too.. I commented directly on the PR with the respective proto file to show the missing fields. Let me know how we should move forward with this.... I think what's in the proto file and what's in the .md file should line up... @manojradhakrishnan please let me know if this is what was intended, or if the intention was something else. |
|
chatted with @Sakilmostak ... he'll push the updates to this PR, and I'll re-review it tomorrow. |
…fer docs Reflect #2074 (surface vop response) in the Transfer operation docs: - add connector_eligibility_reference_id (proto field 16) to the request fields across the canonical api-reference and the java/node/php/python SDK reference pages - also add the previously-missing description field (proto field 15) Co-Authored-By: Claude <noreply@anthropic.com>
Add the previously-undocumented Eligibility RPC (payout eligibility /
SEPA Verification of Payee pre-check) across the canonical API reference
and the java/node/python/php SDK references, plus nav entries.
- new canonical page: api-reference/services/payout-service/eligibility.md
- new SDK pages: sdks/{java,node,python,php}/payout-service/eligibility.md
- add Eligibility to service README operations tables and SUMMARY.md nav
Co-Authored-By: Claude <noreply@anthropic.com>
3638a77
…eate-link Fill the remaining field-completeness gaps where the canonical API reference (and therefore the SDK pages) omitted proto fields: - create: add description (proto field 16) - get: add source_bank_data (proto field 4, Deutsche Bank debtor data) - create-link: add description (field 15) and source_bank_data (field 16) Co-Authored-By: Claude <noreply@anthropic.com>
|
PHP sdk is not supported, so we're going to remove the PHP references in a separate PR... PHP references are mentioned throughout PRISM, which isn't supported... I'll create a new PR to remove any PHP reference. |
Description
Adds the missing per-operation documentation pages for the Payout Service across all four SDK languages (Java, Node, Python, PHP). Previously each docs-generated/sdks/{java,node,python,php}/payout-service directory held only a README.md operations table — the individual method pages did not exist. Since docs/SUMMARY.md already lists per-operation nav entries for the java/node/python payout service, those links resolved to non-existent pages and rendered blank on docs.hyperswitch.io.
32 new files = 8 operations × 4 languages: create, create-link, create-recipient, enroll-disburse-account, get, stage, transfer, void.
Each page was generated per the docs/rules/rules.md SDK Reference Operation Rules (SP1–SP7):
Overview / Purpose / Request Fields / Response Fields / Next Steps replicated from the canonical api-reference/services/payout-service/.md.
Field names converted to each language's convention (camelCase for java/node/php, snake_case for python).
RPC terminology replaced with method (SP6).
The grpcurl Example section replaced with language-specific SDK code — SDK Setup + Request + Response (SP3).
HTML-comment-wrapped front matter incl. sdk_language, approved: false (SP7 / C1).
Motivation and Context
The prism SDK nav advertised payout method pages that were never written, so live SDK URLs (e.g. docs.hyperswitch.io/integrations/prism/node/payout-service/create) rendered as blank pages. The API Reference is the canonical interface source; these SDK pages mirror it in the prism source repo — which is the intended home for prism docs — so the phantom nav entries now resolve to real content.
Docs-only change. No open issue linked (documentation fix).
Additional Changes
This PR modifies the API contract
This PR modifies application configuration/environment variables
No code, proto, config, or API-contract changes — documentation only.
Out of scope: PHP has no SDK section in docs/SUMMARY.md; adding a full PHP nav tree is out of scope. PHP payout pages are created for parity with the other languages and the existing PHP README, but no SUMMARY nav entry is added for them.
How did you test it?
Docs repo has no compile step. Verified manually:
All 32 files created and contain sdk_language front matter.
No residual RPC tokens; no stray backticked PascalCase RPC tokens.
All Next Steps relative links resolve within their directory.
java/node/python SUMMARY.md payout nav entries now map 1:1 to the created filenames.
Pages retain approved: false — human doc review still required before publishing.