Skip to content

Commit ae16dc0

Browse files
committed
Updated API from documentation release
1 parent cd4568d commit ae16dc0

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
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: PaymentMethodNotAvailable
5+
discriminatorValue: payment_method_not_available
6+
description: |
7+
Generated when there is an error with the selected payment method and the payment method is unavailable.
8+
properties:
9+
code:
10+
type: string
11+
description:
12+
severity:
13+
type: string
14+
description: \`warn`
15+
message:
16+
type: string
17+
description: Payment method not available.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
21+
payload:
22+
type: object
23+
description: Contains the `method` object with the `type`, `id`, and `connectorId` properties.

api-specs/checkout/types/types.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ PaymentMethodSelected: !include responses/PaymentMethodSelected.raml
3939
PaymentMethodSelectionConfirmation: !include responses/PaymentMethodSelectionConfirmation.raml
4040
PaymentMethodSelectionConfirmationFailed: !include responses/PaymentMethodSelectionConfirmationFailed.raml
4141
PaymentMethodsReceived: !include responses/PaymentMethodsReceived.raml
42+
PaymentMethodNotAvailable: !include responses/PaymentMethodNotAvailable.raml
4243
PaymentCancelled: !include responses/PaymentCancelled.raml
4344
PaymentValidationFailed: !include responses/PaymentValidationFailed.raml
4445
PaymentValidationPassed: !include responses/PaymentValidationPassed.raml

0 commit comments

Comments
 (0)