cURL
curl --request POST \ --url https://passkeys.hanko.io/{tenant_id}/transaction/initialize \ --header 'Content-Type: application/json' \ --header 'apiKey: <apikey>' \ --data ' { "user_id": "<string>", "transaction_id": "<string>", "transaction_data": {} } '
{ "mediation": "optional" }
Initializes a new transaction for an existing user
Secret API key
32
UUID of the tenant
36
["1f496bcd-49da-4839-a02f-7ce681ccb488"]
Needs to be a tenant-wide unique identifier
128
Example response
Show child attributes
optional
required
silent
Was this page helpful?