Skip to main content
POST
/
cancelTransaction
Cancel transactions
curl --request POST \
  --url https://api.pgw-sandbox.finventi.com/cancelTransaction \
  --header 'Content-Type: application/json' \
  --data '
{
  "transaction_ids": [
    123
  ],
  "additional_comment": "<string>",
  "reason": "DUPL",
  "reason_additional": "FRAD"
}
'
{
  "result": {
    "amount": 123,
    "collection": [
      123
    ]
  }
}
This endpoint is deprecated. Use /v1/transactions:cancel for enhanced functionality and better response information.

Overview

This endpoint initiates a cancellation request (camt.056) message to the beneficiary system for outbound SEPA CT/Instant payments.

How It Works

  • Payment not yet in clearing: Changes the payment status directly to Cancelled
  • Payment already sent: Sends a camt.056 cancellation request message to the beneficiary’s system

Migration Notice

Migrate to the improved endpoint /v1/transactions:cancel which offers:
  • Detailed response information
  • Better error handling
  • Batch cancellation support

Body

application/json
transaction_ids
integer<int64>[]
required

Array of transaction IDs

Array of transaction IDs

additional_comment
string

Used in conjunction with 'reason' or 'reason_additional'.
Only allowed when:

  • 'CUST' is used as a Recall reason code; or
  • 'FRAD', 'AM09' or 'AC03' are used as a Recall reason Proprietary.
Required string length: 1 - 105
reason
enum<string>

Cancellation reason.
One of the values must be present 'reason' or 'reason_additional'

Available options:
DUPL,
CUST
reason_additional
enum<string>

Additional cancellation reason.
One of the values must be present 'reason' or 'reason_additional'.

Available options:
FRAD,
TECH,
AC03,
AM09

Response

Payment scheduled for cancellation

result
object
required

Result of cancel transactions