
kushki-checkout.js on your page by adding it to the <head> of your HTML file. Always load kushki-checkout directly from cdn.kushkipagos.com. __Do not include the script in a bundle or package or host a copy of it.<body> of your site where you want the payment form to be displayed.action according to the corresponding endpoint in your back-end to obtain the token.script tag.script tag at the end of the <body> on your payment page.Kushki object<script> tag inside the <body> tag. Once imported, you will be able to access the resources described below to create a payment flow with Kushki.kushki.min.js (which brings the necessary code to store your merchant's credentials) and card.min.js (the module that brings the necessary functionalities for the flow with card payments).KushkiOptionsKushkiOptions which allows you to set the public key of the work environment (test or production) through the init() method.initCardToken() method, it is required to place the necessary elements to be able to render each hosted field.CardOptionsCardOptions with the transaction information, such as the amount, currency, among other parameters.CardOptions, you need to call the initCardToken() function to initialize an instance of ICard.requestToken() method on the previously initialized card instance. This method performs 3DS, OTP and Sift Science validations automatically. Also, validate that all the fields are correct; otherwise it will throw an exception.deferred object will be returned along with the token. In order to select the non-interest-bearing months to defer the purchase, a div tag must be placed with the id of deferred_id (<div id="deferred_id"></div>) and define within the CardOptions instance in the fields object the id deferred_id. The fields available within deferred vary depending on the country. Consult the reference for more information on deferred.token, you should make a call to our authorization endpoint to initiate the authorization of funds.ticketNumber, as this will be the identifier for the reauthorization, capture or cancellation.ticketNumber obtained in the authorization.ticketNumber obtained in the authorization.5451951574925480.4574441215190335.4349003000047015.4547004841271012.productDetails), as well as your customer-payer contact information (contactDetails), along with billing information ( "orderDetails"."billingDetails") and shipping informations (if your business model requires it: "orderDetails"."shippingDetails"), within the request to make the change.emailparameter of the object contactDetails is required.