Skip to main content
POST
/
v1
/
auth
/
login
/
jwt
JWT
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..."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Exchange an external JWT to a Cadana redirect token

jwt
string
default:xxx.yyy.zzz
required

Your internal token to be exchanged

Response

exchange JWT response

exchange JWT response

redirectToken
string
Example:

"eybzym7hwk..."