GET
Retrieve a transaction

Authorizations

x-api-key
string
header
required

Server-side merchant API key. Never expose it in browser code.

Path Parameters

id
string
required

The resource identifier returned by the merchant API.

Response

Successful response

A merchant-scoped transaction projected from Zahlo's persisted payment record. Provider refresh is best effort; status and timeline fields remain stable when a provider is unavailable.

id
string
required
paymentId
string
required

Stable payment reference retained for compatibility.

status
enum<string>
required
Available options:
pending,
confirmed,
failed,
cancelled,
expired
amount
object
required
createdAt
string<date-time>
required
occurredAt
string<date-time>
required
method
enum<string>
Available options:
card,
sepa_direct_debit,
klarna,
ideal,
bancontact,
apple_pay,
google_pay,
paypal,
unknown
reference
string | null
fee
object