Payment cancellation request
This method initiates the cancellation of a payment. Depending on the payment-service, the payment-product and the ASPSP's implementation, this TPP call might be sufficient to cancel a payment. If an authorisation of the payment cancellation is mandated by the ASPSP, a corresponding hyperlink will be contained in the response message.
Cancels the addressed payment with resource identification paymentId if applicable to the payment-service, payment-product and received in product related timelines (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).
The response to this DELETE command will tell the TPP whether the
- access method was rejected,
- access method was successful, or
- access method is generally applicable, but further authorisation processes are needed.
Path parameters
Payment service:
Possible values are:
- payments
- bulk-payments
- periodic-payments
The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.
The following payment products are supported:
- domestic-swiss-credit-transfers-isr
- domestic-swiss-credit-transfers
- domestic-swiss-credit-transfers-qr
- domestic-swiss-foreign-credit-transfers
- swiss-sepa-credit-transfers
- swiss-cross-border-credit-transfers
- pain.001-sepa-credit-transfers
- pain.001-cross-border-credit-transfers
- pain.001-swiss-six-credit-transfers
Remark: For all SEPA Credit Transfer based endpoints which accept XML encoding, the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content. Further XML schemes might be supported by some communities.
Remark: For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist. There are plenty of country specificic scheme variants.
Resource identification of the generated payment initiation resource.
Resource identification of the generated payment initiation resource.
Headers
ID of the request, unique to the call, as determined by the initiating party.
Is contained if and only if the "Signature" element is contained in the header of the request.
A signature of the request by the TPP on application level. This might be mandated by ASPSP.
The certificate used for signing the request, in base64 encoding. Must be contained if a signature is contained.
If it equals "true", the TPP prefers a redirect over an embedded SCA approach. If it equals "false", the TPP prefers not to be redirected for SCA. The ASPSP will then choose between the Embedded or the Decoupled SCA approach, depending on the choice of the SCA procedure by the TPP/PSU. If the parameter is not used, the ASPSP will choose the SCA approach to be applied depending on the SCA method chosen by the TPP/PSU.
If this URI is contained, the TPP is asking to redirect the transaction flow to this address instead of the TPP-Redirect-URI in case of a negative result of the redirect SCA method. This might be ignored by the ASPSP.
URI of the TPP, where the transaction flow shall be redirected to after a Redirect.
Mandated for the Redirect SCA Approach, specifically when TPP-Redirect-Preferred equals "true". It is recommended to always use this header field.
Remark for Future: This field might be changed to mandatory in the next version of the specification.
If it equals "true", the TPP prefers to start the authorisation process separately, e.g. because of the usage of a signing basket. This preference might be ignored by the ASPSP, if a signing basket is not supported as functionality.
If it equals "false" or if the parameter is not used, there is no preference of the TPP. This especially indicates that the TPP assumes a direct authorisation of the transaction in the next step, without using a signing basket.
The forwarded IP Address header field consists of the corresponding http request IP Address field between PSU and TPP.
The forwarded IP Port header field consists of the corresponding HTTP request IP Port field between PSU and TPP, if available.
The forwarded IP Accept header fields consist of the corresponding HTTP request Accept header fields between PSU and TPP, if available.
The forwarded IP Accept header fields consist of the corresponding HTTP request Accept header fields between PSU and TPP, if available.
The forwarded IP Accept header fields consist of the corresponding HTTP request Accept header fields between PSU and TPP, if available.
The forwarded IP Accept header fields consist of the corresponding HTTP request Accept header fields between PSU and TPP, if available.
The forwarded Agent header field of the HTTP request between PSU and TPP, if available.
HTTP method used at the PSU ? TPP interface, if available. Valid values are:
- GET
- POST
- PUT
- PATCH
- DELETE
UUID (Universally Unique Identifier) for a device, which is used by the PSU, if available. UUID identifies either a device or a device dependant application installation. In case of an installation identification this ID needs to be unaltered until removal from device.
The forwarded Geo Location of the corresponding http request between PSU and TPP if available.
Response
Received
Example response
{
"transactionStatus": "ACCP",
"scaMethods": [
{
"authenticationMethodId": "myAuthenticationID",
"name": "SMS OTP on phone +49160 xxxxx 28",
"explanation": "Detailed information about the SCA method for the PSU."
}
],
"chosenScaMethod": {
"authenticationMethodId": "myAuthenticationID",
"name": "SMS OTP on phone +49160 xxxxx 28",
"explanation": "Detailed information about the SCA method for the PSU."
},
"_links": {
"startAuthorisation": {
"href": "/v1/payments/swiss-sepa-credit-transfers/1234-wertiq-983"
},
"startAuthorisationWithPsuIdentification": {
"href": "/v1/payments/swiss-sepa-credit-transfers/1234-wertiq-983"
},
"startAuthorisationWithPsuAuthentication": {
"href": "/v1/payments/swiss-sepa-credit-transfers/1234-wertiq-983"
},
"startAuthorisationWithEncryptedPsuAuthentication": {
"href": "/v1/payments/swiss-sepa-credit-transfers/1234-wertiq-983"
},
"startAuthorisationWithAuthenticationMethodSelection": {
"href": "/v1/payments/swiss-sepa-credit-transfers/1234-wertiq-983"
}
}
}Changes
Changed in 7 of the 50 revisions of this API.362455
- ●
added the new
SCA_INVALIDenum value to the//response property for the response status (media type: application/problem+json)response-property-enum-value-added
- ●
added the new
SCA_INVALIDenum value to theresponse property for the response status (media type: application/problem+json)response-property-enum-value-added
- ●
added the new
SCA_INVALIDenum value to the//response property for the response status (media type: application/json)response-property-enum-value-added
- ●
added the new
SMTP_OTPenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new optional
headerrequest parameterTPP-Explicit-Authorisation-Preferrednew-optional-request-parameter
- ○
added the new optional
headerrequest parameterTPP-Nok-Redirect-URInew-optional-request-parameter
- ○
added the new optional
headerrequest parameterTPP-Redirect-Preferrednew-optional-request-parameter
- ○
added the new optional
headerrequest parameterTPP-Redirect-URInew-optional-request-parameter
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
removed the enum value
cross-border-credit-transfersfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
instant-sepa-credit-transfersfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
pain.001-instant-sepa-credit-transfersfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
pain.001-target-2-paymentsfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
sepa-credit-transfersfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
target-2-paymentsfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
response property's maxLength was increased from500to512for the response status (media type: application/problem+json)response-property-max-length-increased
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/json)response-property-max-length-increased
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/json)response-property-max-length-increased
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/json)response-property-max-length-increased
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/json)response-property-max-length-increased
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/json)response-property-max-length-increased
- ▲
the
//response property's maxLength was increased from500to512for the response status (media type: application/json)response-property-max-length-increased
- ▲
the
/response's property format changed fromurlto no format for statusresponse-property-type-changed
- ●
deleted the
headerrequest parameterTPP-Explicit-Authorisation-Preferredrequest-parameter-removed
- ●
deleted the
headerrequest parameterTPP-Nok-Redirect-URIrequest-parameter-removed
- ●
deleted the
headerrequest parameterTPP-Redirect-Preferredrequest-parameter-removed
- ●
deleted the
headerrequest parameterTPP-Redirect-URIrequest-parameter-removed
- ●
removed the optional property
/from the response with the status (media type: application/json)response-optional-property-removed
- ●
removed the optional property
/from the response with the status (media type: application/problem+json)response-optional-property-removed
- ●
removed the optional property
/from the response with the status (media type: application/json)response-optional-property-removed
- ●
removed the optional property
/from the response with the status (media type: application/problem+json)response-optional-property-removed
- ●
removed the optional property
/from the response with the status (media type: application/json)response-optional-property-removed
- ●
removed the optional property
/from the response with the status (media type: application/problem+json)response-optional-property-removed
- ●
removed the optional property
/from the response with the status (media type: application/json)response-optional-property-removed
- ●
removed the optional property
/from the response with the status (media type: application/problem+json)response-optional-property-removed
- ●
removed the optional property
/from the response with the status (media type: application/json)response-optional-property-removed
- ●
removed the optional property
/from the response with the status (media type: application/problem+json)response-optional-property-removed
- ●
removed the optional property
/from the response with the status (media type: application/json)response-optional-property-removed
- ●
removed the optional property
/from the response with the status (media type: application/problem+json)response-optional-property-removed
- ○
added the new enum value
domestic-swiss-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
domestic-swiss-credit-transfers-isrto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
domestic-swiss-credit-transfers-qrto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
domestic-swiss-foreign-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
pain.001-swiss-six-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
swiss-cross-border-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
swiss-sepa-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
for the
headerrequest parameterPSU-Device-ID, the format was generalized fromuuidto no formatrequest-parameter-type-generalized
- ○
for the
headerrequest parameterX-Request-ID, the format was generalized fromuuidto no formatrequest-parameter-type-generalized
- ○
removed the
SCA_INVALIDenum value from the//response property for the response status (media type: application/problem+json)response-property-enum-value-removed
- ○
removed the
SCA_INVALIDenum value from theresponse property for the response status (media type: application/problem+json)response-property-enum-value-removed
- ○
removed the
SCA_INVALIDenum value from the//response property for the response status (media type: application/json)response-property-enum-value-removed
- ○
removed the
SMTP_OTPenum value from the//response property for the response statusresponse-property-enum-value-removed
This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
SCA_INVALIDenum value to the//response property for the response status (media type: application/problem+json)response-property-enum-value-added
- ●
added the new
SCA_INVALIDenum value to theresponse property for the response status (media type: application/problem+json)response-property-enum-value-added
- ●
added the new
SCA_INVALIDenum value to the//response property for the response status (media type: application/json)response-property-enum-value-added
- ●
added the new
SMTP_OTPenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new optional
headerrequest parameterTPP-Explicit-Authorisation-Preferrednew-optional-request-parameter
- ○
added the new optional
headerrequest parameterTPP-Nok-Redirect-URInew-optional-request-parameter
- ○
added the new optional
headerrequest parameterTPP-Redirect-Preferrednew-optional-request-parameter
- ○
added the new optional
headerrequest parameterTPP-Redirect-URInew-optional-request-parameter
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/json)response-optional-property-added
- ○
added the optional property
/to the response with the status (media type: application/problem+json)response-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
removed the enum value
domestic-swiss-credit-transfersfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
domestic-swiss-credit-transfers-isrfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
domestic-swiss-credit-transfers-qrfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
domestic-swiss-foreign-credit-transfersfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
pain.001-swiss-six-credit-transfersfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
swiss-cross-border-credit-transfersfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
swiss-sepa-credit-transfersfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
for the
headerrequest parameterPSU-Device-ID, the format changed from no format touuidrequest-parameter-type-changed
- ▲
for the
headerrequest parameterX-Request-ID, the format changed from no format touuidrequest-parameter-type-changed
- ○
added the new enum value
cross-border-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
instant-sepa-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
pain.001-instant-sepa-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
pain.001-target-2-paymentsto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
sepa-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
target-2-paymentsto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new enum value
domestic-swiss-credit-transfers-qrto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
- ▲
removed the enum value
cross-border-credit-transfersfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ▲
removed the enum value
sepa-credit-transfersfrom thepathrequest parameterpayment-productrequest-parameter-enum-value-removed
- ○
added the new enum value
swiss-cross-border-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
added the new enum value
swiss-sepa-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ▲
- ○
added the new enum value
domestic-swiss-foreign-credit-transfersto thepathrequest parameterpayment-productrequest-parameter-enum-value-added
- ○
Of the 50 revisions, 1 has no diff computed.