v1

latestOpenAPI 3.1.02026-07-242325051.4 MB
Exchanges

Exchange:Info

Get detailed information regarding a specific exchange call, including the request and response body

get/exchanges/info/{code}

Path parameters

codestring required
Example:UL-1234-5678-9012

The unique identifier for the exchange entry (format: UL-xxxx-xxxx-xxxx)

Response

Payment state log details retrieved successfully

codestring required

Unique identifier for this payment state log entry

transactionCodestring nullable

The associated transaction code (if available)

orderIdstring nullable

The merchant's order identifier

status'OK' | 'NOK' required

Whether the webhook call was successful (OK) or failed (NOK)

actionstring required

The type of notification/action that triggered this webhook call

urlstring required

The merchant's webhook URL that was called

timeOfCallstring date-time nullable

Timestamp when the webhook call was made (ISO 8601 format)

responseTimeinteger nullable

Total response time in milliseconds

httpMethod'GET' | 'POST' required

The HTTP method used for the webhook call

exchangeMethod'TXT-GET' | 'TXT-POST' | 'XML-POST' | 'JSON-POST' | 'SIGNED-JSON' | 'ENCRYPTED' required

The data format/encoding method used for the exchange

responseCodeinteger required

HTTP response status code returned by the merchant's endpoint

amountinteger nullable

Transaction amount in cents

responseBodystring required

The raw response body received from the merchant's endpoint

Example response

{
  "code": "UL-1234-5678-9012",
  "transactionCode": "EX-1234-5678-9012",
  "orderId": "ORD-2025-001234",
  "status": "OK",
  "action": "payment:paid",
  "url": "https://merchant.example.com/webhooks/paynl",
  "timeOfCall": "2025-01-13T14:05:22Z",
  "responseTime": 298,
  "httpMethod": "POST",
  "exchangeMethod": "JSON-POST",
  "responseCode": 200,
  "paymentMethod": {
    "id": 10,
    "name": "iDEAL"
  },
  "amount": 2500,
  "responseBody": "TRUE",
  "service": {
    "code": "SL-1234-5678",
    "name": "My Webshop"
  }
}