Skip to main content

Get Payment (V2)

GET 

/api/xero/v2/payments/:payment

Get a single synced Xero payment — amount, bank account, reconciliation state, the Xero invoice it was applied to (invoice_id/invoice_number), the reverse link to the SKU.io payment's source record (sku_link_type/sku_link_id/sku_link_reference), and sync metadata. Payments have no line items and no accounting-transaction link; sync health is derived from last_error (null = OK). Datetimes are UTC ISO-8601.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Path parameters:

  • payment (integer, required): internal payment record ID — the id returned by List Payments (V2).

Returns 404 when no payment with that ID exists.

Authentication: Bearer token.

Returns raw_payload (the full raw Xero payload); present only on the detail/show endpoint.

Request

Responses

OK

Response Headers
    Content-Type