Controls the expiration time of the token. Defaults to 15 minutes if not provided. The maximum allowed value is 30. If card saving (card tokenization) was allowed by the user during the payment process (or if you made it a requirement), you must retrieve the tokenized card while the Hosted Fields Token is still active. For example if you issue an Hosted Fields Token with an expiration time of 10 minutes, then the payment and card token retrieval must occur within this time limit. Otherwise, you will need to issue a new Hosted Fields Token. If the payment is made within the time limit but the card token is not retrieved within the same period, it will be lost and will not be available to you
Specifies the terminal ID on which the payment will be processed. The terminal must be in Active status and must be an internal terminal, pointing to our gateway.
Specifies the URL on which the Hosted Fields Token will be used and the payment form will be rendered. You need to specify the full URL. E.g: https://my.website.com. If your website is accessed with a port number, you need to provide it too. E.g: https://my.website.com:3000
The card will be tokenized and available for you to fetch after the payment is processed. A message will be rendered above the payment form submit button informing the user that their card will be saved. You are responsible for requesting the tokenized card after the payment.
Card tokenization will be optional. The user will be presented with a checkbox to explicitly confirm that they want their card to be saved for future payments. If unchecked the card token will not be available for you.
Enables or disables the 3DS Verification when it is set as optional on the terminal. If the terminal you specified requires 3DS Verification, then the 3DS will be enabled by default and you wont be able to disable it in your hosted fields form. If 3DS verification is disabled on your terminal, then the 3DS will also be disabled. If you still request 3DS verification for the Hosted Fields Token when 3DS is disabled, an exception will be thrown.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.