Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions providers/worldpay/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"label": "Worldpay",
"configs": {
"latest_version": "v1",
"topic_identifier": "eventDetails.type"
},
"provenance": {
"v1": {
"sourced_via": "docs",
"sourced_on": "2026-11-27"
}
}
}
68 changes: 68 additions & 0 deletions providers/worldpay/v1/authorized.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"headers": {
"content-type": "application/vnd.worldpay.events-v1.hal+json"
},
"body": {
"eventId": "bb55ca5a-e05c-47e1-8e94-e88bac1a0a17",
"eventTimestamp": "2018-06-13T14:18:13.407",
"eventDetails": {
"classification": "payment",
"downstreamReference": "3378792436",
"orderReference": "my-order-ref",
"transactionReference": "Memory265-13/08/1876",
"paymentId": "payI-dUcet9fk4_X4qZU0hpU0",
"commandId": "cmd-Rjc4HJwnBdj3Ri9v10vT0",
"type": "authorized",
"date": "2017-11-03",
"merchant": {
"entity": "default"
},
"amount": {
"value": 100,
"currencyCode": "EUR"
},
"riskFactors": [
{
"type": "avs",
"risk": "notMatched",
"detail": "postcode"
}
],
"issuer": {
"authorizationCode": "T75725"
},
"scheme": {
"reference": "MCCOLXT1C0104 "
},
"updatedPaymentInstrument": {
"appliedNetworkToken": true
},
"paymentInstrument": {
"cardBin": "555555",
"lastFour": "5555",
"category": "consumer",
"countryCode": "GB",
"expiryDate": {
"month": "9",
"year": "2029"
},
"cardBrand": "visa",
"fundingType": "credit",
"issuerName": "An Irish Bank",
"paymentAccountReference": "321ABC"
},
"_links": {
"payment": {
"href": ""
}
}
}
},
"topic": "authorized",
"source": {
"type": "vendor-documentation",
"url": "https://docs.worldpay.com/access/products/hosted-payment-pages/webhooks",
"retrieved": "2026-11-27"
},
"note": "Worldpay Hosted Payment Pages worked example, published complete. The HPP page and the card/APM events product emit the same envelope, and these are the only complete bodies Worldpay publishes for it \u2014 the events product's own pages publish none. `_links.payment.href` is an empty string in Worldpay's own example and is left exactly as published rather than filled in with an invented URL."
}
33 changes: 33 additions & 0 deletions providers/worldpay/v1/cancelled.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"headers": {
"content-type": "application/vnd.worldpay.events-v1.hal+json"
},
"body": {
"eventId": "bb55ca5a-e05c-47e1-8e94-e88bac1a0a17",
"eventTimestamp": "2018-06-13T14:18:13.407",
"eventDetails": {
"classification": "payment",
"downstreamReference": "3378792436",
"transactionReference": "Memory265-13/08/1876",
"reference": "ABC123",
"type": "cancelled",
"date": "2017-11-03",
"amount": {
"value": 100,
"currencyCode": "EUR"
},
"_links": {
"payment": {
"href": ""
}
}
}
},
"topic": "cancelled",
"source": {
"type": "vendor-documentation",
"url": "https://docs.worldpay.com/access/products/hosted-payment-pages/webhooks",
"retrieved": "2026-11-27"
},
"note": "Worldpay Hosted Payment Pages worked example, published complete. The HPP page and the card/APM events product emit the same envelope, and these are the only complete bodies Worldpay publishes for it \u2014 the events product's own pages publish none. `_links.payment.href` is an empty string in Worldpay's own example and is left exactly as published rather than filled in with an invented URL."
}
28 changes: 28 additions & 0 deletions providers/worldpay/v1/error.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"headers": {
"content-type": "application/vnd.worldpay.events-v1.hal+json"
},
"body": {
"eventId": "bb55ca5a-e05c-47e1-8e94-e88bac1a0a17",
"eventTimestamp": "2018-06-13T14:18:13.407",
"eventDetails": {
"classification": "payment",
"downstreamReference": "3378792436",
"transactionReference": "Memory265-13/08/1876",
"type": "error",
"date": "2017-11-03",
"_links": {
"payment": {
"href": ""
}
}
}
},
"topic": "error",
"source": {
"type": "vendor-documentation",
"url": "https://docs.worldpay.com/access/products/hosted-payment-pages/webhooks",
"retrieved": "2026-11-27"
},
"note": "Worldpay Hosted Payment Pages worked example, published complete. The HPP page and the card/APM events product emit the same envelope, and these are the only complete bodies Worldpay publishes for it \u2014 the events product's own pages publish none. `_links.payment.href` is an empty string in Worldpay's own example and is left exactly as published rather than filled in with an invented URL."
}
32 changes: 32 additions & 0 deletions providers/worldpay/v1/expired.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"headers": {
"content-type": "application/vnd.worldpay.events-v1.hal+json"
},
"body": {
"eventId": "bb55ca5a-e05c-47e1-8e94-e88bac1a0a17",
"eventTimestamp": "2018-06-13T14:18:13.407",
"eventDetails": {
"classification": "payment",
"downstreamReference": "3378792436",
"transactionReference": "Memory265-13/08/1876",
"type": "expired",
"date": "2017-11-03",
"amount": {
"value": 100,
"currencyCode": "EUR"
},
"_links": {
"payment": {
"href": ""
}
}
}
},
"topic": "expired",
"source": {
"type": "vendor-documentation",
"url": "https://docs.worldpay.com/access/products/hosted-payment-pages/webhooks",
"retrieved": "2026-11-27"
},
"note": "Worldpay Hosted Payment Pages worked example, published complete. The HPP page and the card/APM events product emit the same envelope, and these are the only complete bodies Worldpay publishes for it \u2014 the events product's own pages publish none. `_links.payment.href` is an empty string in Worldpay's own example and is left exactly as published rather than filled in with an invented URL."
}
45 changes: 45 additions & 0 deletions providers/worldpay/v1/refundFailed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"headers": {
"content-type": "application/vnd.worldpay.events-v1.hal+json"
},
"body": {
"eventId": "bb55ca5a-e05c-47e1-8e94-e88bac1a0a17",
"eventTimestamp": "2018-06-13T14:18:13.407",
"eventDetails": {
"classification": "payment",
"downstreamReference": "3378792436",
"orderReference": "my-order-ref",
"transactionReference": "Memory265-13/08/1876",
"paymentId": "payI-dUcet9fk4_X4qZU0hpU0",
"commandId": "cmd-Rjc4HJwnBdj3Ri9v10vT0",
"type": "refundFailed",
"date": "2017-11-03",
"merchant": {
"entity": "default"
},
"reference": "ABC123",
"refund": {
"refusal": {
"code": "5",
"description": "Do not honor"
}
},
"amount": {
"value": 100,
"currencyCode": "EUR"
},
"_links": {
"payment": {
"href": ""
}
}
}
},
"topic": "refundFailed",
"source": {
"type": "vendor-documentation",
"url": "https://docs.worldpay.com/access/products/hosted-payment-pages/webhooks",
"retrieved": "2026-11-27"
},
"note": "Worldpay Hosted Payment Pages worked example, published complete. The HPP page and the card/APM events product emit the same envelope, and these are the only complete bodies Worldpay publishes for it \u2014 the events product's own pages publish none. `_links.payment.href` is an empty string in Worldpay's own example and is left exactly as published rather than filled in with an invented URL."
}
65 changes: 65 additions & 0 deletions providers/worldpay/v1/refused.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"headers": {
"content-type": "application/vnd.worldpay.events-v1.hal+json"
},
"body": {
"eventId": "bb55ca5a-e05c-47e1-8e94-e88bac1a0a17",
"eventTimestamp": "2018-06-13T14:18:13.407",
"eventDetails": {
"classification": "payment",
"downstreamReference": "3378792436",
"orderReference": "my-order-ref",
"transactionReference": "Memory265-13/08/1876",
"paymentId": "payI-dUcet9fk4_X4qZU0hpU0",
"commandId": "cmd-Rjc4HJwnBdj3Ri9v10vT0",
"merchant": {
"entity": "default"
},
"type": "refused",
"riskFactors": [
{
"type": "avs",
"risk": "notMatched",
"detail": "postcode"
}
],
"issuer": {
"authorizationCode": "T75725"
},
"scheme": {
"reference": "MCCOLXT1C0104 "
},
"updatedPaymentInstrument": {
"appliedNetworkToken": true
},
"paymentInstrument": {
"cardBin": "555555",
"lastFour": "5555",
"category": "consumer",
"countryCode": "GB",
"expiryDate": {
"month": "9",
"year": "2029"
},
"cardBrand": "visa",
"fundingType": "credit",
"issuerName": "An Irish Bank",
"paymentAccountReference": "321ABC"
},
"date": "2017-11-03",
"octReference": "12345",
"_links": {
"payment": {
"href": ""
}
}
}
},
"topic": "refused",
"source": {
"type": "vendor-documentation",
"url": "https://docs.worldpay.com/access/products/hosted-payment-pages/webhooks",
"retrieved": "2026-11-27"
},
"note": "Worldpay Hosted Payment Pages worked example, published complete. The HPP page and the card/APM events product emit the same envelope, and these are the only complete bodies Worldpay publishes for it \u2014 the events product's own pages publish none. `_links.payment.href` is an empty string in Worldpay's own example and is left exactly as published rather than filled in with an invented URL."
}
32 changes: 32 additions & 0 deletions providers/worldpay/v1/sentForAuthorization.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"headers": {
"content-type": "application/vnd.worldpay.events-v1.hal+json"
},
"body": {
"eventId": "bb55ca5a-e05c-47e1-8e94-e88bac1a0a17",
"eventTimestamp": "2018-06-13T14:18:13.407",
"eventDetails": {
"classification": "payment",
"downstreamReference": "3378792436",
"transactionReference": "Memory265-13/08/1876",
"type": "sentForAuthorization",
"date": "2017-11-03",
"amount": {
"value": 100,
"currencyCode": "EUR"
},
"_links": {
"payment": {
"href": ""
}
}
}
},
"topic": "sentForAuthorization",
"source": {
"type": "vendor-documentation",
"url": "https://docs.worldpay.com/access/products/hosted-payment-pages/webhooks",
"retrieved": "2026-11-27"
},
"note": "Worldpay Hosted Payment Pages worked example, published complete. The HPP page and the card/APM events product emit the same envelope, and these are the only complete bodies Worldpay publishes for it \u2014 the events product's own pages publish none. `_links.payment.href` is an empty string in Worldpay's own example and is left exactly as published rather than filled in with an invented URL."
}
44 changes: 44 additions & 0 deletions providers/worldpay/v1/sentForRefund.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"headers": {
"content-type": "application/vnd.worldpay.events-v1.hal+json"
},
"body": {
"eventId": "bb55ca5a-e05c-47e1-8e94-e88bac1a0a17",
"eventTimestamp": "2018-06-13T14:18:13.407",
"eventDetails": {
"classification": "payment",
"downstreamReference": "3378792436",
"orderReference": "my-order-ref",
"transactionReference": "Memory265-13/08/1876",
"paymentId": "payI-dUcet9fk4_X4qZU0hpU0",
"commandId": "cmd-Rjc4HJwnBdj3Ri9v10vT0",
"type": "sentForRefund",
"date": "2017-11-03",
"merchant": {
"entity": "default"
},
"reference": "ABC123",
"refund": {
"onlineRefundAuthorization": "987654"
},
"octReference": "12345",
"fastRefund": "attempted",
"amount": {
"value": 100,
"currencyCode": "EUR"
},
"_links": {
"payment": {
"href": ""
}
}
}
},
"topic": "sentForRefund",
"source": {
"type": "vendor-documentation",
"url": "https://docs.worldpay.com/access/products/hosted-payment-pages/webhooks",
"retrieved": "2026-11-27"
},
"note": "Worldpay Hosted Payment Pages worked example, published complete. The HPP page and the card/APM events product emit the same envelope, and these are the only complete bodies Worldpay publishes for it \u2014 the events product's own pages publish none. `_links.payment.href` is an empty string in Worldpay's own example and is left exactly as published rather than filled in with an invented URL."
}
Loading
Loading