payments

Delete Payment

Delete a payment record by its own id — no invoice or bill id is required in the path.

External payments (processed by Stripe) cannot be deleted — use a refund instead. Deleting a payment recalculates the parent invoice/bill's amountPaid/status automatically.

delete/payments/{payment_id}

Request

  • Base URL: https://api.coperniq.io/v1
  • URL: https://api.coperniq.io/v1/payments/{payment_id}
  • Auth: API key in header x-api-key

Path parameters

payment_idstring required

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.