Update a charge

Update specific properties of a charge. Only certain fields can be modified:

  • status: Toggle between ACTIVE or WRITTENOFF
  • amount: New amount due (cannot be less than amount already paid)
  • due: Due date (if set to past date, payment may be taken immediately)
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Business Rules

The logic behind this operation, by what the request carries:

  • Amend a charge — body carries amount and/or due (due may be the literal "now") and no status change; a status change is charge.void
  • Write off a charge — status WRITTENOFF on a charge that is not written off (write off); any other status on a WRITTENOFF charge (write back on)
Path Params
string
required

The ID of the charge to update

Body Params
charge
object
Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json