User Onboarding
Post Customer Information
User Onboarding
Post Customer Information
Send User information to Sardine to store theie information and create a risk profile
POST
/
customers
curl --request POST \
--url https://api.sandbox.sardine.ai/v1/customers \
--header 'Content-Type: application/json' \
--data '{
"flow": "<string>",
"sessionKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxId": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"dateOfBirth": "2023-12-25",
"address": {
"street1": "<string>",
"city": "<string>",
"regionCode": "<string>",
"postalCode": "<string>",
"countryCode": "<string>"
},
"transaction": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAtMillis": 123,
"amount": 123,
"itemCategory": "<string>",
"actionType": "buy",
"currencyCode": "<string>",
"paymentMethod": {
"type": "crypto",
"bank": {
"accountNumber": "<string>",
"routingNumber": "<string>",
"accountType": "checking",
"balance": 123,
"balanceCurrencyCode": "<string>"
}
}
},
"emailAddress": "jsmith@example.com",
"isEmailVerified": true,
"phone": "<string>",
"isPhoneVerified": true,
"createdAtMills": 123,
"personalInfo": [
{
"source": "id_verification",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"address": {
"street1": "<string>",
"street2": "<string>",
"city": "<string>",
"regionCode": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"company": "<string>"
},
"dateOfBirth": "<string>"
}
]
}
}'
{
"sessionKey": "<string>",
"level": "low",
"status": "Success",
"customer": {
"score": 123,
"level": "low",
"signals": [
{
"key": "<string>",
"value": "<string>"
}
]
},
"transaction": {
"level": "low",
"amlLevel": "low",
"indemnification": {
"decision": "approved",
"instantLimit": 123,
"holdAmount": 123,
"verificationCode": "<string>",
"holdTime": "<string>"
}
}
}
Body
application/json
Response
200 - application/json
OK
The response is of type object
.
curl --request POST \
--url https://api.sandbox.sardine.ai/v1/customers \
--header 'Content-Type: application/json' \
--data '{
"flow": "<string>",
"sessionKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxId": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"dateOfBirth": "2023-12-25",
"address": {
"street1": "<string>",
"city": "<string>",
"regionCode": "<string>",
"postalCode": "<string>",
"countryCode": "<string>"
},
"transaction": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAtMillis": 123,
"amount": 123,
"itemCategory": "<string>",
"actionType": "buy",
"currencyCode": "<string>",
"paymentMethod": {
"type": "crypto",
"bank": {
"accountNumber": "<string>",
"routingNumber": "<string>",
"accountType": "checking",
"balance": 123,
"balanceCurrencyCode": "<string>"
}
}
},
"emailAddress": "jsmith@example.com",
"isEmailVerified": true,
"phone": "<string>",
"isPhoneVerified": true,
"createdAtMills": 123,
"personalInfo": [
{
"source": "id_verification",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"address": {
"street1": "<string>",
"street2": "<string>",
"city": "<string>",
"regionCode": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"company": "<string>"
},
"dateOfBirth": "<string>"
}
]
}
}'
{
"sessionKey": "<string>",
"level": "low",
"status": "Success",
"customer": {
"score": 123,
"level": "low",
"signals": [
{
"key": "<string>",
"value": "<string>"
}
]
},
"transaction": {
"level": "low",
"amlLevel": "low",
"indemnification": {
"decision": "approved",
"instantLimit": 123,
"holdAmount": 123,
"verificationCode": "<string>",
"holdTime": "<string>"
}
}
}