Cancels an in-progress payment transaction with the merchant processor.

Behavior: Cancels the payment transaction identified by the specified ID. This should be used when the user has decided not to continue with the purchase. The Cognito contact ID is extracted from the authenticated user's claims.

Authorization: Requires an authenticated user (class-level [Authorize]). The user's Cognito contact ID claim is required.

Side Effects: The payment transaction is cancelled with the merchant processor and the transaction state is updated.

Error Scenarios: Returns 400 if the transaction ID is invalid or the Cognito contact ID claim is missing. Returns 401 if the user is not authenticated.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The unique identifier of the transaction to cancel.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json