Skip to main content
Version: Next

Messages summary

Information

This endpoint provides a summary of transactions processed by the platform.

  • total: Total number of transactions processed.
  • input: Number of invoices received.
  • output: Number of invoices sent.
  • errors: Number of errors encountered.
  • processing: Number of invoices currently being processed.
This endpoint is synchronous
The role admin is needed in order to use this endpoint
Endpoints

GET/v1/stats/{network}/summary/{interval}

Path parameters
networkstring - Required

intervalstring - Required



Request

GET /v1/stats/{network}/summary/{interval}


curl -X 'GET' https://api.ppd.iopole.fr//v1/stats/9ca2d4fa-0708-4cf5-85ca-cb2cf2eced52/summary/day'
-H 'accept: */*'
-H 'Authorization: ${token}'

Response

Status: 200 - application/json

Description: List of errors

Schema:

  • total: number
  • input: number
  • output: number
  • errors: number
  • processing: number

Status: 401

Description: Unauthorized - Authentication is required and has failed or has not yet been provided.

Status: 403

Description: Forbidden - The server understood the request, but it refuses to authorize it. Note: This endpoint requires an admin account.