#[non_exhaustive]pub enum Kind {
Show 60 variants
MessageReceived,
OrderExecuted,
TanRequired,
DialogEnded,
TanValid,
NoNameDeviation,
BicOutdated {
new_bic: Option<String>,
},
InstantStatusQuery,
CheckTransactions,
ProcessingReference {
reference: Option<String>,
},
NotAvailable,
Touchdown(TouchdownPoint),
PartialWarnings,
UserDataChanged {
user_id: Option<String>,
customer_id: Option<String>,
},
ScaExemption,
VopCheckResult,
VopNotRequired,
VopRequiredFrom {
date: Option<String>,
},
VopInProgress,
VopComplete,
VopNoResult,
ConvertedToStandard,
AllowedSecurityFunctions(Vec<SecurityFunction>),
VopApprovalNotPossible,
DecoupledInitiated,
DecoupledPending,
DecoupledAwaitPush,
DecoupledMethodUnsupported,
OutcomeUnknown {
query: Option<SegmentType>,
},
GeneralError,
AuthenticationFailed,
PartialErrors,
ScaRequired,
VopRequired,
ProductNotRegistered,
UnknownStructure,
ElementNotAllowed,
InsufficientFunds,
DuplicateSubmission,
NotExpected,
DataElementMissing,
NoLongerAccepted,
ProtocolVersionUnsupported,
VopUnavailable,
InstantLimitExceeded {
link: Option<String>,
},
PinTanUnavailable,
SecurityProcedureNotAllowed,
SignatureInsufficient,
NotAuthorised,
SignatureInvalid,
PinWrong,
SystemIdInvalid,
DialogAborted,
AccountLocked,
LockAfterAttempts {
attempts_left: Option<u32>,
},
TanInvalid,
TanUsed,
TanExpired,
SmsNotSent,
Other,
}Expand description
The meaning of a return code this client knows, derived from the code
and its parameters (RM). Kind::Other for every code not listed; its
code, class, text and parameters stay on the ReturnCode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
MessageReceived
0010: message received.
OrderExecuted
0020: order executed.
TanRequired
0030: order received, security clearance (TAN) required.
DialogEnded
0100: dialog ended.
TanValid
0900: TAN valid.
NoNameDeviation
0025: payee check without name deviation (VoP).
BicOutdated
3020: the BIC given is outdated; P1, if present, is the new one.
InstantStatusQuery
3045: instant payment status unknown yet; ask with HKIPS.
CheckTransactions
3046: check the account’s transactions (outcome to be verified).
ProcessingReference
3070: order accepted for processing; P1, if present, is the bank’s reference.
NotAvailable
3010: not available. RM’s examples: no new entries, information not offered at the moment, data already up to date. After a data request banks send it for “no entries”.
Touchdown(TouchdownPoint)
3040: more data available; P1 is the touchdown point.
PartialWarnings
3060: some warnings in the message.
UserDataChanged
3072: new access data (RM C.6); P1 user ID, P2 customer ID (the user ID when absent).
ScaExemption
3076: no strong customer authentication required.
VopCheckResult
3090: check the payee check result (a deviation or a note).
VopNotRequired
3091: Verification of Payee not required.
VopRequiredFrom
3092: the bank will require Verification of Payee from P1 on.
VopInProgress
3093: payee check still in progress (poll with HKVPP).
VopComplete
3094: payee check complete.
VopNoResult
3095: payee check without result.
ConvertedToStandard
3270: the instant payment is processed as a standard SEPA transfer (Messages C.10.2.9.1.2, HKIPZ 2 with the conversion flag).
AllowedSecurityFunctions(Vec<SecurityFunction>)
3920: allowed security functions, P1..n.
VopApprovalNotPossible
3945: Verification of Payee approval not possible.
DecoupledInitiated
3955: security clearance via a separate channel (decoupled) initiated.
DecoupledPending
3956: strong customer authentication (decoupled) still pending.
DecoupledAwaitPush
3957: wait for the push message (decoupled). A notice for the user; as the answer to a status request without 0020 it means the same as 3956: still pending.
DecoupledMethodUnsupported
3958: the approval app does not support the chosen procedure.
OutcomeUnknown
9000: status indifferent: it is unclear whether the message or
order was processed (RM B.4, C.7). P1 names the order (segment
code) to run to find out, e.g. HKCAZ. Never resubmit blindly.
Fields
query: Option<SegmentType>GeneralError
9010: processing not possible.
AuthenticationFailed
9040: authentication of the submitter missing or faulty, order rejected. RM also lists 9040 for a decompression error, which this client cannot cause (it sends no compressed messages).
PartialErrors
9050: message partially faulty.
ScaRequired
9075: dialog aborted, strong customer authentication required.
VopRequired
9076: name check (Verification of Payee) required; the bank no longer accepts payments without HKVPP/HKVPA or HKVOO.
ProductNotRegistered
9078: dialog aborted, the FinTS product is not registered.
UnknownStructure
9110: unknown structure.
ElementNotAllowed
9150: element not allowed in this order (e.g. an execution date other than 1999-01-01 in a FinTS single order).
InsufficientFunds
9230: insufficient funds.
DuplicateSubmission
9390: duplicate submission; the order is not executed again.
NotExpected
9120: not expected.
DataElementMissing
9160: data element missing.
NoLongerAccepted
9180: no longer accepted (order version outdated).
ProtocolVersionUnsupported
9185: HBCI/FinTS version not supported.
9250: name check (Verification of Payee) not possible; submit again later or with opt-out (HKVOO).
InstantLimitExceeded
9255: real-time (instant payment) limit exceeded. P1, if present, is a link where the user can change the limit.
9311: PIN/TAN system not available.
SecurityProcedureNotAllowed
9361: dialog aborted, the security procedure is no longer allowed.
SignatureInsufficient
9370: signature authorisation not sufficient.
NotAuthorised
9380: user not authorised (for the order, or for the chosen TAN procedure).
SignatureInvalid
9340: signature not accepted (RM: “electronic signature wrong”, “signature faulty”, “security profile unknown”). The PIN may be wrong, or user ID, BLZ or security profile do not match; banks send it next to a more specific code, which then names the cause.
PinWrong
9942, 9910: PIN wrong. 9942 also means, in a PIN change, “new PIN invalid / too short / too long”; RM lists 9910 also as “PIN locked”, “TAN list locked”, “chip card locked”.
SystemIdInvalid
9391: fetch a new customer system ID.
DialogAborted
9800: dialog aborted by the bank.
AccountLocked
9930, 9931: PIN or access locked.
LockAfterAttempts
9360 (RM): the TAN list (or signature) is locked after
attempts_left further failed attempts (P1). Without P1 it is the
RM text “key locked”: the lock happened.
TanInvalid
9941: TAN (or signature) invalid.
TanUsed
9943: TAN already used.
TanExpired
9951: timeout in the two-step procedure, TAN invalid.
SmsNotSent
9959: the SMS could not be sent; repeat.
Other
Any other code.