From 2082424609adc798c939a007d7e353554e40d1fc Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 6 Jul 2026 20:53:56 +0000 Subject: [PATCH 1/2] Add INR bank (NEFT/RTGS) fields to the INR account schema Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01VJZdGCz7aSRNSHcBEdweyD --- mintlify/openapi.yaml | 37 +++++++++++++++++- openapi.yaml | 37 +++++++++++++++++- .../schemas/common/InrAccountInfo.yaml | 2 + .../schemas/common/InrAccountInfoBase.yaml | 39 ++++++++++++++++++- 4 files changed, 112 insertions(+), 3 deletions(-) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 9beb0ec97..515993594 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -10633,7 +10633,11 @@ components: type: object required: - accountType - - vpa + description: |- + Required fields depend on the selected paymentRails: + - NEFT: accountNumber, ifsc, rail + - RTGS: accountNumber, ifsc, rail + - UPI: vpa properties: accountType: type: string @@ -10646,9 +10650,38 @@ components: minLength: 3 maxLength: 255 pattern: ^[a-zA-Z0-9.\-_]+@[a-zA-Z0-9]+$ + accountNumber: + type: string + description: Indian bank account number (9–18 digits) + minLength: 9 + maxLength: 18 + example: '000111222333' + pattern: ^[0-9]{9,18}$ + ifsc: + type: string + description: The Indian Financial System Code (IFSC) of the beneficiary's bank branch (NEFT/RTGS) + example: HDFC0001234 + minLength: 11 + maxLength: 11 + pattern: ^[A-Z]{4}0[A-Z0-9]{6}$ + 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 + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 example: accountType: INR_ACCOUNT vpa: user@upi + accountNumber: '000111222333' + ifsc: HDFC0001234 + rail: NEFT + bankName: Example Bank InrAccountInfo: allOf: - $ref: '#/components/schemas/InrAccountInfoBase' @@ -10662,6 +10695,8 @@ components: type: string enum: - UPI + - NEFT + - RTGS PaymentInrAccountInfo: title: INR Account allOf: diff --git a/openapi.yaml b/openapi.yaml index 9beb0ec97..515993594 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -10633,7 +10633,11 @@ components: type: object required: - accountType - - vpa + description: |- + Required fields depend on the selected paymentRails: + - NEFT: accountNumber, ifsc, rail + - RTGS: accountNumber, ifsc, rail + - UPI: vpa properties: accountType: type: string @@ -10646,9 +10650,38 @@ components: minLength: 3 maxLength: 255 pattern: ^[a-zA-Z0-9.\-_]+@[a-zA-Z0-9]+$ + accountNumber: + type: string + description: Indian bank account number (9–18 digits) + minLength: 9 + maxLength: 18 + example: '000111222333' + pattern: ^[0-9]{9,18}$ + ifsc: + type: string + description: The Indian Financial System Code (IFSC) of the beneficiary's bank branch (NEFT/RTGS) + example: HDFC0001234 + minLength: 11 + maxLength: 11 + pattern: ^[A-Z]{4}0[A-Z0-9]{6}$ + 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 + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 example: accountType: INR_ACCOUNT vpa: user@upi + accountNumber: '000111222333' + ifsc: HDFC0001234 + rail: NEFT + bankName: Example Bank InrAccountInfo: allOf: - $ref: '#/components/schemas/InrAccountInfoBase' @@ -10662,6 +10695,8 @@ components: type: string enum: - UPI + - NEFT + - RTGS PaymentInrAccountInfo: title: INR Account allOf: diff --git a/openapi/components/schemas/common/InrAccountInfo.yaml b/openapi/components/schemas/common/InrAccountInfo.yaml index 0ea13547b..f7ea8324c 100644 --- a/openapi/components/schemas/common/InrAccountInfo.yaml +++ b/openapi/components/schemas/common/InrAccountInfo.yaml @@ -10,3 +10,5 @@ allOf: type: string enum: - UPI + - NEFT + - RTGS diff --git a/openapi/components/schemas/common/InrAccountInfoBase.yaml b/openapi/components/schemas/common/InrAccountInfoBase.yaml index 2d88d3317..d289550cd 100644 --- a/openapi/components/schemas/common/InrAccountInfoBase.yaml +++ b/openapi/components/schemas/common/InrAccountInfoBase.yaml @@ -1,7 +1,13 @@ type: object required: - accountType -- vpa +description: 'Required fields depend on the selected paymentRails: + + - NEFT: accountNumber, ifsc, rail + + - RTGS: accountNumber, ifsc, rail + + - UPI: vpa' properties: accountType: type: string @@ -14,6 +20,37 @@ properties: minLength: 3 maxLength: 255 pattern: ^[a-zA-Z0-9.\-_]+@[a-zA-Z0-9]+$ + accountNumber: + type: string + description: Indian bank account number (9–18 digits) + minLength: 9 + maxLength: 18 + example: '000111222333' + pattern: ^[0-9]{9,18}$ + ifsc: + type: string + description: The Indian Financial System Code (IFSC) of the beneficiary's bank + branch (NEFT/RTGS) + example: HDFC0001234 + minLength: 11 + maxLength: 11 + pattern: ^[A-Z]{4}0[A-Z0-9]{6}$ + 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 + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 example: accountType: INR_ACCOUNT vpa: user@upi + accountNumber: '000111222333' + ifsc: HDFC0001234 + rail: NEFT + bankName: Example Bank From 05a3c8c205fd593e7cf089d26e4d7bd1fff37266 Mon Sep 17 00:00:00 2001 From: Mohamed Wane Date: Mon, 6 Jul 2026 21:46:36 +0000 Subject: [PATCH 2/2] Retrigger CI (empty commit): re-run flaky Stainless csharp preview Co-Authored-By: Claude Fable 5