Create Customer Charge
Creates a new charge for the customer and updates their charge summary.
Last updated
Creates a new charge for the customer and updates their charge summary.
Last updated
Name | Type | Description |
---|---|---|
user_id*
string
The unique ID for the user.
amount*
integer
The amount charged in the smallest currency unit.
created_at
integer
When the charge happened. Automatically set, if not provided. UNIX timestamp in seconds.
string
The user’s email address. Required if user_id is not present.
update_session
boolean
Whether or not to update the user’s session. Defaults to true.
user_id*
string
The unique ID for the user.
charges*
array
An array of charge objects.
string
The user’s email address. Required if user_id is not present.