Creates or updates a customer for the authenticated merchant. Calling again with the same externalUserId updates the existing customer. customerGroups and kyc.kycLevels drive PSP eligibility — see Routing & PSP Eligibility.
Security
bearerAuth
Create customer request
Your unique identifier for this customer. Calling the customer endpoint again with the same value updates the existing customer.
Example:"3183818381183"
Customer groups the customer belongs to. Merchant-defined string labels, matched against each provider's group rules during eligibility filtering.
Example:
[ "Vipgroup" ]
- Productionhttps://api.omno.com/v3/public/customer
curl -i -X POST \
https://api.omno.com/v3/public/customer \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"externalUserId": "3183818381183",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phoneNumber": "1 1234567890",
"dateOfBirth": "1990-12-01",
"userName": "John123",
"customerGroups": [
"Vipgroup"
],
"billing": {
"address": "123 Main St",
"city": "Atlanta",
"state": "GA",
"countryCode": "US",
"postalCode": "30308"
},
"kyc": {
"idType": "passport",
"idNumber": "A12345678",
"idCountry": "US",
"idExpirationDate": "2030-12-31",
"nationality": "US",
"countryOfBirth": "US",
"kycLevels": [
"Identity Check",
"Mail Verification"
],
"allowBypass": true
}
}'Customer created or updated
Response
{ "id": "123456789", "firstName": "John", "lastName": "Doe", "externalUserId": "3183818381183", "merchantId": "123456789", "email": "john.doe@example.com", "phoneNumber": "1 1234567890", "dateOfBirth": "1990-12-01" }