Transaction
2 min
Create New Transaction
Permite a criação de uma transação/experiência via API
POST
https://api.tsrtech.com.br
curl --location 'https://api.tsrtech.com.br' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"type": "string",
"token": "string",
"survey_id": "Number",
"client_name": "string",
"cpf": "string",
"email": "string",
"phone": "string",
"gender": "string",
"store": "string",
"amount": "string",
"external_id": "string",
"extras": "string",
"channel": "Number"
Get All Transactions
Exibe todas as transações/experiências enviadas para a TSR bem como o status de cada uma.
GET
https://api.tsrtech.com.br
curl --location --request GET 'https://api.tsrtech.com.br' \
--header 'Accept: application/json' \
--data-raw
'{
"type": "transactions_all,
"token": "string"
"survey_id": number
}'Get specific transaction
Exibe uma transação em específico, com detalhes de resposta caso houver.
GET
https://api.tsrtech.com.br
curl --location --request GET 'https://api.tsrtech.com.br' \
--header 'Accept: application/json' \
--data-raw '{
"type": "transaction",
"token": "string",
"transaction_id": number
}'