Skip to content

Commit

Permalink
CRD-583: Add threeDs param to checkout (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicocedron authored Sep 19, 2024
1 parent 338289a commit bc99a91
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
5 changes: 4 additions & 1 deletion _build/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13852,7 +13852,7 @@ components:
type: string
return_url:
description: Indicates the redirection callback upon completion of the 3DS2
flow.
flow. Do not use this parameter if your order has a checkout parameter
example: https://my-website.com
format: uri
type: string
Expand Down Expand Up @@ -14109,6 +14109,9 @@ components:
format: int8
type: integer
type: array
three_ds_mode:
description: "Indicates the 3DS2 mode for the order, either smart or strict."
type: string
name:
description: Reason for charge
example: Payment Link Name 1594138857
Expand Down
10 changes: 9 additions & 1 deletion schemas/checkouts/checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ properties:
type: integer
format: int8
example: [3,6,12]
three_ds_mode:
type: string
description: "Indicates the 3DS2 mode for the order, either smart or strict."
examples:
- value: "smart"
summary: "Those transactions that Conekta considers to present a risk to commerce will go through an additional verification flow (through 3DS2), provided that the issuing bank is compatible with this technology.If the transaction is not considered risky, it will continue its normal course, without going through 3DS2 authentication."
- value: "strict"
summary: "All transactions will require 3DS2 authentication as a complementary measure for the security of charges, except those that are rejected by our Anti-Fraud. The issuing bank must be compatible with 3DS2 technology."
name:
type: string
description: Reason for charge
Expand Down Expand Up @@ -87,4 +95,4 @@ properties:
type: string
example: "PaymentLink"
description: "It is the type of link that will be created. It must be a valid type."


2 changes: 1 addition & 1 deletion schemas/orders/order_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ properties:
return_url:
type: string
format: uri
description: "Indicates the redirection callback upon completion of the 3DS2 flow."
description: "Indicates the redirection callback upon completion of the 3DS2 flow. Do not use this parameter if your order has a checkout parameter"
example: https://my-website.com
shipping_contact:
$ref: ../../schemas/customers/customer_shipping_contacts.yml
Expand Down

0 comments on commit bc99a91

Please sign in to comment.