curl --request POST \
--url https://api.cadanapay.com/v1/auth/login/jwt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jwt": "xxx.yyy.zzz"
}
'{
"redirectToken": "eybzym7hwk..."
}Exchange your internal JWT to a cadana redirect token
curl --request POST \
--url https://api.cadanapay.com/v1/auth/login/jwt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jwt": "xxx.yyy.zzz"
}
'{
"redirectToken": "eybzym7hwk..."
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Exchange an external JWT to a Cadana redirect token
Your internal token to be exchanged
exchange JWT response
exchange JWT response
"eybzym7hwk..."