Documentação completa: aqui
curl -X POST \
--header 'Content-Type: application/json' \
--data '{
"client_id": "GUO6Qo7r6i0JaP9zLgk0GOeb1KIzelCn",
"authenticated_userid": "pdv",
"response_type": "code",
"scope": "pdv",
"provision_key": "E73oMWOyXxNhf7oRfsHkuAc5B4gobPIE",
"redirect_url": "https://staging-master.vrsoft.com.br/oauth_return"
}' https://staging-master.vrsoft.com.br/api/v1/pessoa/rotativo/consultar/oauth2/authorize
curl -X POST \
--header 'Content-Type: application/json' \
--data '{
"grant_type": "authorization_code",
"code": "[COLOCAR O CÓDIGO GERADO AQUI!]",
"client_id": "GUO6Qo7r6i0JaP9zLgk0GOeb1KIzelCn",
"client_secret": "n7j5HtJzCA35exqi2YkF7uskC2EG4TMq"
}' https://staging-master.vrsoft.com.br/api/v1/pessoa/rotativo/consultar/oauth2/token
curl \
--header 'authorization: [TOKEN DE ACESSO GERADO AQUI!]' \
https://staging-master.vrsoft.com.br/api/v1/pessoa/rotativo/consultar