Delete a payment from a purchase order. The purchase order totals (total_paid and total_due)
are automatically recalculated after the payment is deleted.
After deleting a payment, the system automatically:
total_paid by summing all remaining payment amountstotal_due as total_cost - total_paidAuthenticate using a bearer token. To obtain a token, contact [email protected]
ID of the purchase order
ID of the payment to delete
Payment deleted successfully
"Payment deleted successfully"