Charges
Update a charge
Update a charge to change the amount, date, or other details.
PUT
https://{environment}.straddle.io
/
v1
/
charges
/
{id}
Authorizations
Authorization
string
headerrequiredUse your Straddle API Key in the Authorization header as Bearer <token> to authorize API requests.
Headers
Straddle-Account-Id
string
For use by platforms to specify an account id and set scope of a request.
Request-Id
string
Optional client generated identifier to trace and debug a request.
Correlation-Id
string
Optional client generated identifier to trace and debug a series of requests.
Path Parameters
id
string
requiredBody
description
string
requiredDescription.
amount
integer
requiredAmount.
payment_date
string
requiredPayment date.
metadata
object | null
Metadata.
Response
200 - text/plain
meta
object
requiredresponse_type
enum<string>
requiredAvailable options:
object
, array
, error
, none
data
object
required