curl --request POST \
--url https://developersandbox-api.flutterwave.com/profile/authentication/tokens \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>",
"token_type": "auth_code",
"redirect_uri": "<string>"
}
'{
"status": "success",
"message": "<string>",
"data": {
"access_token": "<string>",
"refresh_token": "<string>",
"access_expires_in": 123,
"refresh_expires_in": 123,
"token_type": "<string>",
"id_token": "<string>",
"session_state": "<string>",
"scope": "<string>"
}
}Exchange token
curl --request POST \
--url https://developersandbox-api.flutterwave.com/profile/authentication/tokens \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>",
"token_type": "auth_code",
"redirect_uri": "<string>"
}
'{
"status": "success",
"message": "<string>",
"data": {
"access_token": "<string>",
"refresh_token": "<string>",
"access_expires_in": 123,
"refresh_expires_in": 123,
"token_type": "<string>",
"id_token": "<string>",
"session_state": "<string>",
"scope": "<string>"
}
}A unique identifier to track this operation. It must be between 12 and 255 characters in length.
12 - 255Was this page helpful?