Type Definitions

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

Payment Provider Transaction Status Codes

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
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
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
SE01System in maintenance mode
SE02System error connecting to API services
SE03System error connecting to financial services gateway
R01 to R84ACH return codes 01 to 84.
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

Verification Mode

CodeNameDescription
1VerifiedByMerchant...
2ApprovedByMerchant...
3VerifiedByTrustly...
4AmountAuthorizedByMerchant...

Verification Status

CodeNameDescription
1AutomaticPayment verification followed Trustly internal rules.
2ToVerifyPayment transaction is held (status = OnHold) for further investigation and approval by the merchant.
3VerifiedPayment was verified and approved by the merchant or Trustly (see Verification Mode).
4RefusedPayment was denied by the merchant or Trustly after verification.

Verification Types

CodeNameDescription
0Not VerifiedThe Account was not verified.
1Micro-depositsThe Account was verified using a micro-deposit process.
2Online Banking verificationThe Account was verified using the Trustly Online Banking application.
3Database verificationThe Account was verified using the Trustly database or a Third Party Service.

FCRA Verification Score Values

The table below maps Trustly FCRA Verification score values to a related verified value.

ScoreDescriptionVerified Mapping
0Invalid input. The account or routing number are invalid.false
1There is a strong indication that the account is invalid.false
2There are active non-bankable returns on this account that are less than 3 years old.false
3There are administrative returns on this account.false
4The format appears to be suspicious.false
5There is no data on this account or format.false
6We have not seen this account, but the format appears to be valid.true
7We have seen this account but have not received a final disposition on the transaction.true
8We have seen this account, but not in the last 6 months, and have seen no returns associated with the account.true
9We have seen this account in the last 6 months and have seen no returns associated with the account.true
10This account has been directly validated with/by the financial institution or 3rd party. We have the highest confidence that this account is valid.true

FCRA Verification Third Party Score Values

The table below maps Trustly Verification thirdParty values to a related score value.

ScoreDescriptionVerified Mapping
0Failed RT validation.0
100TeleCheck has a strong indication that this account is invalid.1
200TeleCheck has active non-bankable debt(s) on this account that are less than 3 years old.2
300TeleCheck has administrative returns on this account.3
400TeleCheck does not have Neg data on this account, but the format appears to be suspicious.4
500TeleCheck does not have data on this account or format.5
600TeleCheck has not seen this account, but the format appears valid.6
700TeleCheck has seen this account, but did not receive a final disposition on the transaction.7
800TeleCheck has seen this account, but not in the last 6 months.8
900TeleCheck has seen this account in the last 6 months.9
999TeleCheck has the highest confidence that this account is valid.10

Non-FCRA Verification Score Values

The table below maps Trustly non-FCRA Verification score values to a related verified value.

ScoreDescriptionVerified Mapping
15Known bad bank account.false
20Unknown bank account, but format appears valid.false
25Unknown bank account, but format appears suspicious.false
35Bank account seen but transaction not yet settled (5 days).true
45Known good bank account.true

Financial Institution Account Type Values

CodeDescription
-1Unknown
0Other
1Checking
2Savings

Financial Institution Account Profile Values

CodeDescription
-1Unknown
0Other
1Personal
2Business

Did this page help you?