Pay by idir.ai

Documentation

Official guides to configure and use Pay by idir.ai.

API use cases

Public API documentation becomes far more valuable when it does more than describe endpoints. It should also explain which teams and workflows benefit from the API, which integration pattern fits best, and which operational limits matter.

Internal reporting

  • List invoices by date range for internal dashboards.
  • Segment by business and status for reconciliation and closing tasks.
  • Use pagination instead of assuming a single request should return everything.

ERP or CRM synchronization

  • Read clients or invoices into an internal operating system.
  • Use separate tokens per business or environment to avoid scope mixing.
  • Track the last successful sync in your own system.

Custom portals or back offices

  • Expose operating data to a finance team without giving access to the full dashboard.
  • Filter by business and status instead of trying to clone the entire app.
  • Keep your own permission layer if the API feeds internal interfaces.

Implementation best practices

  • Use the smallest possible token scope.
  • Never expose API tokens in a public frontend.
  • Document retry behavior, pagination, and expected errors.
  • Pair each use case with examples and security rules.