Skip to main content
GET
/
public-mrr
/
revenue
Obter receita por período
curl --request GET \
  --url https://api.abacatepay.com/v1/public-mrr/revenue \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "totalRevenue": 150000,
    "totalTransactions": 45,
    "transactionsPerDay": {
      "2024-01-15": {
        "amount": 5000,
        "count": 3
      },
      "2024-01-16": {
        "amount": 3000,
        "count": 2
      }
    }
  },
  "error": null
}

Authorizations

Authorization
string
header
required

Query Parameters

startDate
string<date>
required
Example:
endDate
string<date>
required
Example:

Response

data
object
error
null