Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Oct 11, 2023
1 parent 57a63d0 commit dfe5f49
Show file tree
Hide file tree
Showing 32 changed files with 2,954 additions and 170 deletions.
96 changes: 91 additions & 5 deletions json/CheckoutService-v37.json
Original file line number Diff line number Diff line change
Expand Up @@ -4617,6 +4617,45 @@
"title" : "BillDesk",
"type" : "object"
},
"BillingAddress" : {
"properties" : {
"city" : {
"description" : "The name of the city. Maximum length: 3000 characters.",
"maxLength" : 3000,
"type" : "string"
},
"country" : {
"description" : "The two-character ISO-3166-1 alpha-2 country code. For example, **US**.\n> If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.",
"type" : "string"
},
"houseNumberOrName" : {
"description" : "The number or name of the house. Maximum length: 3000 characters.",
"maxLength" : 3000,
"type" : "string"
},
"postalCode" : {
"description" : "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.",
"type" : "string"
},
"stateOrProvince" : {
"description" : "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada.\n> Required for the US and Canada.",
"type" : "string"
},
"street" : {
"description" : "The name of the street. Maximum length: 3000 characters.\n> The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.",
"maxLength" : 3000,
"type" : "string"
}
},
"required" : [
"street",
"houseNumberOrName",
"city",
"postalCode",
"country"
],
"type" : "object"
},
"BlikDetails" : {
"additionalProperties" : false,
"properties" : {
Expand Down Expand Up @@ -5118,6 +5157,51 @@
],
"type" : "object"
},
"DeliveryAddress" : {
"properties" : {
"city" : {
"description" : "The name of the city. Maximum length: 3000 characters.",
"maxLength" : 3000,
"type" : "string"
},
"country" : {
"description" : "The two-character ISO-3166-1 alpha-2 country code. For example, **US**.\n> If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.",
"type" : "string"
},
"firstName" : {
"type" : "string"
},
"houseNumberOrName" : {
"description" : "The number or name of the house. Maximum length: 3000 characters.",
"maxLength" : 3000,
"type" : "string"
},
"lastName" : {
"type" : "string"
},
"postalCode" : {
"description" : "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.",
"type" : "string"
},
"stateOrProvince" : {
"description" : "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada.\n> Required for the US and Canada.",
"type" : "string"
},
"street" : {
"description" : "The name of the street. Maximum length: 3000 characters.\n> The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.",
"maxLength" : 3000,
"type" : "string"
}
},
"required" : [
"street",
"houseNumberOrName",
"city",
"postalCode",
"country"
],
"type" : "object"
},
"DokuDetails" : {
"additionalProperties" : false,
"properties" : {
Expand All @@ -5144,7 +5228,9 @@
"doku_bri_va",
"doku_bca_va",
"doku_alfamart",
"doku_indomaret"
"doku_indomaret",
"doku_wallet",
"doku_ovo"
],
"type" : "string"
}
Expand Down Expand Up @@ -5232,7 +5318,7 @@
},
"billingAddress" : {
"description" : "The address where to send the invoice.\n> The `billingAddress` object is required in the following scenarios. Include all of the fields within this object.\n>* For 3D Secure 2 transactions in all browser-based and mobile implementations.\n>* For cross-border payouts to and from Canada.",
"$ref" : "#/components/schemas/Address"
"$ref" : "#/components/schemas/BillingAddress"
},
"blockedPaymentMethods" : {
"x-addedInVersion" : "33",
Expand Down Expand Up @@ -5280,7 +5366,7 @@
},
"deliveryAddress" : {
"description" : "The address where the purchased goods should be delivered.",
"$ref" : "#/components/schemas/Address"
"$ref" : "#/components/schemas/DeliveryAddress"
},
"deliveryDate" : {
"description" : "The date and time the purchased goods should be delivered.\n\nFormat [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD\n\nExample: 2017-07-17T13:42:40.428+01:00",
Expand Down Expand Up @@ -7750,7 +7836,7 @@
},
"billingAddress" : {
"description" : "The address where to send the invoice.\n> The `billingAddress` object is required in the following scenarios. Include all of the fields within this object.\n>* For 3D Secure 2 transactions in all browser-based and mobile implementations.\n>* For cross-border payouts to and from Canada.",
"$ref" : "#/components/schemas/Address"
"$ref" : "#/components/schemas/BillingAddress"
},
"browserInfo" : {
"description" : "The shopper's browser information.\n> For 3D Secure, the full object is required for web integrations. For mobile app integrations, include the `userAgent` and `acceptHeader` fields to indicate that your integration can support a redirect in case a payment is routed to 3D Secure 1.",
Expand Down Expand Up @@ -7790,7 +7876,7 @@
},
"deliveryAddress" : {
"description" : "The address where the purchased goods should be delivered.",
"$ref" : "#/components/schemas/Address"
"$ref" : "#/components/schemas/DeliveryAddress"
},
"deliveryDate" : {
"description" : "The date and time the purchased goods should be delivered.\n\nFormat [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD\n\nExample: 2017-07-17T13:42:40.428+01:00",
Expand Down
96 changes: 91 additions & 5 deletions json/CheckoutService-v40.json
Original file line number Diff line number Diff line change
Expand Up @@ -4795,6 +4795,45 @@
"title" : "BillDesk",
"type" : "object"
},
"BillingAddress" : {
"properties" : {
"city" : {
"description" : "The name of the city. Maximum length: 3000 characters.",
"maxLength" : 3000,
"type" : "string"
},
"country" : {
"description" : "The two-character ISO-3166-1 alpha-2 country code. For example, **US**.\n> If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.",
"type" : "string"
},
"houseNumberOrName" : {
"description" : "The number or name of the house. Maximum length: 3000 characters.",
"maxLength" : 3000,
"type" : "string"
},
"postalCode" : {
"description" : "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.",
"type" : "string"
},
"stateOrProvince" : {
"description" : "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada.\n> Required for the US and Canada.",
"type" : "string"
},
"street" : {
"description" : "The name of the street. Maximum length: 3000 characters.\n> The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.",
"maxLength" : 3000,
"type" : "string"
}
},
"required" : [
"street",
"houseNumberOrName",
"city",
"postalCode",
"country"
],
"type" : "object"
},
"BlikDetails" : {
"additionalProperties" : false,
"properties" : {
Expand Down Expand Up @@ -5342,6 +5381,51 @@
],
"type" : "object"
},
"DeliveryAddress" : {
"properties" : {
"city" : {
"description" : "The name of the city. Maximum length: 3000 characters.",
"maxLength" : 3000,
"type" : "string"
},
"country" : {
"description" : "The two-character ISO-3166-1 alpha-2 country code. For example, **US**.\n> If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.",
"type" : "string"
},
"firstName" : {
"type" : "string"
},
"houseNumberOrName" : {
"description" : "The number or name of the house. Maximum length: 3000 characters.",
"maxLength" : 3000,
"type" : "string"
},
"lastName" : {
"type" : "string"
},
"postalCode" : {
"description" : "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.",
"type" : "string"
},
"stateOrProvince" : {
"description" : "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada.\n> Required for the US and Canada.",
"type" : "string"
},
"street" : {
"description" : "The name of the street. Maximum length: 3000 characters.\n> The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.",
"maxLength" : 3000,
"type" : "string"
}
},
"required" : [
"street",
"houseNumberOrName",
"city",
"postalCode",
"country"
],
"type" : "object"
},
"DeviceRenderOptions" : {
"properties" : {
"sdkInterface" : {
Expand Down Expand Up @@ -5397,7 +5481,9 @@
"doku_bri_va",
"doku_bca_va",
"doku_alfamart",
"doku_indomaret"
"doku_indomaret",
"doku_wallet",
"doku_ovo"
],
"type" : "string"
}
Expand Down Expand Up @@ -5495,7 +5581,7 @@
},
"billingAddress" : {
"description" : "The address where to send the invoice.\n> The `billingAddress` object is required in the following scenarios. Include all of the fields within this object.\n>* For 3D Secure 2 transactions in all browser-based and mobile implementations.\n>* For cross-border payouts to and from Canada.",
"$ref" : "#/components/schemas/Address"
"$ref" : "#/components/schemas/BillingAddress"
},
"blockedPaymentMethods" : {
"x-addedInVersion" : "33",
Expand Down Expand Up @@ -5543,7 +5629,7 @@
},
"deliveryAddress" : {
"description" : "The address where the purchased goods should be delivered.",
"$ref" : "#/components/schemas/Address"
"$ref" : "#/components/schemas/DeliveryAddress"
},
"deliveryDate" : {
"description" : "The date and time the purchased goods should be delivered.\n\nFormat [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD\n\nExample: 2017-07-17T13:42:40.428+01:00",
Expand Down Expand Up @@ -8106,7 +8192,7 @@
},
"billingAddress" : {
"description" : "The address where to send the invoice.\n> The `billingAddress` object is required in the following scenarios. Include all of the fields within this object.\n>* For 3D Secure 2 transactions in all browser-based and mobile implementations.\n>* For cross-border payouts to and from Canada.",
"$ref" : "#/components/schemas/Address"
"$ref" : "#/components/schemas/BillingAddress"
},
"browserInfo" : {
"description" : "The shopper's browser information.\n> For 3D Secure, the full object is required for web integrations. For mobile app integrations, include the `userAgent` and `acceptHeader` fields to indicate that your integration can support a redirect in case a payment is routed to 3D Secure 1.",
Expand Down Expand Up @@ -8146,7 +8232,7 @@
},
"deliveryAddress" : {
"description" : "The address where the purchased goods should be delivered.",
"$ref" : "#/components/schemas/Address"
"$ref" : "#/components/schemas/DeliveryAddress"
},
"deliveryDate" : {
"description" : "The date and time the purchased goods should be delivered.\n\nFormat [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD\n\nExample: 2017-07-17T13:42:40.428+01:00",
Expand Down
Loading

0 comments on commit dfe5f49

Please sign in to comment.