This lets you create a checkout session for your customer by generating a Tazapay hosted payment page.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Invoice currency for the checkout session (in uppercase, iso-4217 standard). By default, the invoice currency is the holding currency for the transaction.
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 the guide here
Details about the customer
URL where the customer is directed to after a successful payment
The URL the customer will be directed to if they decide to cancel payment and return to your website.
A short description to be displayed on the Tazapay hosted checkout screen
ID of the customer for the checkout session
Specify the payment methods you want displayed for the session. If you do not specify, the default payment methods for the country are displayed to the customer
Specify the payment methods you want removed for the session
Shipping Details - Address, Recipient Name
Billing Details - Address, Recipient Name
The time at which the checkout session is scheduled to expire. If expired using the expire api, this will contain the time that the checkout session expired at
Supporting documents for the transaction
Set of key-value pairs that can be attached to the checkout session
Your unique identifier for the session
An integer between 0 and 100. Percentage of processing fee to be paid by the customer. Tazapay will charge the customer an amount inclusive of the processing fee
List of items in the invoice