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