A payment to a vendor with a stop-pay certificate that has expired (its expiry date is before today), vendor-wide or for the job of an invoice being paid. 422.
Send allowExpiredCertificate: true to pay anyway. Nothing is written.
OPDC API error code
HTTP status 422
A payment to a vendor with a stop-pay certificate that has expired (its expiry date is before today), vendor-wide or for the job of an invoice being paid. 422.
Send allowExpiredCertificate: true to pay anyway. Nothing is written.
The API answers with a problem document (RFC 9457) whose type is https://twinn.engineering/developers/errors/vendor-certificate-expired, and with X-Error-Code: VENDOR_CERTIFICATE_EXPIRED. Branch on the code, never on the detail text.