Payments

Retrieve a payment

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

get/api/v1/payments/{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
object'payment' required
livemodeboolean required
createdAtstring date-time required
status'pending' | 'succeeded' | 'failed' | 'cancelled' required
amountMinorinteger required
amountRefundedMinorinteger required
refundedboolean required
currencystring required
customerIdstring nullable
subscriptionIdstring nullable
checkoutSessionIdstring nullable
paymentLinkIdstring nullable
receiptNumberstring nullable
receiptUrlstring nullable
referencestring nullable
metadataobject required

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

disputedboolean required

Changes

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