Kraken Embed
Create Kraken User
Create a new Kraken Embed user associated with a Privy user. This establishes the mapping between the Privy user and the Kraken IIBAN.
post/v1/kraken_embed/users/{user_id}
Path parameters
user_idstring required
The ID of the Privy user.
Headers
privy-app-idstring required
ID of your Privy app.
Request body
Example request
{
"date_of_birth": "1990-01-15",
"email": "user@example.com",
"external_id": "ext-user-12345",
"full_name": {
"first_name": "John",
"last_name": "Doe",
"middle_name": null
},
"nationalities": [
"US"
],
"occupation": "employed",
"phone": "+14155551234",
"residence": {
"city": "San Francisco",
"country": "US",
"line1": "123 Main St",
"line2": null,
"postal_code": "94105",
"province": "CA"
},
"tos_version_accepted": 1
}Response
Kraken user created successfully. Returns the IIBAN for the newly created user.
Example response
{
"data": {
"result": {
"user": "AA00XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
}
}