Cancel a payment
NOT IMPLEMENTED IN THIS API VERSION. Every request that reaches the handler is answered 501 with code PBP-0203, including one for a payment that is already canceled; no payment is read or changed. A malformed request, or one that fails authentication, is still refused ahead of the handler with the 4xx this operation also declares. The operation stays published so that the operationId, the request schema and the generated SDK method are already in place when cancellation ships.
Authorizations
JWT bearer token issued by the identity provider.
Headers
Tenant organization ID. Accepted but ignored: the tenant is determined by the credentials you authenticate with, so sending this header, or sending a different value in it, changes nothing.
Client-supplied idempotency key. Required in practice even though the schema marks it optional: a request that omits this header is refused with 400 PBP-0012.
Path Parameters
Payment identifier (UUID).
"123e4567-e89b-12d3-a456-426614174000"
Body
Response
Bad Request
Stable, machine-readable domain error code scoped to the emitting service (format: -NNNN).
"ERR-0001"
A human-readable explanation specific to this occurrence of the problem.
"Property foo is required but is missing."
Optional list of individual error details
A URI reference that identifies the specific occurrence of the problem.
"https://example.com/error-log/abc123"
HTTP status code
400
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
"Bad Request"
A URI reference to human-readable documentation for the error.
"https://example.com/errors/example"
RFC 9457 extension member: the error a proxied third-party provider reported. Absent unless the emitting service explicitly surfaced one.

