Skip to main content
POST
Cancel an existing payment

Authorizations

api-key
string
header
default:410ca5cd265a4111982375d50802b7f8
required

Headers

Idempotent-Request-Key
string

Client generated key that makes the payment cancellation request idempotent, so a retry with the same key does not repeat the operation. Use a unique value per logical request, for example a UUID.

Timestamp
string<date-time>

Time at which the client created the payment cancellation request, an RFC 3339 UTC date-time.

Used-Mechanism
string

Payment mechanism the instruction is executed through, for example an instant, wire or ACH scheme. The set of accepted values depends on the connector configured for the installation.

Path Parameters

externalReferenceNo
string
required

External reference of the payment to cancel, as supplied or returned when the payment was initiated.

Body

application/json

Request to cancel a payment, identifying it by its identification, UETR or end-to-end identification and stating how many instances to cancel.

identification
string

An identifier that allows to uniquely refer to a payment transaction.

Example:

"XYZ1234567890"

uetr
string

Universally unique identifier to provide an end-to-end reference of a payment transaction.

Example:

"550e8400-e29b-41d4-a716-446655440000"

etoeIdentification
string

Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.

Example:

"416e88b0-108a-44cb-b8b8-699dfe27b6d9"

usedMechanism
string

The payment mechanism the bank decides to use in the transaction to execute a payment instruction.

Example:

"US_DOMESTIC_WIRE_RET"

cancellationType
enum<string>

How much of the payment to cancel.

  • SINGLE_PAYMENT_INSTANCE - only one instance, for example the next one.
  • MULTIPLE_PAYMENT_INSTANCE - the number of instances given in noOfInstances.
  • COMPLETE_SCHEDULE - the whole schedule.
Available options:
SINGLE_PAYMENT_INSTANCE,
MULTIPLE_PAYMENT_INSTANCE,
COMPLETE_SCHEDULE
noOfInstances
string

Relevant in case user wants to cancel multiple upcoming payments.

Example:

"7"

Response

The cancellation request was processed. The body returns its status with a reason code and description.

Outcome of a payment cancellation request, with the resulting status and the reason behind it.

status
string

The status of the transaction.

Example:

"failure"

reasonCode
string

Reason code that connecting system accepted/rejected the payment.

Example:

"AC01"

reasonDescription
string

Human readable reason the core banking system accepted/rejected the payment or batch.

Example:

"Account number invalid or does not exist"