From 33cfbd912677d926dcbccfdfb4f638ef8a209da6 Mon Sep 17 00:00:00 2001 From: Lightspark Eng Date: Wed, 15 Jul 2026 21:43:55 +0000 Subject: [PATCH] chore: Sync account schemas --- mintlify/openapi.yaml | 9 ++++++++- openapi.yaml | 9 ++++++++- .../components/schemas/common/GtqAccountInfoBase.yaml | 2 +- .../components/schemas/common/PhpAccountInfoBase.yaml | 8 ++++++++ 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 5c5219a31..b6cbe85ab 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -11568,10 +11568,17 @@ components: maxLength: 16 example: '001234567890' pattern: ^[0-9]{8,16}$ + 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 example: accountType: PHP_ACCOUNT bankName: BDO Unibank accountNumber: '001234567890' + rail: NEFT PhpAccountInfo: allOf: - $ref: '#/components/schemas/PhpAccountInfoBase' @@ -12835,7 +12842,7 @@ components: - SAVINGS bankName: type: string - description: The name of the beneficiary's bank + description: The name of the bank minLength: 1 maxLength: 255 example: diff --git a/openapi.yaml b/openapi.yaml index 5c5219a31..b6cbe85ab 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -11568,10 +11568,17 @@ components: maxLength: 16 example: '001234567890' pattern: ^[0-9]{8,16}$ + 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 example: accountType: PHP_ACCOUNT bankName: BDO Unibank accountNumber: '001234567890' + rail: NEFT PhpAccountInfo: allOf: - $ref: '#/components/schemas/PhpAccountInfoBase' @@ -12835,7 +12842,7 @@ components: - SAVINGS bankName: type: string - description: The name of the beneficiary's bank + description: The name of the bank minLength: 1 maxLength: 255 example: diff --git a/openapi/components/schemas/common/GtqAccountInfoBase.yaml b/openapi/components/schemas/common/GtqAccountInfoBase.yaml index 2ec3cc208..2aa3f12a6 100644 --- a/openapi/components/schemas/common/GtqAccountInfoBase.yaml +++ b/openapi/components/schemas/common/GtqAccountInfoBase.yaml @@ -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: diff --git a/openapi/components/schemas/common/PhpAccountInfoBase.yaml b/openapi/components/schemas/common/PhpAccountInfoBase.yaml index 1992cbd7b..eaa16dcee 100644 --- a/openapi/components/schemas/common/PhpAccountInfoBase.yaml +++ b/openapi/components/schemas/common/PhpAccountInfoBase.yaml @@ -21,7 +21,15 @@ properties: maxLength: 16 example: '001234567890' pattern: ^[0-9]{8,16}$ + 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 example: accountType: PHP_ACCOUNT bankName: BDO Unibank accountNumber: '001234567890' + rail: NEFT