Webhooks Support
Unified Checkout
supports webhooks. You can use webhooks to obtain the
complete response from the service orchestration service. To receive a webhook
notification, you must first subscribe to the webhook. For information on setting up a
webhook, see the Set Up Webhooks section of the Webhooks
Developer Guide
. IMPORTANT
Webhook payloads are encrypted. In order
to receive a
Unified Checkout
webhook notification, you must upload
your public key to the Barclays
key management system.Product ID | Event Types | Description |
---|---|---|
unifiedCheckout | uc.orders.transactionresults | Full payload response from the payment service call made by
Unified Checkout |
Example: Webhooks Request for
Unified Checkout
Events{ "organizationId": "ps_hpa", "webhookId": "2d55e648-d96c-d727-e063-3cb8d30a938e", "productId": "unifiedCheckout", "requestType": "NEW", "payload": { "details": { "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/7435188899356405003091/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/7435188899356405003091" }, "capture": { "method": "POST", "href": "/pts/v2/payments/7435188899356405003091/captures" } }, "clientReferenceInformation": { "code": "1743518889914", "transactionId": "123456789ABCDEFGHIJKLMNOPQRST1" }, "consumerAuthenticationInformation": { "token": "Axj/7wSTkw/5TqVCHfNTABEg1auGjlgybQ3FmNXmxaSiXV63TywFRLq9bp5ekDpxBPjhk23GVpz0tI7gTk5MP+U6lQh3zUwA0TVW" }, "id": "7435188899356405003091", "orderInformation": { "amountDetails": { "authorizedAmount": "100.00", "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "scheme": "VISA DEBIT", "bin": "411111", "accountType": "Visa Classic", "issuer": "CONOTOXIA SP. Z O.O", "card": { "type": "001" }, "binCountry": "PL" }, "pointOfSaleInformation": { "terminalId": "092940" }, "processorInformation": { "merchantNumber": "000000012345678", "approvalCode": "888888", "networkTransactionId": "123456789619999", "transactionId": "123456789619999", "responseCode": "100", "avs": { "code": "X", "codeRaw": "I1" } }, "reconciliationId": "55849026C8YFWMER", "riskInformation": { "localTime": "7:48:10", "score": { "result": "0", "factorCodes": [ "B", "Q", "Y" ], "modelUsed": "default" }, "infoCodes": { "address": [ "INTL-SA", "MM-A", "MM-BIN", "MM-C", "MM-CO", "MM-ST", "MM-Z", "UNV-ADDR" ], "phone": [ "RISK-PH", "UNV-OC" ], "globalVelocity": [ "VELV-SA" ], "suspicious": [ "INTL-BIN", "RISK-SD" ], "identityChange": [ "MORPH-B", "MORPH-P", "MORPH-S" ] }, "profile": { "earlyDecision": "ACCEPT", "name": "Rob Demo", "selectorRule": "Rob" }, "casePriority": "1" }, "status": "AUTHORIZED", "submitTimeUtc": "2025-04-01T14:48:11Z" }, "id": "7435188899356405003091", "message": "Request processed successfully.", "outcome": "AUTHORIZED", "status": "AUTHORIZED" }, "retryNumber": 0, "eventType": "uc.orders.transactionresults", "eventDate": "2025-03-27T08:44:55", "transactionTraceId": "62dbbee0-c722-4ee0-b60c-1c2a62aff90e" }