From a9451ad6f7bf98ba189fd73a5fff03a66f8ac0b6 Mon Sep 17 00:00:00 2001 From: Lightspark Eng Date: Fri, 24 Jul 2026 00:11:31 +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 a7f6a9afe..e263f3cca 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -13987,6 +13987,12 @@ components: 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 bankName: type: string description: Name of the beneficiary's bank @@ -14002,6 +14008,7 @@ components: pattern: ^[0-9]{8,16}$ example: accountType: PHP_ACCOUNT + rail: NEFT bankName: BDO Unibank accountNumber: '001234567890' PhpAccountInfo: @@ -15267,7 +15274,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 a7f6a9afe..e263f3cca 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -13987,6 +13987,12 @@ components: 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 bankName: type: string description: Name of the beneficiary's bank @@ -14002,6 +14008,7 @@ components: pattern: ^[0-9]{8,16}$ example: accountType: PHP_ACCOUNT + rail: NEFT bankName: BDO Unibank accountNumber: '001234567890' PhpAccountInfo: @@ -15267,7 +15274,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..f4df30cd3 100644 --- a/openapi/components/schemas/common/PhpAccountInfoBase.yaml +++ b/openapi/components/schemas/common/PhpAccountInfoBase.yaml @@ -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 bankName: type: string description: Name of the beneficiary's bank @@ -23,5 +30,6 @@ properties: pattern: ^[0-9]{8,16}$ example: accountType: PHP_ACCOUNT + rail: NEFT bankName: BDO Unibank accountNumber: '001234567890'