Pular para o conteúdo principal
GET
/
stats
cURL
curl --request GET \
  --url https://public-api.kiwify.com/v1/stats \
  --header 'Authorization: Bearer <token>' \
  --header 'x-kiwify-account-id: <api-key>'
{
  "credit_card_approval_rate": 50,
  "total_sales": 3,
  "total_net_amount": 25956,
  "refund_rate": 25,
  "chargeback_rate": 0,
  "total_boleto_generated": 2,
  "total_boleto_paid": 1,
  "boleto_rate": 50
}

Autorizações

x-kiwify-account-id
string
header
obrigatório
Authorization
string
header
obrigatório

The access token received from the authorization server in the OAuth 2.0 flow.

Parâmetros de consulta

product_id
string
Exemplo:

"ba385b7c-cac1-4422-925d-7f707d8267d2"

start_date
string
end_date
string

Resposta

Statistics data

credit_card_approval_rate
number
Exemplo:

50

total_sales
number
Exemplo:

3

total_net_amount
number
Exemplo:

25956

refund_rate
number
Exemplo:

25

chargeback_rate
number
Exemplo:

0

total_boleto_generated
number
Exemplo:

2

total_boleto_paid
number
Exemplo:

1

boleto_rate
number
Exemplo:

50