From 231b9cd2cdc1e9a4f2c0baabbe25d016d4c6681d Mon Sep 17 00:00:00 2001 From: Lightspark Eng Date: Fri, 10 Apr 2026 23:00:29 +0000 Subject: [PATCH] chore: Sync account schemas --- mintlify/openapi.yaml | 48 +++++++++++++++++++ openapi.yaml | 48 +++++++++++++++++++ .../schemas/common/BdtAccountInfo.yaml | 6 +++ .../schemas/common/CopAccountInfo.yaml | 6 +++ .../schemas/common/EgpAccountInfo.yaml | 6 +++ .../schemas/common/GhsAccountInfo.yaml | 6 +++ .../schemas/common/GtqAccountInfo.yaml | 6 +++ .../schemas/common/JmdAccountInfo.yaml | 6 +++ .../schemas/common/PkrAccountInfo.yaml | 6 +++ .../schemas/common/UsdAccountInfo.yaml | 6 +++ 10 files changed, 144 insertions(+) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index b228d300..2ba6c0d9 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -5533,6 +5533,7 @@ components: - paymentRails - accountNumber - routingNumber + - bankName properties: accountType: type: string @@ -5560,6 +5561,11 @@ components: minLength: 9 maxLength: 9 pattern: ^[0-9]{9}$ + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 PaymentUsdAccountInfo: title: USD Bank Account allOf: @@ -6923,6 +6929,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - branchCode - phoneNumber @@ -6938,6 +6945,11 @@ components: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -6981,6 +6993,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - bankAccountType - phoneNumber @@ -6996,6 +7009,11 @@ components: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -7032,6 +7050,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber properties: accountType: @@ -7044,6 +7063,11 @@ components: type: string enum: - BANK_TRANSFER + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -7081,6 +7105,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - phoneNumber properties: @@ -7095,6 +7120,11 @@ components: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -7125,6 +7155,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - phoneNumber properties: @@ -7139,6 +7170,11 @@ components: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -7206,6 +7242,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - branchCode - bankAccountType @@ -7220,6 +7257,11 @@ components: type: string enum: - BANK_TRANSFER + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -7255,6 +7297,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - phoneNumber properties: @@ -7269,6 +7312,11 @@ components: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank diff --git a/openapi.yaml b/openapi.yaml index b228d300..2ba6c0d9 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5533,6 +5533,7 @@ components: - paymentRails - accountNumber - routingNumber + - bankName properties: accountType: type: string @@ -5560,6 +5561,11 @@ components: minLength: 9 maxLength: 9 pattern: ^[0-9]{9}$ + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 PaymentUsdAccountInfo: title: USD Bank Account allOf: @@ -6923,6 +6929,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - branchCode - phoneNumber @@ -6938,6 +6945,11 @@ components: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -6981,6 +6993,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - bankAccountType - phoneNumber @@ -6996,6 +7009,11 @@ components: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -7032,6 +7050,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber properties: accountType: @@ -7044,6 +7063,11 @@ components: type: string enum: - BANK_TRANSFER + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -7081,6 +7105,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - phoneNumber properties: @@ -7095,6 +7120,11 @@ components: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -7125,6 +7155,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - phoneNumber properties: @@ -7139,6 +7170,11 @@ components: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -7206,6 +7242,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - branchCode - bankAccountType @@ -7220,6 +7257,11 @@ components: type: string enum: - BANK_TRANSFER + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -7255,6 +7297,7 @@ components: required: - accountType - paymentRails + - bankName - accountNumber - phoneNumber properties: @@ -7269,6 +7312,11 @@ components: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank diff --git a/openapi/components/schemas/common/BdtAccountInfo.yaml b/openapi/components/schemas/common/BdtAccountInfo.yaml index d552be0f..5d904c17 100644 --- a/openapi/components/schemas/common/BdtAccountInfo.yaml +++ b/openapi/components/schemas/common/BdtAccountInfo.yaml @@ -2,6 +2,7 @@ type: object required: - accountType - paymentRails +- bankName - accountNumber - branchCode - phoneNumber @@ -17,6 +18,11 @@ properties: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank diff --git a/openapi/components/schemas/common/CopAccountInfo.yaml b/openapi/components/schemas/common/CopAccountInfo.yaml index 0eb3d1c1..dd8ad59c 100644 --- a/openapi/components/schemas/common/CopAccountInfo.yaml +++ b/openapi/components/schemas/common/CopAccountInfo.yaml @@ -2,6 +2,7 @@ type: object required: - accountType - paymentRails +- bankName - accountNumber - bankAccountType - phoneNumber @@ -17,6 +18,11 @@ properties: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank diff --git a/openapi/components/schemas/common/EgpAccountInfo.yaml b/openapi/components/schemas/common/EgpAccountInfo.yaml index e3bc6765..5403010c 100644 --- a/openapi/components/schemas/common/EgpAccountInfo.yaml +++ b/openapi/components/schemas/common/EgpAccountInfo.yaml @@ -2,6 +2,7 @@ type: object required: - accountType - paymentRails +- bankName - accountNumber properties: accountType: @@ -14,6 +15,11 @@ properties: type: string enum: - BANK_TRANSFER + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank diff --git a/openapi/components/schemas/common/GhsAccountInfo.yaml b/openapi/components/schemas/common/GhsAccountInfo.yaml index a345e7f7..fc89c578 100644 --- a/openapi/components/schemas/common/GhsAccountInfo.yaml +++ b/openapi/components/schemas/common/GhsAccountInfo.yaml @@ -2,6 +2,7 @@ type: object required: - accountType - paymentRails +- bankName - accountNumber - phoneNumber properties: @@ -16,6 +17,11 @@ properties: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank diff --git a/openapi/components/schemas/common/GtqAccountInfo.yaml b/openapi/components/schemas/common/GtqAccountInfo.yaml index 4fc089af..a391a9a1 100644 --- a/openapi/components/schemas/common/GtqAccountInfo.yaml +++ b/openapi/components/schemas/common/GtqAccountInfo.yaml @@ -2,6 +2,7 @@ type: object required: - accountType - paymentRails +- bankName - accountNumber - phoneNumber properties: @@ -16,6 +17,11 @@ properties: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank diff --git a/openapi/components/schemas/common/JmdAccountInfo.yaml b/openapi/components/schemas/common/JmdAccountInfo.yaml index 4118d807..752af80f 100644 --- a/openapi/components/schemas/common/JmdAccountInfo.yaml +++ b/openapi/components/schemas/common/JmdAccountInfo.yaml @@ -2,6 +2,7 @@ type: object required: - accountType - paymentRails +- bankName - accountNumber - branchCode - bankAccountType @@ -16,6 +17,11 @@ properties: type: string enum: - BANK_TRANSFER + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank diff --git a/openapi/components/schemas/common/PkrAccountInfo.yaml b/openapi/components/schemas/common/PkrAccountInfo.yaml index d5a3f6a2..871b3b33 100644 --- a/openapi/components/schemas/common/PkrAccountInfo.yaml +++ b/openapi/components/schemas/common/PkrAccountInfo.yaml @@ -2,6 +2,7 @@ type: object required: - accountType - paymentRails +- bankName - accountNumber - phoneNumber properties: @@ -16,6 +17,11 @@ properties: enum: - BANK_TRANSFER - MOBILE_MONEY + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 accountNumber: type: string description: The account number of the bank diff --git a/openapi/components/schemas/common/UsdAccountInfo.yaml b/openapi/components/schemas/common/UsdAccountInfo.yaml index d592f529..b881dd90 100644 --- a/openapi/components/schemas/common/UsdAccountInfo.yaml +++ b/openapi/components/schemas/common/UsdAccountInfo.yaml @@ -4,6 +4,7 @@ required: - paymentRails - accountNumber - routingNumber +- bankName properties: accountType: type: string @@ -31,3 +32,8 @@ properties: minLength: 9 maxLength: 9 pattern: ^[0-9]{9}$ + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255