Skip to content

Agents APIPayments & Insurance

Programmatically intermediate payments and insurance applications for your clients through a Hypermedia-driven REST API.

How This API Works ​

The Agents API is a HATEOAS (Hypermedia as the Engine of Application State) API. Instead of memorizing endpoint URLs, you start at the root and follow links to navigate through available actions.

Every response contains a links array. Each link has a rel (relation type) that tells you what it does, and an href that tells you where to go. You never construct URLs yourself — you discover them.

New to HATEOAS?

Start with the Core Concepts section to understand how hypermedia-driven APIs work, then follow one of the step-by-step flow guides.

Reference ​

The Reference section is the authoritative catalogue of every relation, profile, and JSON Schema the API uses. Pick a domain and dive in:

DomainRelationsProfilesSchemas
Common — shared across both APIsRelationsProfilesSchemas
Payments — Payments-only extensionsRelationsProfilesSchemas
Insurance — Insurance-only extensionsRelationsProfilesSchemas

Where to look first

  • Need to know what a link rel means? → Relations.
  • Need to know what shape a response is? → Profiles.
  • Need the exact JSON Schema of a request or response body? → Schemas.

Flywire Agents API Documentation