Skip to content

Payment Status Updated ​

Sent when a payment is recorded or its status changes. Use it to keep your own systems in sync with the lifecycle of payments you intermediate — without polling the API.

This page describes the data payload only. It is wrapped in the standard callback envelope (id, occurredOn, data) and delivered with the headers described in the Callbacks Overview.

  • Event type: payment.status.updated
  • Content-Type: application/vnd.flywire.payment.status.updated+json;version=1.0

data ​

FieldTypeDescription
paymentstringPayment identifier. Required.
statusstringCurrent payment status. Required.
referencestring (UUID)Reference of what the payment originated from — the payment request ID when it comes from a payment request, or the payment initialization ID when it comes from an API initialization. Omitted otherwise.
experienceIdstring (UUID)Identifier of the payment experience the payment originates from — matches the experienceId exposed by the API. Present only when the payment is linked to a payment experience.
policyReferencestringReference of the insurance policy the payment pays for — matches the policy.reference exposed by the Insurance API (e.g. INS-2026-00042981). Present only when the payment is linked to an insurance policy.
subjectIdnumberIdentifier of the subject (contact) associated with the payment, when available. Optional.

reference and experienceId are mutually exclusive

A payment status update carries at most one of these, depending on how the payment originated:

  • reference — present when the payment comes from a payment request (the payment request ID) or an API initialization (the payment initialization ID).
  • experienceId — present when the payment originates from a payment experience.

They never appear together, and neither is present for payments from other origins.

Correlating with a payment experience

When present, experienceId matches the id of a payment-experience you created earlier. Store that id when you set up the experience so you can tie incoming status updates back to it, or use the root's payment-experience-details templated link to fetch the experience by that id.

Correlating with an insurance policy

When present, policyReference matches the policy.reference of an intermediated-insurance-application. Use it to tie incoming status updates back to the policy being paid — see Manage Insurance Policies. It is independent of reference: an insurance payment made through a payment request carries both the payment request ID in reference and the policy in policyReference.

Examples ​

A payment originating from a payment experience carries experienceId:

json
{
  "id": "9f1c8d7e-2a3b-4c5d-8e6f-0a1b2c3d4e5f",
  "occurredOn": "2026-03-15T08:55:00Z",
  "data": {
    "payment": "ABK123456",
    "status": "DELIVERED",
    "experienceId": "7c2e4d1a-5b6f-4c8d-9e0a-1b2c3d4e5f60",
    "subjectId": 42
  }
}

A payment originating from a payment request or an API initialization carries reference instead (here, a payment request ID):

json
{
  "id": "1d2e3f4a-5b6c-4d7e-8f90-a1b2c3d4e5f6",
  "occurredOn": "2026-03-15T09:10:00Z",
  "data": {
    "payment": "ABK123457",
    "status": "DELIVERED",
    "reference": "3b6c1f2a-9d4e-4a7b-8c1d-2e3f4a5b6c7d",
    "subjectId": 42
  }
}

A payment for an insurance policy also carries policyReference:

json
{
  "id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
  "occurredOn": "2026-03-23T11:05:00Z",
  "data": {
    "payment": "ABK123458",
    "status": "DELIVERED",
    "reference": "8e9f0a1b-2c3d-4e5f-9a6b-7c8d9e0f1a2b",
    "policyReference": "INS-2026-00042981",
    "subjectId": 42
  }
}
JSON Schema — flywire.agents.payment.status.updated.1-0
json
{
  "$id": "https://agents.flywire.com/api/schemas/flywire.agents.payment.status.updated.1-0.schema.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Payment status updated object.",
  "type": "object",
  "required": ["id", "occurredOn", "data"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Event id."
    },
    "occurredOn": {
      "description": "ISO-8601 event date/timestamp.",
      "type": "string",
      "format": "date-time"
    },
    "data": {
      "type": "object",
      "required": ["payment", "status"],
      "properties": {
        "payment": {
          "type": "string",
          "description": "Payment ID."
        },
        "reference": {
          "type": "string",
          "description": "Payment reference."
        },
        "status": {
          "type": "string",
          "description": "Payment status."
        },
        "experienceId": {
          "type": "string",
          "format": "uuid",
          "description": "Id of the payment experience the payment originates from (matches the `experienceId` exposed by api v2). Omitted when the payment is not linked to a payment experience."
        },
        "policyReference": {
          "type": "string",
          "description": "Reference of the insurance policy the payment pays for. Omitted when the payment is not linked to an insurance policy."
        }
      }
    }
  }
}

TIP

subjectId is delivered in the callback payload when available, but is not part of the published JSON Schema above. Treat it as an optional, informational field.

Flywire Agents API Documentation