From fd3138aee4faf688670c77ffe317753689737d12 Mon Sep 17 00:00:00 2001 From: Pantheon Date: Thu, 28 May 2026 12:48:16 -0700 Subject: [PATCH] Add COMPANY_LEGAL_NAME to UserInfoFieldName enum companyLegalName is a valid UMA counterparty data field (UmaCounterpartyDataField.COMPANY_LEGAL_NAME = "companyLegalName") used for B2B payment support, and already exists in the Grid API's CustomerInfoFieldName enum, but was missing from UMAaaS's UserInfoFieldName. When a receiver VASP marks companyLegalName as mandatory, sparkcore's UMAaaS VASP (convert_requested_counterparty_data) cannot map it and raises a 501 UNRECOGNIZED_MANDATORY_COUNTERPARTY_DATA_KEY, which pages on-call. Co-Authored-By: Claude Opus 4.8 (1M context) --- mintlify/openapi.yaml | 1 + openapi.yaml | 1 + openapi/components/schemas/users/UserInfoFieldName.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 6a35d1cb..a503c786 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -3460,6 +3460,7 @@ components: - ULTIMATE_INSTITUTION_COUNTRY - IDENTIFIER - BUSINESS_TYPE + - COMPANY_LEGAL_NAME description: Name of a type of field containing info about a platform's user or counterparty user. example: FULL_NAME CounterpartyFieldDefinition: diff --git a/openapi.yaml b/openapi.yaml index 6a35d1cb..a503c786 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3460,6 +3460,7 @@ components: - ULTIMATE_INSTITUTION_COUNTRY - IDENTIFIER - BUSINESS_TYPE + - COMPANY_LEGAL_NAME description: Name of a type of field containing info about a platform's user or counterparty user. example: FULL_NAME CounterpartyFieldDefinition: diff --git a/openapi/components/schemas/users/UserInfoFieldName.yaml b/openapi/components/schemas/users/UserInfoFieldName.yaml index 6ea73129..5da96ff0 100644 --- a/openapi/components/schemas/users/UserInfoFieldName.yaml +++ b/openapi/components/schemas/users/UserInfoFieldName.yaml @@ -17,6 +17,7 @@ enum: - ULTIMATE_INSTITUTION_COUNTRY - IDENTIFIER - BUSINESS_TYPE + - COMPANY_LEGAL_NAME description: >- Name of a type of field containing info about a platform's user or counterparty user.