{
   "id": "01hj5n7cqpaf0mt2d0xx85tgz8",
   "entity": "checkout",
   "livemode": false,
   "amount": 2500,
   "currency": "dzd",
   "fees": 0,
   "pass_fees_to_customer": 0,
   "status": "pending",
   "locale": "en",
   "description": null,
   "metadata": null,
   "success_url": "https://my-app.com/payments/success",
   "failure_url": "https://my-app.com/payments/failure",
   "webhook_endpoint": null,
   "payment_method": null,
   "invoice_id": null,
   "customer_id": "01hj150206g0jxnh5r2yvvdrna",
   "payment_link_id": null,
   "created_at": 1703144567,
   "updated_at": 1703144567,
   "checkout_url": "https://pay.chargily.dz/test/checkouts/01hj5n7cqpaf0mt2d0xx85tgz8/pay",
}

Attributes

id
string

The unique identifier of the checkout.

entity
string

A String represents the type of the object.

livemode
boolean

A “True” value means the request was made in Live Mode, while a “False” indicates Test Mode.

amount
integer

The total of all the items in the checkout.

currency
string

The currency of the checkout. A 3-letter ISO code.

fees
integer

The fees of the checkout.

pass_fees_to_customer
boolean

A Boolean value indicates whether the Chargily Pay fees will be paid by you, the merchant, or your customers.

status
string

The current status of the checkout. Can be one of “pending”, “processing”, “paid”, “failed” or “canceled”,

locale
string

The language of the checkout page, accepted values are: ‘ar’, ‘en’ or ‘fr’.

description
string

A description of the checkout. You can use this field to save a note about the checkout.

success_url
string

The URL where your customer will be redirected after a successful payment.

failure_url
string

The URL where your customer will be redirected after a failed or canceled payment.

webhook_endpoint
string

The URL of your endpoint that will receive the webhook events sent by Chargily Pay.

payment_method
nullable, string

The payment method used to make the payment.

invoice_id
nullable, string

The unique identifier (ID) of the invoice that was paid.

customer_id
nullable, string

The ID of an existing Customer.

payment_link_id
nullable, string

The unique identifier (ID) of the payment link. In case the checkout was created using a payment link.

metadata
dictionary

A Set of key-value pairs that can be used to store additional information about the checkout.

created_at
timestamp

Timestamp indicating when the checkout was created.

updated_at
timestamp

Timestamp indicating when the last time the checkout was updated (edited).

checkout_url
string

The URL where your customer will be redirected to make the payment.