The Checkout object
A Checkout is used to make your customers make a payment. Each time your customer wants to pay, you have to create a new Checkout.
Attributes
The unique identifier of the checkout.
A String represents the type of the object.
A “True” value means the request was made in Live Mode, while a “False” indicates Test Mode.
The total of all the items in the checkout.
The currency of the checkout. A 3-letter ISO code.
The total fees of the checkout.
The fees of the checkout that will be paid by the merchant.
The fees of the checkout that will be paid by the customer.
DEPRECATED, use chargily_pay_fees_allocation instead.
A Boolean value indicates whether the Chargily Pay fees will be paid by you, the merchant, or your customers.
Can be one of “customer”, “merchant” or “split”.
Choose who is going to pay Chargily Pay fees (“Merchant” means you will pay the fees, “Customer” means the customer will pay the fees, “Split” means you will split the fees with the customer).
The current status of the checkout. Can be one of “pending”, “processing”, “paid”, “failed” or “canceled”,
The language of the checkout page, accepted values are: ‘ar’, ‘en’ or ‘fr’.
A description of the checkout. You can use this field to save a note about the checkout.
The URL where your customer will be redirected after a successful payment.
The URL where your customer will be redirected after a failed or canceled payment.
The URL of your endpoint that will receive the webhook events sent by Chargily Pay.
The payment method used to make the payment.
The unique identifier (ID) of the invoice that was paid.
The unique identifier (ID) of the payment link. In case the checkout was created using a payment link.
A Set of key-value pairs that can be used to store additional information about the checkout.
Timestamp indicating when the checkout was created.
Timestamp indicating when the last time the checkout was updated (edited).
The shipping address of the customer for the checkout.
A Boolean value indicates whether the shipping address should be collected from the customer.
The discount applied to the checkout. It’s an object that contains the discount type (“percentage” or “amount”) and the value of the discount.
The total amount of the checkout before applying the discount.
The URL where your customer will be redirected to make the payment.