03 - Cancel a Payment

Description

To carry out a payment cancellation with the XS2A APIs, it is necessary for the TPP to ask for a payment cancellation to the ASPSP. To validate the cancellation, you will have to perform an OAuth2 authorisation.

Creates an authorisation sub-resource of the payment resource for its cancellation and start the authorisation process.

Authorization request

GET /berlingroup/authorization/authorize/{authorisation-id}

Requests an authorisation from a PSU following the OAuth2 protocol. Details of the authentication workflow and user interfaces are described in the dedicated HowTo section. Our specificities regarding the OAuth2 protocol are listed below.

response_type : codecode_challenge_method : S256

After successful authorisation, the user will be redirected to the redirect URI provided in the request with the following parameters :