From cc42f32565d80e4502285f16287c506f5fe33a81 Mon Sep 17 00:00:00 2001 From: Lightspark Eng Date: Wed, 4 Feb 2026 04:41:46 +0000 Subject: [PATCH] chore: Update external account schemas from webdev --- .../external_accounts/InrUpiAccountInfo.yaml | 21 +++++++++++++++++++ .../external_accounts/MxnSpeiAccountInfo.yaml | 21 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 openapi/components/schemas/external_accounts/InrUpiAccountInfo.yaml create mode 100644 openapi/components/schemas/external_accounts/MxnSpeiAccountInfo.yaml diff --git a/openapi/components/schemas/external_accounts/InrUpiAccountInfo.yaml b/openapi/components/schemas/external_accounts/InrUpiAccountInfo.yaml new file mode 100644 index 0000000..aef7ab0 --- /dev/null +++ b/openapi/components/schemas/external_accounts/InrUpiAccountInfo.yaml @@ -0,0 +1,21 @@ +type: object +title: InrUpiAccountInfo +description: Required fields for USD -> INR corridor via Upi +required: +- accountType +- fullName +- vpa +properties: + accountType: + type: string + enum: + - INR_UPI_ACCOUNT + example: INR_UPI_ACCOUNT + fullName: + type: string + description: Full name of the beneficiary + example: John Michael Doe + vpa: + type: string + description: Virtual Payment Address (UPI) + example: john@upi diff --git a/openapi/components/schemas/external_accounts/MxnSpeiAccountInfo.yaml b/openapi/components/schemas/external_accounts/MxnSpeiAccountInfo.yaml new file mode 100644 index 0000000..ce37435 --- /dev/null +++ b/openapi/components/schemas/external_accounts/MxnSpeiAccountInfo.yaml @@ -0,0 +1,21 @@ +type: object +title: MxnSpeiAccountInfo +description: Required fields for USD -> MXN corridor via Spei +required: +- accountType +- clabe +- name +properties: + accountType: + type: string + enum: + - MXN_SPEI_ACCOUNT + example: MXN_SPEI_ACCOUNT + clabe: + type: string + description: Mexican CLABE interbank account number (18 digits) + example: 012180001234567890 + name: + type: string + description: Full name of the payee + example: Jane Smith