Skip to content

Commit 9c2df52

Browse files
committed
Updated API from documentation release
1 parent d881c2a commit 9c2df52

19 files changed

+55
-53
lines changed

api-specs/api/types/event/CheckoutOrderCreationFailedEvent.raml renamed to api-specs/api/types/event/checkout/CheckoutOrderCreationFailedEvent.raml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ type: Event
44
displayName: CheckoutOrderCreationFailedEvent
55
description: |
66
Generated when an order creation attempt fails in Checkout. This event includes information about why the order could not be created.
7-
example: !include ../../examples/Event/CheckoutOrderCreationFailed.json
7+
example: !include ../../../examples/Event/CheckoutOrderCreationFailed.json
88
discriminatorValue: CheckoutOrderCreationFailed
99
properties:
1010
resourceType:
1111
type: EventSubscriptionResourceTypeId
12-
default: 'checkout'
12+
default: checkout
1313
data:
1414
type: CheckoutMessageOrderPayloadBaseData
1515
description: |

api-specs/api/types/event/CheckoutPaymentAuthorizationCancelledEvent.raml renamed to api-specs/api/types/event/checkout/CheckoutPaymentAuthorizationCancelledEvent.raml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ type: Event
44
displayName: CheckoutPaymentAuthorizationCancelledEvent
55
description: |
66
Generated when a payment authorization is successfully cancelled in Checkout. This event indicates that the payment is cancelled before it is charged.
7-
example: !include ../../examples/Event/CheckoutPaymentAuthorizationCancelled.json
7+
example: !include ../../../examples/Event/CheckoutPaymentAuthorizationCancelled.json
88
discriminatorValue: CheckoutPaymentAuthorizationCancelled
99
properties:
1010
resourceType:
1111
type: EventSubscriptionResourceTypeId
12-
default: 'checkout'
12+
default: checkout
1313
data:
1414
type: CheckoutMessagePaymentsPayloadBaseData
1515
description: |

api-specs/api/types/event/CheckoutPaymentAuthorizationFailedEvent.raml renamed to api-specs/api/types/event/checkout/CheckoutPaymentAuthorizationFailedEvent.raml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ type: Event
44
displayName: CheckoutPaymentAuthorizationFailedEvent
55
description: |
66
Generated when an attempt to authorize a payment fails in Checkout. This failure could result from insufficient funds, incorrect payment details, expired cards, or risk related rejections.
7-
example: !include ../../examples/Event/CheckoutPaymentAuthorizationFailed.json
7+
example: !include ../../../examples/Event/CheckoutPaymentAuthorizationFailed.json
88
discriminatorValue: CheckoutPaymentAuthorizationFailed
99
properties:
1010
resourceType:
1111
type: EventSubscriptionResourceTypeId
12-
default: 'checkout'
12+
default: checkout
1313
data:
1414
type: CheckoutMessagePaymentsPayloadBaseData
1515
description: |

api-specs/api/types/event/CheckoutPaymentAuthorizedEvent.raml renamed to api-specs/api/types/event/checkout/CheckoutPaymentAuthorizedEvent.raml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
type: Event
44
displayName: CheckoutPaymentAuthorizedEvent
55
description: |
6-
Generated when a payment is successfully authorized in Checkout. This event indicates the payment has been validated and the amount has been reserved but not yet charged.
7-
example: !include ../../examples/Event/CheckoutPaymentAuthorized.json
6+
Generated when a payment is successfully authorized in Checkout. This event indicates that the payment has been validated and the amount has been reserved but not yet charged.
7+
example: !include ../../../examples/Event/CheckoutPaymentAuthorized.json
88
discriminatorValue: CheckoutPaymentAuthorized
99
properties:
1010
resourceType:
1111
type: EventSubscriptionResourceTypeId
12-
default: 'checkout'
12+
default: checkout
1313
data:
1414
type: CheckoutMessagePaymentsPayloadBaseData
1515
description: |

api-specs/api/types/event/CheckoutPaymentCancelAuthorizationFailedEvent.raml renamed to api-specs/api/types/event/checkout/CheckoutPaymentCancelAuthorizationFailedEvent.raml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ type: Event
44
displayName: CheckoutPaymentCancelAuthorizationFailedEvent
55
description: |
66
Generated when an attempt to cancel a payment authorization fails in Checkout. This could happen if the authorization has already been expired, been captured already or no longer valid.
7-
example: !include ../../examples/Event/CheckoutPaymentCancelAuthorizationFailed.json
7+
example: !include ../../../examples/Event/CheckoutPaymentCancelAuthorizationFailed.json
88
discriminatorValue: CheckoutPaymentCancelAuthorizationFailed
99
properties:
1010
resourceType:
1111
type: EventSubscriptionResourceTypeId
12-
default: 'checkout'
12+
default: checkout
1313
data:
1414
type: CheckoutMessagePaymentsPayloadBaseData
1515
description: |

api-specs/api/types/event/CheckoutPaymentChargeFailedEvent.raml renamed to api-specs/api/types/event/checkout/CheckoutPaymentChargeFailedEvent.raml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ type: Event
44
displayName: CheckoutPaymentChargeFailedEvent
55
description: |
66
Generated when an attempt to charge a payment fails in Checkout. Even if a payment was previously authorized, charging it may still fail.
7-
example: !include ../../examples/Event/CheckoutPaymentChargeFailed.json
7+
example: !include ../../../examples/Event/CheckoutPaymentChargeFailed.json
88
discriminatorValue: CheckoutPaymentChargeFailed
99
properties:
1010
resourceType:
1111
type: EventSubscriptionResourceTypeId
12-
default: 'checkout'
12+
default: checkout
1313
data:
1414
type: CheckoutMessagePaymentsPayloadBaseData
1515
description: |

api-specs/api/types/event/CheckoutPaymentChargedEvent.raml renamed to api-specs/api/types/event/checkout/CheckoutPaymentChargedEvent.raml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ type: Event
44
displayName: CheckoutPaymentChargedEvent
55
description: |
66
Generated when a payment is successfully charged in Checkout. This event indicates that the authorized amount has been successfully debited from your customer's account.
7-
example: !include ../../examples/Event/CheckoutPaymentChargedEvent.json
7+
example: !include ../../../examples/Event/CheckoutPaymentChargedEvent.json
88
discriminatorValue: CheckoutPaymentCharged
99
properties:
1010
resourceType:
1111
type: EventSubscriptionResourceTypeId
12-
default: 'checkout'
12+
default: checkout
1313
data:
1414
type: CheckoutMessagePaymentsPayloadBaseData
1515
description: |

api-specs/api/types/event/CheckoutPaymentRefundFailedEvent.raml renamed to api-specs/api/types/event/checkout/CheckoutPaymentRefundFailedEvent.raml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ type: Event
44
displayName: CheckoutPaymentRefundFailedEvent
55
description: |
66
Generated when an attempt to refund a payment refund fails in Checkout. This failure indicates that the planned refund amount was not successfully sent to your customer’s account.
7-
example: !include ../../examples/Event/CheckoutPaymentRefundFailed.json
7+
example: !include ../../../examples/Event/CheckoutPaymentRefundFailed.json
88
discriminatorValue: CheckoutPaymentRefundFailed
99
properties:
1010
resourceType:
1111
type: EventSubscriptionResourceTypeId
12-
default: 'checkout'
12+
default: checkout
1313
data:
1414
type: CheckoutMessagePaymentsPayloadBaseData
1515
description: |

api-specs/api/types/event/CheckoutPaymentRefundedEvent.raml renamed to api-specs/api/types/event/checkout/CheckoutPaymentRefundedEvent.raml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ type: Event
44
displayName: CheckoutPaymentRefundedEvent
55
description: |
66
Generated when a payment is successfully refunded in Checkout. This event confirms that the refund has been processed and sent to your customer.
7-
example: !include ../../examples/Event/CheckoutPaymentRefunded.json
7+
example: !include ../../../examples/Event/CheckoutPaymentRefunded.json
88
discriminatorValue: CheckoutPaymentRefunded
99
properties:
1010
resourceType:
1111
type: EventSubscriptionResourceTypeId
12-
default: 'checkout'
12+
default: checkout
1313
data:
1414
type: CheckoutMessagePaymentsPayloadBaseData
1515
description: |

api-specs/api/types/event/ImportContainerCreatedEvent.raml renamed to api-specs/api/types/event/import/ImportContainerCreatedEvent.raml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ type: Event
44
displayName: ImportContainerCreatedEvent
55
description: Generated when an [Import Container](ctp:import:type:ImportContainer) is created.
66
discriminatorValue: ImportContainerCreated
7-
example: !include ../../examples/Event/ImportContainerCreatedEvent.json
7+
example: !include ../../../examples/Event/ImportContainerCreatedEvent.json
88
properties:
99
resourceType:
1010
type: EventSubscriptionResourceTypeId
11-
default: 'import-api'
11+
default: import-api
1212
data:
1313
type: ImportContainerCreatedEventData
1414
description: |

0 commit comments

Comments
 (0)