Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openapi/components/schemas/common/GtqAccountInfoBase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ properties:
- SAVINGS
bankName:
type: string
description: The name of the beneficiary's bank
description: The name of the bank
minLength: 1
maxLength: 255
example:
Expand Down
8 changes: 8 additions & 0 deletions openapi/components/schemas/common/PhpAccountInfoBase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ properties:
type: string
enum:
- PHP_ACCOUNT
rail:
type: string
description: The payment rail to route the payout over, for currencies that support
more than one (e.g. NEFT or RTGS for INR).
example: NEFT
minLength: 1
maxLength: 32
Comment on lines +11 to +17

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 INR rail references inside a PHP schema

The new rail field's description and example both reference Indian payment infrastructure (NEFT/RTGS for INR) inside a Philippine Peso (PHP) account schema. The description reads "e.g. NEFT or RTGS for INR" and the example sets rail: NEFT — NEFT is the National Electronic Funds Transfer system used in India, not the Philippines. For PHP accounts the relevant rails would be PESONet or InstaPay. Any consumer reading this schema to understand what values to send will be misled into submitting an Indian rail identifier for a Philippine account.

Prompt To Fix With AI
This is a comment left during a code review.
Path: openapi/components/schemas/common/PhpAccountInfoBase.yaml
Line: 11-17

Comment:
**INR rail references inside a PHP schema**

The new `rail` field's description and example both reference Indian payment infrastructure (NEFT/RTGS for INR) inside a Philippine Peso (PHP) account schema. The description reads "e.g. NEFT or RTGS for INR" and the example sets `rail: NEFT` — NEFT is the National Electronic Funds Transfer system used in India, not the Philippines. For PHP accounts the relevant rails would be PESONet or InstaPay. Any consumer reading this schema to understand what values to send will be misled into submitting an Indian rail identifier for a Philippine account.

How can I resolve this? If you propose a fix, please make it concise.

bankName:
type: string
description: Name of the beneficiary's bank
Expand All @@ -23,5 +30,6 @@ properties:
pattern: ^[0-9]{8,16}$
example:
accountType: PHP_ACCOUNT
rail: NEFT
bankName: BDO Unibank
accountNumber: '001234567890'
Loading