Charges

Charge object

AttributeDescription
id intUnique identifier for the object.
invoice_id intthe invoice_id of the charge
amount intThe amount in cents that was charged. It's represented as a whole integer.
amount_refunded intThe amount in cents that was refunded to the customer, if any. It's represented as a whole integer.
description stringThe description of the charge.
paid boolRepresents whether the charge was paid or not.
refunded boolRepresents whether the charge was refunded or not.
status stringThe charge status that's succeeded, failed, or something else
statement_descriptor stringThe description of the charge on the customers’ statements.
offline boolRepresents whether the charge was paid offline or not.
reference stringThe charge reference that has been added while creating it
offline_entered_by intThe customer ID who entered the offline charge.
metadata objectSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
created_at timestampTime at which the object was created.
updated_at timestampTime at which the object was last updated.
deleted_at timestampTime at which the object was deleted.