1. Charges
  2. Update charge

Path Params

originRequired
string

The payment gateway that handled the charge. Accepted values: stripe, paypal, chargebee.

origin_idRequired
string

A unique identifier for the charge. This can be the ID that the payment gateway assigned to the charge.

user_idRequired
string

The User ID that you provided when you created the charge.

Body Params

amount
float

The amount (price) of the charge.

created
integer

A 10-digit (seconds) UNIX timestamp indicating when the charge was created. This timestamp should represent when the charge was initialized, regardless of the status of the charge during the initialization. It’s rare to need to update created after initially setting it.

currency
string

The three-letter (ISO 4217) currency code.

status
string

The status of the charge. Accepted values: pending, succeeded, failed.

metadata
object

Free form key-value data. Metadata is useful for storing additional, structured information for a charge.