PATCH
/api/partner/v1/charges/{chargeId}Record a refund
Record what you refunded.
refundedAmount is the total refunded so far (0 … amount). It answers a credit_not_processed dispute, so keep it current.
Authorization
X-Api-Key headerSend your partner key on every request. An owner key acts for its one owner; an integration token also needs the owner's id in the X-Owner-Id header.
Path parameters
chargeIdstringpathrequiredYour Stripe charge id (ch_… / py_…).
Body
application/jsonrefundedAmountnumberrequiredTotal refunded so far
Response
200 · application/jsonsuccessbooleanrequireddataobjectchargeIdstringpaymentIntentIdstringnullableamountnumbercurrencystringrefundedAmountnumberchargedAtUtcstring <date-time>bookingIdstringnullablebookingExternalIdstringnullablerenterIdstringnullablecarIdstringnullabledescriptionstringnullableitemsTotalnumberWhat the items resolved to (our toll/violation amounts + your fees).
itemsChargeItem[]warningsChargeWarning[]createdAtUtcstring <date-time>updatedAtUtcstring <date-time>errorstringnullableStatus codes
200Updated.
400Validation error.
401Missing, unknown or revoked API key.
404The resource does not exist under this owner.
