Skip to main content

Logging and Support

What IXOPAY logs​

IXOPAY writes structured log entries for Payment Agent activity. Each entry has a timestamp, a level (DEBUG, INFO, WARN or ERROR), the module, a message, a correlation ID and W3C trace identifiers.

The structured logger masks some recognized fields. Checkout logs can contain a full token reference. Treat logs as sensitive and redact them before sharing.

  • Card numbers keep only the first six and last four digits.
  • CVV values are replaced with ***.
  • Any field named like a secret, password or private key is replaced with [REDACTED_SECRET].

You can't read IXOPAY's logs. If you need a request looked up, contact support and quote the identifiers below.

Identify a request​

Save the tx-refid response header. The gateway also includes it as ReferenceNumber in JSON objects on /v1/*. You may supply a tx-refid request header. If you omit it, the gateway generates a 21-digit reference. Treat it as a string so you preserve every digit.

Send your own unique X-Correlation-Id header on each call. The Payment Agent logs it and returns it in the X-Correlation-ID response header. If you don't send one, the Payment Agent generates one and still returns it.

The Payment Agent also supports W3C Trace Context. If you send a valid traceparent header, it continues your trace. The traceparent and tracestate values come back in the response headers either way.

Payment responses also include X-Gateway-Routing-Latency-Ms, which separates the Payment Agent's own processing time from card-network time.

Keep your own records​

For every payment and refund, store:

  • Your order ID, the sessionId and the transactionId.
  • The invoiceHash and the amount and currency you locked.
  • The reference number, correlation ID, the HTTP status, and any error code.
  • UTC timestamps for each call.
  • The eventId, event type and reconciliation result for each webhook.
  • A reference to the access-controlled gateway audit record. Retain original authorization and processor evidence in their appropriate systems.

Never log card numbers, CVVs, full tokens, signatures, mandates, your API key or your webhook signing secret.

Contact support​

Contact your IXOPAY integration manager. Include:

  • The error code.
  • The approximate UTC time.
  • The sessionId or transactionId.
  • The request reference (tx-refid) and correlation ID.

Never send card data, tokens, signatures or private keys.