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_paidDocumentation Index
Fetch the complete documentation index at: https://docs.joinluminous.com/llms.txt
Use this file to discover all available pages before exploring further.
Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.
ID of the purchase order
ID of the payment to delete
Payment deleted successfully
"Payment deleted successfully"