Docs
Update Payment
PUT /Orders/{orderId}/payments/{paymentId}
PUT
/Orders/{orderId}/payments/{paymentId}Overwrites a payment's invoice reference, amount, date, method and reference, so send every field; the same rules as Orders_RecordPayment apply. The payment id comes from Orders_GetOrder.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | uuid | Required | |
| paymentId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| orderDocumentId | uuid | Optional | |
| amount | number | Optional | |
| date | date-time | Optional | |
| method | string | Optional | |
| reference | string | Optional |