Codes & Definitions

This is a collection of common status codes and type definitions that are shared between objects.

Payment Provider Transaction Status Codes

Software (SW)

Status CodeDescription
SW010Established
SW013Canceled
SW020Authorization received
SW021Authorization denied
SW051Merchant error
SW052Financial Institution error
SW053Internal network error
SW054Suspicious transaction activity
SW055Negative data
SW056Invalid account
SW057Expired split token
SW059Instant transaction rejected due to risk
SW060Bank or network processor is down

User Canceled (UC)

Status CodeDescription
UC01User canceled the transaction at bank selection page
UC02User canceled the transaction at login page
UC03User canceled the transaction at invalid login page
UC04User canceled the transaction at challenge question page
UC05User canceled the transaction at invalid answers for challenge questions page.
UC06User canceled the transaction at MFA page
UC07User canceled the transaction at invalid MFA page
UC08User canceled the transaction at account selection page
UC09User canceled the transaction at error page
UC10User canceled the transaction at partial account number page
UC11User canceled the transaction at select account location page
UC12User canceled the transaction because it does not have a bank on the list
UC13User canceled the transaction at login with captcha page
UC14User canceled the transaction at captcha validation page
UC15User canceled the transaction at manual account input page
UC16User canceled the transaction at manual account confirmation page
UC17User canceled the transaction at MCD confirmation page
UC18User canceled the transaction at MCD validation page
UC19User canceled the transaction at account profile input page
UC20User canceled the transaction at no dynamic balance page
UC21User canceled the transaction at partial account not supported page
UC22User canceled the transaction at security script page
UC23User canceled the transaction at account not supported page
UC24User canceled the transaction at authorize page with exception
UC25User canceled the transaction at bad account page
UC26User canceled the transaction at the bank's reset password screen
UC27User canceled the transaction because the bank was unavailable
UC28User canceled the transaction at an external screen
UC29User canceled the transaction due to a timeout
UC30User canceled on the manual entry screen after an invalid routing or account number entry
UC31User canceled on the manual entry screen due to related information (SWIFT code or address) not being found

Accepted Communication (AC)

Status CodeDescription
AC100AC Pending
AC101AC Declined
AC102AC Approved
AC103AC Error
AC104AC Voided
AC105AC Processed
AC106AC Collected
AC107AC Awaiting Capture
AC108AC Awaiting Approval
AC109AC Suspended
AC110AC In Collection
AC111AC In Research
AC112AC Disputed
AC113AC Uncollected, Insufficient Funds
AC114AC Invalid or Closed Account
AC115AC Other Returns
AC116AC None
AC117AC Expired
AC118AC Settled

System Error (SE)

Status CodeDescription
SE01System in maintenance mode
SE02System error connecting to API services
SE03System error connecting to financial services gateway

R ACH Return Code

Status CodeDescription
R01 to R84ACH return codes 01 to 84.

Canada EFT Decline Codes

Status CodeDescription
900Account information incorrectly entered
901Insufficient Funds
902Account not Found
903Payment Stopped/Recalled
904Post/Stale Dated
905Account Closed
907No Debit Allowed
908Funds Not Cleared
909Currency/Account Mismatch
910Payor/Payee Deceased
911Account Frozen
912Invalid/Incorrect Account No
914Incorrect Payor/Payee Name
915No Agreement Existed - Business/Personal Refused
916Not in accordance with Agreement - Personal
917Agreement Revoked - Personal
918No Confirmation/Pre-Notification - Personal
919Not in accordance with Agreement - Business
920Agreement Revoked - Business
921No Pre-Notification - Business
922Customer Initiated Return - Credit Only
990Institution in Default
996Chargeback

Payment Provider Types

CodeDescription
1Online Banking
2Manual Electronic Check

Payment Types

ValueNameDescription
2DeferredDeferred payment. Payment is authorized but the capture operation must be called to initiate the debit. You can start to initiate multiple captures that are less than or equal to the original transaction authorization amount.
3RecurringRecurring payment. Same as deferred but associated with a payment agreement between consumer and merchant that defines how much and when the capture can be started.
4DisbursementDisbursement payment. This payment type can only be used for disbursements.
5VerificationThis payment type is used to verify the customer financial institution account as the payments will be done outside of Trustly system.
6RetrievalData retrieval. This payment type is used to retrieve account and user information from Trustly without an associated payment request. This payment type is not enabled by default. Contact Trustly if you need this feature.

Transaction Status Values

ValueNameDescription
0NewThis is the initial status after the transaction is created but before the consumer chooses a financial institution for payment. Transactions in the new state are visible only through Notification or the API status operations, not through the Merchant Portal.
1PendingPayment is pending. This is the initial transaction status when the consumer has the Pay Panel open but has not yet authorized the transaction. Transactions in the Pending state are visible only through Notification or the API status operations, not through the Merchant Portal.
2AuthorizedPayment was authorized by the consumer (they have selected their account and clicked ‘Pay') but the ACH has not yet been submitted for processing.
3ProcessedTransaction was processed. The ACH debit has been submitted to the ACH network after authorization by the consumer.
4CompletedTransaction was paid, funds transferred.
5FailedInternal failure of transaction. (Unrelated to the merchant).
6ExpiredPending transaction timed out before the consumer authorized the payment via the Pay Panel.
7CanceledTransaction was canceled by the consumer by closing the Pay Panel prior to the transaction being authorized or canceling the transaction from the Pay Panel.
8DeniedMoney transfer was denied, consumer account does not have enough funds.
10ReversedPayment was reversed (charged back by the bank or Trustly).
11Partially RefundedPayment was partially refunded.
12RefundedPayment was refunded.
13VoidedAuthorization was voided by the merchant. This occurs when the 'cancel' API is invoked or the transaction is canceled in the Merchant Portal (this must be done prior to the transaction being moved to ‘Processed' status).
14OnHoldA transaction is put on hold after authorization if something is preventing the normal flow, such as when an ACH debit could not be initiated, or if the Trustly wants the merchant to verify that it really approves of this customer authorizing this amount. The payment may take longer to process than usual. Note: if a transaction is On Hold, you can verify it through the Merchant Portal to let it resume the normal flow of payment processing. Currently, there is no equivalent way to do that verification through the API.

Transaction Types

ValueNameDescription
0ExternalThis transaction is created when the Feedback API is called to update the status of a transaction created with a paymentType of Retrieval.
1AuthorizeThis is a transaction created with paymentType is Deferred or Recurring.
2PayThis is a transaction created with paymentType of Instant.
3CaptureCapture transactions are created with the Capture API.
4RefundCapture transactions are created with the Refund API.
5ReverseA reverse transaction is created when the payment is charged back by the bank (payment provider).
6DepositDeposit transactions are created with the Deposit API.
7ReclaimReclaim transactions are created with the Reclaim API.
8RepresentmentA representment transaction represents an attempt to reprocess a previously denied Capture transaction.
9Tokenization
10PreauthorizationPreauthorization transactions are created with the Preauthorization API.
11Guarantee

Other Codes & Definitions

For additional generic status codes and type definitions not directly related to the Trustly UI libraries, see the Type Definitions page.