Cancel payment
DELETE/v1/payment-service/payment-product/paymentId
Description​
Cancel a payment transaction.
Stop a payment process and handle any necessary follow-up actions.
Request​
Path Parameters
The payment service that is used to initiate the payment.
Available options: payments.
The addressed payment product endpoint, e.g., for SEPA Credit Transfers (SCT).
Available options: internal-transfers, sepa-credit-transfers.
The unique ID of the payment to be cancelled.
Header Parameters
ID of the request, unique to the call, as determined by the initiating party.
The certificate used for signature verification.
The client ID associated with the request.
A unique identifier related to the registered merchant in the corresponding API environment, available within the application's details.
Responses​
- 202
- 400
- 401
- 403
- 404
- 405
- 409
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The status of the transaction after the cancellation request.
Available options: 0-13.
scaMethods object[]A list of Strong Customer Authentication (SCA) methods available in order to authenticate the cancellation request.
The type of authentication used, such as SMS OTP or push notification.
Available options: 0 = "SMSOTP", 1 = "CHIPOTP", 2 = "PHOTOOTP", 3 = "PUSHOTP".
chosenScaMethod objectThe selected Strong Customer Authentication (SCA) method to authenticate the cancellation.
The type of the authentication method.
Available options: 0 = "SMSOTP", 1 = "CHIPOTP", 2 = "PHOTOOTP", 3 = "PUSHOTP".
challengeData object
The format of the OTP (One-Time Password) used for authentication.
Available options: 0 = "CHARACTERS", 1 = "INTEGER".
links objectA collection of hyperlinks related to the cancellation. This includes links to related resources or actions that can be taken following the cancellation request.
{
"transactionStatus": 0,
"scaMethods": [
{
"authenticationType": 0,
"authenticationVersion": "string",
"authenticationMethodId": "string",
"name": "string",
"explanation": "string"
}
],
"chosenScaMethod": {
"authenticationType": 0,
"authenticationVersion": "string",
"authenticationMethodId": "string",
"name": "string",
"explanation": "string"
},
"challengeData": {
"image": "string",
"data": [
"string"
],
"imageLink": "string",
"otpMaxLength": 0,
"otpFormat": 0,
"additionalInformation": "string"
},
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Description: 0 = "ERROR", 1 = "WARNING"
Description: 0 = "FORMATERROREnum", 1 = "PARAMETERNOTCONSISTENTEnum", 2 = "PARAMETERNOTSUPPORTEDEnum", 3 = "SERVICEINVALIDEnum", 4 = "RESOURCEUNKNOWNEnum", 5 = "RESOURCEEXPIREDEnum", 6 = "RESOURCEBLOCKEDEnum", 7 = "TIMESTAMPINVALIDEnum", 8 = "PERIODINVALIDEnum", 9 = "SCAMETHODUNKNOWNEnum", 10 = "CONSENTUNKNOWNEnum", 11 = "PAYMENTFAILEDEnum", 12 = "EXECUTIONDATEINVALIDEnum"
links object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Description: 0 = "ERROR", 1 = "WARNING"
Description: 0 = "CERTIFICATEINVALIDEnum", 1 = "CERTIFICATEEXPIREDEnum", 2 = "CERTIFICATEBLOCKEDEnum", 3 = "CERTIFICATEREVOKEEnum", 4 = "CERTIFICATEMISSINGEnum", 5 = "SIGNATUREINVALIDEnum", 6 = "SIGNATUREMISSINGEnum", 7 = "CORPORATEIDINVALIDEnum", 8 = "PSUCREDENTIALSINVALIDEnum", 9 = "CONSENTINVALIDEnum", 10 = "CONSENTEXPIREDEnum", 11 = "TOKENUNKNOWNEnum", 12 = "TOKENINVALIDEnum", 13 = "TOKENEXPIREDEnum", 14 = "REQUIREDKIDMISSINGEnum"
links object
{
"statusCode": 0,
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Description: 0 = "ERROR", 1 = "WARNING"
Description: 0 = "CONSENTUNKNOWNEnum", 1 = "SERVICEBLOCKEDEnum", 2 = "RESOURCEUNKNOWNEnum", 3 = "RESOURCEEXPIREDEnum", 4 = "PRODUCTINVALIDEnum"
links object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Description: 0 = "ERROR", 1 = "WARNING"
Description: 0 = "RESOURCEUNKNOWNEnum", 1 = "PRODUCTUNKNOWNEnum"
links object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Description: 0 = "ERROR", 1 = "WARNING"
Description: 0 = "CANCELLATIONINVALIDEnum", 1 = "SERVICEINVALIDEnum"
links object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Description: 0 = "ERROR", 1 = "WARNING"
Description: 0 = "INVALIDEnum"
links object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}