Validate a user token
The method and parameters
POST /api/v1/billing/user/tokens/validate |
The user token must be sent in the Authorization header.
It is possible to specify any identifier for the token. For this, send the id field in the request body.
{
"id": 123
}
int id – an identifier to set to the token. Must be unique for each token.
201 |
Successful response |
401 |
Unsuccessful response: invalid token |
422 |
Returns a JSON object with an error. For details, see General information > Validation.
JSON
|