Obter MRR (Monthly Recurring Revenue)

Changed on

Retorna o MRR (receita recorrente mensal) e o total de assinaturas ativas da loja. Os dois campos são objetos: o número fica em value. Use o token mrr_ gerado no app Trust MRR.

get/public-mrr/mrr

Request

  • Base URL
    https://api.abacatepay.com/v2
  • URL
    https://api.abacatepay.com/v2/public-mrr/mrr
  • Auth
    HTTP bearer

Response

Dados de MRR retornados com sucesso.

errorstring nullable
successboolean

Se a requisição obteve sucesso ou não.

Example response

{
  "data": {
    "mrr": {
      "currency": "BRL",
      "value": 129900
    },
    "totalActiveSubscriptions": {
      "currency": "BRL",
      "value": 12
    }
  },
  "success": true
}

Changes

    • breaking

      the / response's property type changed from number to object for status

    • breaking

      the / response's property type changed from integer to object for status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status