From aa0bedd23ff5cec83d932a85d55780ec1abbb98f Mon Sep 17 00:00:00 2001 From: shreyav Date: Wed, 15 Apr 2026 21:20:13 -0700 Subject: [PATCH] make platformCustomerId optional on create customer --- .../onboarding-customers/configuring-customers.mdx | 5 +---- mintlify/openapi.yaml | 1 - mintlify/snippets/creating-customers/customers.mdx | 5 +---- openapi.yaml | 1 - .../components/schemas/customers/CustomerCreateRequest.yaml | 1 - 5 files changed, 2 insertions(+), 11 deletions(-) diff --git a/mintlify/global-p2p/onboarding-customers/configuring-customers.mdx b/mintlify/global-p2p/onboarding-customers/configuring-customers.mdx index f7838803..e1c5161e 100644 --- a/mintlify/global-p2p/onboarding-customers/configuring-customers.mdx +++ b/mintlify/global-p2p/onboarding-customers/configuring-customers.mdx @@ -16,10 +16,7 @@ This guide provides comprehensive information about creating customers in the Gr -The base required information for all customers is only: - -- Platform customer ID (your internal identifier) -- Customer type (`INDIVIDUAL` or `BUSINESS`) +The only required field for all customers is `customerType` (`INDIVIDUAL` or `BUSINESS`). It's recommended to also pass a `platformCustomerId` to tie the customer to your internal identifier, but if you don't, one will be generated automatically. If using sending and receiving to just-in-time UMA addresses, you'll also need to specify the bank account information diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index f44659be..91b22fea 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -5273,7 +5273,6 @@ components: type: object required: - customerType - - platformCustomerId properties: platformCustomerId: type: string diff --git a/mintlify/snippets/creating-customers/customers.mdx b/mintlify/snippets/creating-customers/customers.mdx index 08927446..afae098f 100644 --- a/mintlify/snippets/creating-customers/customers.mdx +++ b/mintlify/snippets/creating-customers/customers.mdx @@ -16,10 +16,7 @@ export const Customers = ({ individualEnabled = true, businessEnabled = true, um Your platform's configuration (retrieved via `GET /config`) includes a `supportedCurrencies` array. Each currency object within this array has a `providerRequiredCustomerFields` list. If a customer is intended to use a specific currency, any fields listed for that currency **must** be provided when creating or updating the customer. - The base required information for all customers is only: - - - Platform customer ID (your internal identifier) - - Customer type (`INDIVIDUAL` or `BUSINESS`) + The only required field for all customers is `customerType` (`INDIVIDUAL` or `BUSINESS`). It's recommended to also pass a `platformCustomerId` to tie the customer to your internal identifier, but if you don't, one will be generated automatically. If using sending and receiving to just-in-time UMA addresses, you'll also need to specify the bank account information diff --git a/openapi.yaml b/openapi.yaml index f44659be..91b22fea 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5273,7 +5273,6 @@ components: type: object required: - customerType - - platformCustomerId properties: platformCustomerId: type: string diff --git a/openapi/components/schemas/customers/CustomerCreateRequest.yaml b/openapi/components/schemas/customers/CustomerCreateRequest.yaml index 31e984a8..e4b65d99 100644 --- a/openapi/components/schemas/customers/CustomerCreateRequest.yaml +++ b/openapi/components/schemas/customers/CustomerCreateRequest.yaml @@ -1,7 +1,6 @@ type: object required: - customerType - - platformCustomerId properties: platformCustomerId: type: string