POST
/
api
/
refresh_customer_token
/

This endpoint refreshes a customer token. This is useful when you want to force a customer token to rotate because an existing one may be compromised.

Body

current_token
string

This is the current customer token you have for the customer that you want to rotate.

Response

success
number

Indicates whether the call was successful. 1 if successful, 0 if not.

customer
object

The contents of the customer