access_token, wallet.mnemonic (24 words, space separated), wallet.version (V3R1 · V3R2 · V4R1 · V4R2 · V5; omitted = V4R2).jwt_token (the plan fields are not filled here).{"code":…,"message":…})| Code | When |
|---|---|
aborted (409) | check that wallet seed is valid · duplicate (already attached) · wrong access_token |
{
"access_token": "1:2427eba5ddefc80c5679718eeb8425590041",
"wallet": {
"mnemonic": "month rubber derive talent motion lawsuit adapt spice duty siege share soap scare drive own brief behave tilt cake huge weather retreat close alone",
"version": "V4R2"
}
}curl --location 'https://app.apiton.org/v2.Auth/Import' \
--header 'Content-Type: application/json' \
--data '{
"access_token": "1:2427eba5ddefc80c5679718eeb8425590041",
"wallet": {
"mnemonic": "month rubber derive talent motion lawsuit adapt spice duty siege share soap scare drive own brief behave tilt cake huge weather retreat close alone",
"version": "V4R2"
}
}'{
"jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwid2FsbGV0IjoiMDo5MDU3NzRjYTMyMTM0OWI5MzRkZjRmODU1NDliOGI1OWVmZGJlNzJiNTZhYjIzMjMzMzM2NTgyYTk4ZDRhNTkwIiwidmVyc2lvbiI6OSwiZXhwIjoxNzg2MDQ1MTUzLCJpYXQiOjE3MzQyMDUxNTN9.e0qqi--bQgXYXr8NS-Sk6zINg4dSpf4FMndig-knJPA"
}