Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Apr 16, 2024
1 parent c3a2223 commit 1e890ff
Show file tree
Hide file tree
Showing 22 changed files with 95 additions and 68 deletions.
2 changes: 1 addition & 1 deletion json/PaymentService-v25.json
Original file line number Diff line number Diff line change
Expand Up @@ -2331,7 +2331,7 @@
"additionalProperties" : false,
"properties" : {
"value" : {
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
"description" : "Defines the number of installments.\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.\nThis value can be zero for Installments processed in Mexico.",
"format" : "int32",
"type" : "integer"
}
Expand Down
2 changes: 1 addition & 1 deletion json/PaymentService-v30.json
Original file line number Diff line number Diff line change
Expand Up @@ -2681,7 +2681,7 @@
"additionalProperties" : false,
"properties" : {
"value" : {
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
"description" : "Defines the number of installments.\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.\nThis value can be zero for Installments processed in Mexico.",
"format" : "int32",
"type" : "integer"
}
Expand Down
2 changes: 1 addition & 1 deletion json/PaymentService-v40.json
Original file line number Diff line number Diff line change
Expand Up @@ -3340,7 +3340,7 @@
"additionalProperties" : false,
"properties" : {
"value" : {
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
"description" : "Defines the number of installments.\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.\nThis value can be zero for Installments processed in Mexico.",
"format" : "int32",
"type" : "integer"
}
Expand Down
2 changes: 1 addition & 1 deletion json/PaymentService-v46.json
Original file line number Diff line number Diff line change
Expand Up @@ -3360,7 +3360,7 @@
"additionalProperties" : false,
"properties" : {
"value" : {
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
"description" : "Defines the number of installments.\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.\nThis value can be zero for Installments processed in Mexico.",
"format" : "int32",
"type" : "integer"
}
Expand Down
2 changes: 1 addition & 1 deletion json/PaymentService-v49.json
Original file line number Diff line number Diff line change
Expand Up @@ -3360,7 +3360,7 @@
"additionalProperties" : false,
"properties" : {
"value" : {
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
"description" : "Defines the number of installments.\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.\nThis value can be zero for Installments processed in Mexico.",
"format" : "int32",
"type" : "integer"
}
Expand Down
2 changes: 1 addition & 1 deletion json/PaymentService-v50.json
Original file line number Diff line number Diff line change
Expand Up @@ -3370,7 +3370,7 @@
"additionalProperties" : false,
"properties" : {
"value" : {
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
"description" : "Defines the number of installments.\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.\nThis value can be zero for Installments processed in Mexico.",
"format" : "int32",
"type" : "integer"
}
Expand Down
2 changes: 1 addition & 1 deletion json/PaymentService-v51.json
Original file line number Diff line number Diff line change
Expand Up @@ -3516,7 +3516,7 @@
"additionalProperties" : false,
"properties" : {
"value" : {
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
"description" : "Defines the number of installments.\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.\nThis value can be zero for Installments processed in Mexico.",
"format" : "int32",
"type" : "integer"
}
Expand Down
2 changes: 1 addition & 1 deletion json/PaymentService-v52.json
Original file line number Diff line number Diff line change
Expand Up @@ -3516,7 +3516,7 @@
"additionalProperties" : false,
"properties" : {
"value" : {
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
"description" : "Defines the number of installments.\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.\nThis value can be zero for Installments processed in Mexico.",
"format" : "int32",
"type" : "integer"
}
Expand Down
4 changes: 2 additions & 2 deletions json/PaymentService-v64.json
Original file line number Diff line number Diff line change
Expand Up @@ -3595,15 +3595,15 @@
"properties" : {
"plan" : {
"x-addedInVersion" : "64",
"description" : "The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). By default, this is set to **regular**. Possible values:\n* **regular**\n* **revolving**\n",
"description" : "The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan).\nand [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico).\nBy default, this is set to **regular**.\n",
"enum" : [
"regular",
"revolving"
],
"type" : "string"
},
"value" : {
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
"description" : "Defines the number of installments.\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.\nThis value can be zero for Installments processed in Mexico.",
"format" : "int32",
"type" : "integer"
}
Expand Down
4 changes: 2 additions & 2 deletions json/PaymentService-v67.json
Original file line number Diff line number Diff line change
Expand Up @@ -3595,15 +3595,15 @@
"properties" : {
"plan" : {
"x-addedInVersion" : "64",
"description" : "The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). By default, this is set to **regular**. Possible values:\n* **regular**\n* **revolving**\n",
"description" : "The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan).\nand [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico).\nBy default, this is set to **regular**.\n",
"enum" : [
"regular",
"revolving"
],
"type" : "string"
},
"value" : {
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
"description" : "Defines the number of installments.\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.\nThis value can be zero for Installments processed in Mexico.",
"format" : "int32",
"type" : "integer"
}
Expand Down
19 changes: 16 additions & 3 deletions json/PaymentService-v68.json
Original file line number Diff line number Diff line change
Expand Up @@ -3754,17 +3754,30 @@
"Installments" : {
"additionalProperties" : false,
"properties" : {
"extra" : {
"x-addedInVersion" : "68",
"description" : "Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later.\nUsed for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico)\n",
"format" : "int32",
"type" : "integer"
},
"plan" : {
"x-addedInVersion" : "64",
"description" : "The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). By default, this is set to **regular**. Possible values:\n* **regular**\n* **revolving**\n",
"description" : "The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan).\nand [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico).\nBy default, this is set to **regular**.\n",
"enum" : [
"buynow_paylater",
"interes_refund_prctg",
"interest_bonus",
"nointeres_refund_prctg",
"nointerest_bonus",
"refund_prctg",
"regular",
"revolving"
"revolving",
"with_interest"
],
"type" : "string"
},
"value" : {
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
"description" : "Defines the number of installments.\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.\nThis value can be zero for Installments processed in Mexico.",
"format" : "int32",
"type" : "integer"
}
Expand Down
8 changes: 4 additions & 4 deletions yaml/PaymentService-v25.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2661,13 +2661,13 @@ components:
additionalProperties: false
properties:
value:
description: 'Defines the number of installments. Its value needs to be
greater than zero.

description: 'Defines the number of installments.

Usually, the maximum allowed number of installments is capped. For example,
it may not be possible to split a payment in more than 24 installments.
The acquirer sets this upper limit, so its value may vary.'
The acquirer sets this upper limit, so its value may vary.

This value can be zero for Installments processed in Mexico.'
format: int32
type: integer
required:
Expand Down
8 changes: 4 additions & 4 deletions yaml/PaymentService-v30.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2910,13 +2910,13 @@ components:
additionalProperties: false
properties:
value:
description: 'Defines the number of installments. Its value needs to be
greater than zero.

description: 'Defines the number of installments.

Usually, the maximum allowed number of installments is capped. For example,
it may not be possible to split a payment in more than 24 installments.
The acquirer sets this upper limit, so its value may vary.'
The acquirer sets this upper limit, so its value may vary.

This value can be zero for Installments processed in Mexico.'
format: int32
type: integer
required:
Expand Down
8 changes: 4 additions & 4 deletions yaml/PaymentService-v40.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3490,13 +3490,13 @@ components:
additionalProperties: false
properties:
value:
description: 'Defines the number of installments. Its value needs to be
greater than zero.

description: 'Defines the number of installments.

Usually, the maximum allowed number of installments is capped. For example,
it may not be possible to split a payment in more than 24 installments.
The acquirer sets this upper limit, so its value may vary.'
The acquirer sets this upper limit, so its value may vary.

This value can be zero for Installments processed in Mexico.'
format: int32
type: integer
required:
Expand Down
8 changes: 4 additions & 4 deletions yaml/PaymentService-v46.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3510,13 +3510,13 @@ components:
additionalProperties: false
properties:
value:
description: 'Defines the number of installments. Its value needs to be
greater than zero.

description: 'Defines the number of installments.

Usually, the maximum allowed number of installments is capped. For example,
it may not be possible to split a payment in more than 24 installments.
The acquirer sets this upper limit, so its value may vary.'
The acquirer sets this upper limit, so its value may vary.

This value can be zero for Installments processed in Mexico.'
format: int32
type: integer
required:
Expand Down
8 changes: 4 additions & 4 deletions yaml/PaymentService-v49.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3510,13 +3510,13 @@ components:
additionalProperties: false
properties:
value:
description: 'Defines the number of installments. Its value needs to be
greater than zero.

description: 'Defines the number of installments.

Usually, the maximum allowed number of installments is capped. For example,
it may not be possible to split a payment in more than 24 installments.
The acquirer sets this upper limit, so its value may vary.'
The acquirer sets this upper limit, so its value may vary.

This value can be zero for Installments processed in Mexico.'
format: int32
type: integer
required:
Expand Down
8 changes: 4 additions & 4 deletions yaml/PaymentService-v50.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3527,13 +3527,13 @@ components:
additionalProperties: false
properties:
value:
description: 'Defines the number of installments. Its value needs to be
greater than zero.

description: 'Defines the number of installments.

Usually, the maximum allowed number of installments is capped. For example,
it may not be possible to split a payment in more than 24 installments.
The acquirer sets this upper limit, so its value may vary.'
The acquirer sets this upper limit, so its value may vary.

This value can be zero for Installments processed in Mexico.'
format: int32
type: integer
required:
Expand Down
8 changes: 4 additions & 4 deletions yaml/PaymentService-v51.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3619,13 +3619,13 @@ components:
additionalProperties: false
properties:
value:
description: 'Defines the number of installments. Its value needs to be
greater than zero.

description: 'Defines the number of installments.

Usually, the maximum allowed number of installments is capped. For example,
it may not be possible to split a payment in more than 24 installments.
The acquirer sets this upper limit, so its value may vary.'
The acquirer sets this upper limit, so its value may vary.

This value can be zero for Installments processed in Mexico.'
format: int32
type: integer
required:
Expand Down
8 changes: 4 additions & 4 deletions yaml/PaymentService-v52.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3619,13 +3619,13 @@ components:
additionalProperties: false
properties:
value:
description: 'Defines the number of installments. Its value needs to be
greater than zero.

description: 'Defines the number of installments.

Usually, the maximum allowed number of installments is capped. For example,
it may not be possible to split a payment in more than 24 installments.
The acquirer sets this upper limit, so its value may vary.'
The acquirer sets this upper limit, so its value may vary.

This value can be zero for Installments processed in Mexico.'
format: int32
type: integer
required:
Expand Down
13 changes: 6 additions & 7 deletions yaml/PaymentService-v64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3697,25 +3697,24 @@ components:
plan:
x-addedInVersion: '64'
description: 'The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan).
By default, this is set to **regular**. Possible values:

* **regular**
and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico).

* **revolving**
By default, this is set to **regular**.

'
enum:
- regular
- revolving
type: string
value:
description: 'Defines the number of installments. Its value needs to be
greater than zero.

description: 'Defines the number of installments.

Usually, the maximum allowed number of installments is capped. For example,
it may not be possible to split a payment in more than 24 installments.
The acquirer sets this upper limit, so its value may vary.'
The acquirer sets this upper limit, so its value may vary.

This value can be zero for Installments processed in Mexico.'
format: int32
type: integer
required:
Expand Down
Loading

0 comments on commit 1e890ff

Please sign in to comment.