post
https://sandcaas.undostres.com.mx/oauth/v1/refresh-customer-token
Expires actual customer oauth tokens (on every device) and generates a new oauth token without OTP verification
This endpoint should be called when the eCommerce has a registered deviceId and wants to get a new ACTIVE customer oauth token for it. Data requirements are the following:
- If the current customer oauth token for the device is still active, no extra data is needed.
- If the current customer oauth token for the device is expired, one of the following credentials must be provided:
otppasswordsecurity_answersextra_login_data(available only for eCommerces not using undostresWallet authentication systems)
Note:
otp/password/security_answers→ will return an INACTIVE token, waiting for activation with theactivate_tokenendpoint.extra_login_data→ available only for eCommerces not using undostresWallet authentication systems.