Exception handling

NextGenPSD2 XS2A Framework

Payment cancellation before settlement

TPP cancels a payment that is still cancellable; ASPSP maps DELETE to camt.055 and returns a terminal status.

Why read this

User abandons checkout after initiation. After settlement you need a recall (camt.056), not DELETE.

Messages · camt.055

cancellationdeletecamt.055berlin groupexception

Transaction flow

PSUUserTPPProviderASPSPBankCSMClearing01 User cancels checkout0102 DELETE payment resource02 DELETE03 camt.055 if still pre-clearing03 camt.05504 Status CANC04 GET
PSU: UserTPP: ProviderASPSP: BankCSM: Clearing
API hop Clearing hopClick a tag on an arrow (pacs.008, …) for info, usage and sample
Messages
01

User cancels checkout

API layer

Only safe while status is RCVD / PDNG / ACTC. ACSP/ACSC means the money is already moving or gone.

Codes you can see here

psutpp

No payload

This step is a redirect, a wait or an out-of-band event — there is no message on the wire to inspect. Steps with a payload are marked with a method or a message id in the diagram.

See this step in live →