Consultar resposta do quiz de reembolso
curl --request GET \
--url https://api.ephra.io/v1/refund-quiz-attempts/{attemptId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "clx9c4m5r0003qz0a2k3l4m5n",
"transactionId": "clx9b3k2p0007qz0a7h8i9j0k",
"customerName": "Mariana Ribeiro",
"customerEmail": "mariana.ribeiro@exemplo.com.br",
"customerPhone": "+5521988887777",
"productName": "Curso de Tráfego Pago",
"products": [
{
"id": 90321,
"name": "Curso de Tráfego Pago",
"amount": 14900
},
{
"id": 90322,
"name": "Pacote de Criativos Prontos",
"amount": 4800
}
],
"amount": 19700,
"paymentMethod": "pix",
"purchasedAt": "2026-09-05T14:02:00.000Z",
"requestedAt": "2026-09-12T10:28:00.000Z",
"completedAt": "2026-09-12T10:31:00.000Z",
"answers": [
{
"id": "clx9c4m5r0004qz0a5n6o7p8q",
"questionId": "clx7z1a2b0001qz0a3c4d5e6f",
"systemKey": null,
"question": "Qual o principal motivo do pedido?",
"answer": "Não era o que eu esperava",
"createdAt": "2026-09-12T10:30:00.000Z"
},
{
"id": "clx9c4m5r0005qz0a9r0s1t2u",
"questionId": "clx7z1a2b0002qz0a7f8g9h0i",
"systemKey": null,
"question": "O que faltou no conteúdo?",
"answer": "Achei o conteúdo raso",
"createdAt": "2026-09-12T10:31:00.000Z"
}
],
"refundRequest": {
"id": 48127,
"status": "pending",
"rejectionReason": null,
"approvalReason": null,
"reviewedAt": null
}
}
}{
"success": false,
"message": "Token inválido ou expirado"
}{
"success": false,
"message": "Recurso não encontrado"
}{
"success": false,
"message": "name: Nome é obrigatório"
}{
"success": false,
"message": "Muitas requisições. Tente novamente em breve."
}{
"success": false,
"message": "Erro interno do servidor"
}Reembolsos
Consultar resposta do quiz de reembolso
Devolve todas as respostas de uma tentativa do quiz de retenção, já legíveis, junto com a compra e a solicitação de reembolso que ela gerou. É a base para decidir aprovar ou recusar. Responde 404 quando a tentativa não existe ou pertence a outra empresa.
GET
/
v1
/
refund-quiz-attempts
/
{attemptId}
Consultar resposta do quiz de reembolso
curl --request GET \
--url https://api.ephra.io/v1/refund-quiz-attempts/{attemptId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ephra.io/v1/refund-quiz-attempts/{attemptId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "clx9c4m5r0003qz0a2k3l4m5n",
"transactionId": "clx9b3k2p0007qz0a7h8i9j0k",
"customerName": "Mariana Ribeiro",
"customerEmail": "mariana.ribeiro@exemplo.com.br",
"customerPhone": "+5521988887777",
"productName": "Curso de Tráfego Pago",
"products": [
{
"id": 90321,
"name": "Curso de Tráfego Pago",
"amount": 14900
},
{
"id": 90322,
"name": "Pacote de Criativos Prontos",
"amount": 4800
}
],
"amount": 19700,
"paymentMethod": "pix",
"purchasedAt": "2026-09-05T14:02:00.000Z",
"requestedAt": "2026-09-12T10:28:00.000Z",
"completedAt": "2026-09-12T10:31:00.000Z",
"answers": [
{
"id": "clx9c4m5r0004qz0a5n6o7p8q",
"questionId": "clx7z1a2b0001qz0a3c4d5e6f",
"systemKey": null,
"question": "Qual o principal motivo do pedido?",
"answer": "Não era o que eu esperava",
"createdAt": "2026-09-12T10:30:00.000Z"
},
{
"id": "clx9c4m5r0005qz0a9r0s1t2u",
"questionId": "clx7z1a2b0002qz0a7f8g9h0i",
"systemKey": null,
"question": "O que faltou no conteúdo?",
"answer": "Achei o conteúdo raso",
"createdAt": "2026-09-12T10:31:00.000Z"
}
],
"refundRequest": {
"id": 48127,
"status": "pending",
"rejectionReason": null,
"approvalReason": null,
"reviewedAt": null
}
}
}{
"success": false,
"message": "Token inválido ou expirado"
}{
"success": false,
"message": "Recurso não encontrado"
}{
"success": false,
"message": "name: Nome é obrigatório"
}{
"success": false,
"message": "Muitas requisições. Tente novamente em breve."
}{
"success": false,
"message": "Erro interno do servidor"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Identificador da tentativa de quiz.
Minimum string length:
1⌘I
