Skip to content

Commit bc6c0e3

Browse files
committed
Updated API from documentation release
1 parent 8827089 commit bc6c0e3

File tree

4 files changed

+34
-10
lines changed

4 files changed

+34
-10
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#%RAML 1.0 DataType
2+
(annotations.package): responses
3+
type: ResponseMessage
4+
displayName: OrderVerificationRetryError
5+
discriminatorValue: order_verification_retry_error
6+
description: |
7+
Generated when retrying the verification of the [Order](/../api/projects/orders) results in an error.
8+
properties:
9+
code:
10+
type: string
11+
description:
12+
severity:
13+
type: string
14+
description: \`error`
15+
message:
16+
type: string
17+
description: Order verification retry error.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
21+
payload:
22+
type: object
23+
description: Contains the `error` property that can be either `orderReferenceNotAvailable` or `orderVerificationOngoing`.
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#%RAML 1.0 DataType
22
(annotations.package): responses
33
type: Message
4-
displayName: PaymentVerificationStarted
5-
discriminatorValue: payment_verification_started
4+
displayName: OrderVerificationStarted
5+
discriminatorValue: order_verification_started
66
description: |
7-
Generated when Checkout starts verifying the payment [authorization](/payments-lifecycle#authorization) given by the payment service provider (PSP).
7+
Generated when Checkout starts verifying the [Order](/../api/projects/orders).
88
properties:
99
code:
1010
type: string
@@ -14,7 +14,7 @@ properties:
1414
description: \`info`
1515
message:
1616
type: string
17-
description: Payment verification started.
17+
description: Order verification started.
1818
correlationId:
1919
type: string
2020
description: Unique identifier of the event.
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#%RAML 1.0 DataType
22
(annotations.package): responses
33
type: Message
4-
displayName: PaymentVerificationTimeout
5-
discriminatorValue: payment_verification_timeout
4+
displayName: OrderVerificationTimeout
5+
discriminatorValue: order_verification_timeout
66
description: |
7-
Generated when the verification of the payment [authorization](/payments-lifecycle#authorization) times out.
7+
Generated when the verification of the [Order](/../api/projects/orders) times out.
88
properties:
99
code:
1010
type: string
@@ -14,7 +14,7 @@ properties:
1414
description: \`error`
1515
message:
1616
type: string
17-
description: Payment verification timeout.
17+
description: Order verification timeout.
1818
correlationId:
1919
type: string
2020
description: Unique identifier of the event.

api-specs/checkout/types/types.raml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ NonOrderableCartError: !include responses/NonOrderableCartError.raml
6666
NotApplicableDiscountCodeRemoved: !include responses/NotApplicableDiscountCodeRemoved.raml
6767
OrderCreated: !include responses/OrderCreated.raml
6868
OrderCreationError: !include responses/OrderCreationError.raml
69+
OrderVerificationRetryError: !include responses/OrderVerificationRetryError.raml
70+
OrderVerificationStarted: !include responses/OrderVerificationStarted.raml
71+
OrderVerificationTimeout: !include responses/OrderVerificationTimeout.raml
6972
PaymentCancelled: !include responses/PaymentCancelled.raml
7073
PaymentFailed: !include responses/PaymentFailed.raml
7174
PaymentIntegrationLoaded: !include responses/PaymentIntegrationLoaded.raml
@@ -80,8 +83,6 @@ PaymentStarted: !include responses/PaymentStarted.raml
8083
PaymentValidationFailed: !include responses/PaymentValidationFailed.raml
8184
PaymentValidationPassed: !include responses/PaymentValidationPassed.raml
8285
PaymentValidationStarted: !include responses/PaymentValidationStarted.raml
83-
PaymentVerificationStarted: !include responses/PaymentVerificationStarted.raml
84-
PaymentVerificationTimeout: !include responses/PaymentVerificationTimeout.raml
8586
ProjectIsDeactivated: !include responses/ProjectIsDeactivated.raml
8687
RemoveDiscountCodeError: !include responses/RemoveDiscountCodeError.raml
8788
ResponseMessage: !include responses/ResponseMessage.raml

0 commit comments

Comments
 (0)