Valida um token existente

Exemplo de entrada:

{
    "value": "123456"
}
Log in to see full request history

Modelo de Chamada

Request:

POST https://datatrustapi.clearsale.com.br/v1/transaction/{id}/sms/tokens/validate HTTP/1.1 Content-Type: application/json Accept:application/json Authorization: Bearer {Token} { "value": "123456" }
POST https://datatrustapihml.clearsale.com.br/v1/transaction/{id}/sms/tokens/validate HTTP/1.1 Content-Type: application/json Accept:application/json Authorization: Bearer {Token} { "value": "123456" }

Response:

Requisição realizada com sucesso

HTTP/1.1 200 Ok Content-Type: application/json; charset=utf-8 { "status": "Valid", "createdAt": "2020-11-09T14:47:37.7090041Z", "type": "Sms" }
Path Params
string
required

Id da transação

Body Params

Valor do token para validar

string
required
Responses

401

Unauthorized

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