Payments

Retrieve a transaction

Retrieve a transaction. Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.

get/api/v1/transactions/{id}

Request

  • Base URL
    https://merchant.zahlo.eu
  • Auth
    API key in header x-api-key

Path parameters

idstring required

The resource identifier returned by the merchant API.

Response

Successful response

idstring required
paymentIdstring required

The payment id (GET /api/v1/payments/{id}).

status'pending' | 'confirmed' | 'failed' | 'cancelled' | 'expired' required
method'card' | 'sepa_direct_debit' | 'klarna' | 'ideal' | 'bancontact' | 'apple_pay' | 'google_pay' | 'paypal' | 'unknown'
referencestring nullable
metadataobject

Up to 50 key-value pairs; keys up to 40 characters, values strings up to 500 characters.

createdAtstring date-time required
occurredAtstring date-time required

Example response

{
  "amount": {
    "currency": "EUR"
  },
  "fee": {
    "currency": "EUR"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.