curl --request POST \
--url https://api.sandbox.sardine.ai/v1/customers \
--header 'Content-Type: application/json' \
--data '{
"flow": "login, onboarding,kyc-ssn",
"sessionKey": "555fdc5c-8694-4345-b724-14454f320484",
"customer": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"taxId": "778131234",
"firstName": "John",
"lastName": "Doe",
"dateOfBirth": "1990-08-15",
"address": {
"street1": "1 Main St",
"city": "Okhlahoma",
"regionCode": "OK",
"postalCode": "70438",
"countryCode": "US"
},
"transaction": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"createdAtMillis": 1616822241000,
"amount": 1000,
"itemCategory": "crypto",
"actionType": "buy",
"currencyCode": "USD",
"paymentMethod": {
"type": "crypto",
"bank": {
"accountNumber": "123456789",
"routingNumber": "1298751331",
"accountType": "checking",
"balance": 1000,
"balanceCurrencyCode": "USD"
}
}
},
"emailAddress": "user@example.com",
"isEmailVerified": true,
"phone": "+17342321234",
"isPhoneVerified": true,
"createdAtMills": 0,
"personalInfo": [
{
"source": "id_verification",
"firstName": "John",
"lastName": "Doe",
"address": {
"street1": "1 Main St",
"city": "Okhlahoma",
"regionCode": "OK",
"postalCode": "70438",
"countryCode": "US"
},
"dateOfBirth": "1980-07-15"
}
]
}
}'