Vendas

GET /stats

Request

  • Base URL
    https://public-api.kiwify.com/v1
  • URL
    https://public-api.kiwify.com/v1/stats
  • Auth
    API key in header x-kiwify-account-id and OAuth 2
    Client credentials
    Token URL: /oauth/token scopes: stats

Query parameters

product_idstring
Example:ba385b7c-cac1-4422-925d-7f707d8267d2
start_datestring
end_datestring

Response

Statistics data

credit_card_approval_ratenumber
total_salesnumber
total_net_amountnumber
refund_ratenumber
chargeback_ratenumber
total_boleto_generatednumber
total_boleto_paidnumber
boleto_ratenumber

Example response

{
  "credit_card_approval_rate": 50,
  "total_sales": 3,
  "total_net_amount": 25956,
  "refund_rate": 25,
  "total_boleto_generated": 2,
  "total_boleto_paid": 1,
  "boleto_rate": 50
}

Changes

No recorded changes to this operation across all 2 revisions of this API.