Skip to main content
POST
Cancel a payment

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Organization-Id
string

Tenant organization ID. Optional. The organization context is determined by the credentials you authenticate with; this header does not select or change it.

Idempotency-Key
string
required

Client-supplied idempotency key, a UUID. Required: a request without it, or with a value that is not a UUID, is refused with 400 PBP-0012.

Path Parameters

id
string<uuid>
required

Payment identifier (UUID).

Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json
reason
string
required

Response

Bad Request

code
string
required
message
string
required
title
string
required
details
object