Trustly Risk Decline Override allows you to manage, override, and approve declined Trustly transactions.
When you approve a declined transaction, it becomes a non-guaranteed capture. This means you combine the benefits of guaranteed and non-guaranteed payments, and this gives you full control to manage risk according to your own criteria.
The following are a few of the key features of Trustly Risk Decline Override:
The following is the Trustly Risk Decline Override workflow:
Rather than duplicating the full API specification here, this section highlights the specific endpoints and parameters relevant to the risk override flow. For complete endpoint definitions, see the API Reference.
When a transaction fails or is denied, the Fail and Deny webhook notifications include parameters that indicate if you can override the transaction. The most relevant items to check in the payload are:
isOverridePossible: Indicates if a transaction override is possible.shouldOverrideBeAvoided: Indicates if a transaction override should be avoided (due to the extended reasons provided).The following is an example of the notification you’ll receive from Trustly when a transaction is declined.
See Payment Decline Codes and Reason Codes for more information about the decline reason codes shared by Trustly.
To request risk data from Trustly, define the following parameters in your API request:
/api/v1/transactions/{transactionId}/riskGETtransactionId (string): A unique identifier for the transaction.To approve a declined Trustly transaction, define the following parameters in your API request:
/api/v1/transactions/{transactionId}/approvePOSTReversed, and the payment provider transaction status shows the return code (for example, R03).transactionId (string): A unique identifier for the transaction.To remove a debt block, define the following parameters in your API request:
/api/v1/transactions/{transactionId}/removeDebtBlockPOSTtransactionId (string): A unique identifier for the transaction that received an ACH return.To remove a debt block, define the following parameters in your API request:
/api/v1/transactions/{transactionId}/removeDebtBlockPOSTtransactionId (string): A unique identifier for the transaction that received an ACH return.When an ACH return occurs on a transaction whose risk decline you overrode, the resulting non-guaranteed transaction’s status changes to Reversed. The payment provider transaction status shows the specific ACH return code. For example, R01.
Additionally, Trustly places a hold on the consumer, automatically declining all their subsequent transactions. To enable the consumer to authorize new transactions, you must call the Remove Debt Block API.
Trustly sends webhook notifications to make you aware of ACH returns. The following table lists the parameters that are included in an ACH return notification.
The following is an example of the ACH notification request you’ll send to Trustly.