Refresh customer token

Refreshes a customer's OAuth token for a registered device, generating a new token without requiring full re-authentication if the current token is still valid.

Expired tokens require authentication, and previously active tokens across all devices are immediately invalidated to ensure only one active session per refresh token.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The same refresh token that was generated during the create account flow

string
required

The same device_id that was sent in the create account request

string
required

Token associated to the ecommerce provided by undostresWallet

(the same one that is usually sent in the headers when communicating with other endpoints)

string

Data which proves that the user has been authenticated (if you use undostresWallet's authentication services, an otp code will be sent to the user's mobile making this field unneeded. Otherwise this field is required.)

boolean

Determines whether to send an otp code to the customer for authentication. If true, an inactive token will be returned (activate with ActivateToken).

string

The customer's password, only required when the customer_oauth_token associated to the sent customer_refresh_token is expired

string

The customer's security answers in json format, only required when the customer_oauth_token associated to the sent customer_refresh_token is expired

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json