Skip to content

Commit 285910b

Browse files
authored
make platformCustomerId optional on create customer (#345)
1 parent 2b4dbb6 commit 285910b

5 files changed

Lines changed: 2 additions & 11 deletions

File tree

mintlify/global-p2p/onboarding-customers/configuring-customers.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ This guide provides comprehensive information about creating customers in the Gr
1616

1717
<CustomerTypes />
1818

19-
The base required information for all customers is only:
20-
21-
- Platform customer ID (your internal identifier)
22-
- Customer type (`INDIVIDUAL` or `BUSINESS`)
19+
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.
2320

2421
If using sending and receiving to just-in-time UMA addresses, you'll also need to specify the bank account information
2522

mintlify/openapi.yaml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mintlify/snippets/creating-customers/customers.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ export const Customers = ({ individualEnabled = true, businessEnabled = true, um
1616

1717
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.
1818

19-
The base required information for all customers is only:
20-
21-
- Platform customer ID (your internal identifier)
22-
- Customer type (`INDIVIDUAL` or `BUSINESS`)
19+
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.
2320

2421
If using sending and receiving to just-in-time UMA addresses, you'll also need to specify the bank account information
2522

openapi.yaml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/components/schemas/customers/CustomerCreateRequest.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
type: object
22
required:
33
- customerType
4-
- platformCustomerId
54
properties:
65
platformCustomerId:
76
type: string

0 commit comments

Comments
 (0)