Docs

Update Payment

PUT /Orders/{orderId}/payments/{paymentId}

PUT/Orders/{orderId}/payments/{paymentId}

Overwrites a payment's invoice reference, amount, date, method, reference and payment method tag, so send every field; the same rules as Orders_RecordPayment apply, except that a payment may keep a tag whose payment method was archived since. The payment id comes from Orders_GetOrder. Works the same on an organization-level order (org token, resource inventory read or edit).

Path Parameters

FieldTypeRequiredDescription
orderIduuidRequired
paymentIduuidRequired

Request Body

FieldTypeRequiredDescription
orderDocumentIduuidOptional
amountnumberOptional
datedate-timeOptional
methodstringOptional
referencestringOptional
paymentMethodIduuidOptional