invoice_currencystring required
Invoice currency for the checkout session (in uppercase, iso-4217 standard). By default, the invoice currency is the holding currency for the transaction.
amountinteger required
Amount in cents. For example if you want to charge $10.12 pass 1012 as the value. For decimal handling for various currencies, refer to <a href="/API-Reference/appendix/Decimal-Currencies" target="_blank"> the guide here</a>
customerstring
ID of the customer for the checkout session
success_urlstring
URL where the customer is directed to after a successful payment
cancel_urlstring
The URL the customer will be directed to if they decide to cancel payment and return to your website.
transaction_descriptionstring required
A short description to be displayed on the Tazapay hosted checkout screen
transaction_documentsstring json
Supporting documents for the transaction
metadatastring json
Set of key-value pairs that can be attached to the object (JSON string format)
reference_idstring
Your unique identifier for the session
confirmboolean
Set to true to confirm this payin immediately. The parameter defaults to false. When creating and confirming a payin at the same time, you can also provide the parameters in the confirm API
statement_descriptorstring
Configure the description of the payment on your customer's statements. It must contain at least one letter and be 1-22 characters long
payment_method_detailsstring json
Pass the data specific to a payment method to confirm a payin and create a payment attempt
session_idstring
Session ID retrieved from the <a href="/API-Reference/tazapay-api/javascript-sdk/integrate-with-risk-sdk"> risk SDK</a>