Passer au contenu

📊 Get mandate statistics

Requête

Get mandate statistics for a sponsor.

Returns the total number of mandates and average number of mandates per client for the sponsor identified by the X-PDP-Sponsor-Id header.

Sécurité
APIKeyHeader
curl -i -X GET \
  https://pdp.seqino.dev/api/usage/mandates \
  -H 'Authorization: YOUR_API_KEY_HERE'

Réponses

Mandate statistics for the sponsor

Corpsapplication/json
total_mandatesinteger(Total Mandates)obligatoire

Total number of mandates for the sponsor

average_mandates_per_clientnumber(Average Mandates Per Client)obligatoire

Average number of mandates per client

Response
{ "total_mandates": 0, "average_mandates_per_client": 0 }