CheckoutRequest class contains information about the buyer, the items inside the cart, transaction amount, status of payment and other details.
Properties
Transaction amount details including value, currency, and optional fee breakdown.
Details of the buyer including name, contact information, and addresses.
List of items in the checkout cart.
Reference number assigned by the merchant to identify a transaction.
Set of redirect URLs upon process completion (success, failure, cancel).
Additional data about the specific checkout. This can be supplied during the checkout creation.
The type of authorization for the payment. Can be
NORMAL, FINAL, or PREAUTHORIZATION.Related Classes
TotalAmount
Contains information about transaction amount.Payment amount to be charged.
Currency code (e.g., “PHP”, “USD”).
Breakdown of fees.
AmountDetails
Optional breakdown of fees. If provided, it will reflect on the Checkout Page and will be viewed by the buyer for review.Discount amount.
Service charge amount.
Shipping fee amount.
Tax amount.
Subtotal amount.
Item
Represents an entity that can be purchased from a merchant’s shop.Item’s product name.
Item’s quantity.
Item’s SKU code.
Item’s description.
Item’s unit price.
Item’s total price.
ItemAmount
Details about each item’s amount.Payment amount to be charged to the card.
Breakdown of fees.
Buyer
Represents the entity that bought items from the merchant’s shop. When provided, must have at least one populated field.First name of buyer.
Middle name of buyer.
Last name of buyer.
Contact details of buyer.
Shipping address of buyer.
Billing address of buyer.
Contact
Buyer’s contact details. If the email field is provided, a payment receipt will be sent to the email address.Phone number of the buyer.
Valid email address of the buyer.
Address
Address of the buyer.Address line 1.
Address line 2.
City.
State/Province.
Zip code.
ISO 3166-2 country code.
RedirectUrl
Redirect URL model defining URLs used to redirect to specific pages once the payment process is done.Success URL.
Failure URL.
Cancel URL.