Payment vouchers
Cancel a payment voucher
https://your-business.qaydtech.com/api/v1/payments/{id}/cancel
Reverses the voucher’s entry, and the invoices it settled are owed again.
The user the key acts as also needs: Cancel payment vouchers
Request
Path parameters
-
idinteger requiredThe record’s number.
Example:
42
Headers
-
Authorizationstring requiredBearer followed by the API key.
Example:
Bearer qayd_… -
Accept-Languagestring optionalen for English error messages. Arabic by default.
Example:
en -
Content-Typestring requiredapplication/json with every request that has a body.
Example:
application/json -
Idempotency-Keystring optionalA unique value so a request sent again creates nothing twice.
Example:
order-10045
Request body application/json
-
datedate optionalThe date; today when not sent.
Example:
2026-11-13
Responses
- 200 OK
- Errors · 401 · 403 · 429