Overview: E-commerce integration
Provide Trustly as a payment method to customers in your checkout process.
Common scenarios
Trustly's payment integrations cover the following scenarios:
-
Accept recurring payments (only available in Sweden at the moment)
-
Let customers Pay by invoice.
-
Let customers Pay by link.
-
Provide a Refund.
Common functions
API methods and notifications to implement in your e-commerce system are shown in the following table:
API method/notification | Function | Purpose |
---|---|---|
Deposit | Payment | Lets a customer make a one-time payment from their bank account. |
Refund | Refund | Refunds a previous Deposit. |
SelectAccount | Recurring payment | Lets a customer register a direct debit mandate. |
Charge | Recurring payment | To charge a customer's bank account that has an active direct debit mandate. |
CancelCharge | Recurring payment | Cancels a Charge transaction with a future payment date. |
Pending notification | Notification | To notify you when the user has completed all the steps in the Trustly checkout (Deposit and SelectAccount) or when a Charge request has been received. |
Cancel notification | Notification | To notify you when a Deposit, SelectAccount or Charge order has been canceled. |
Credit notification | Notification | To notify you when a Deposit or Charge has been confirmed. |
Debit notification | Notification | To notify you that a Deposit has failed, even though a credit notification has already been sent. |
Account notification | Notification (Optional) | To let you know the status of a direct debit mandate (active or inactive). Can also be sent for Deposits to provide additional information about the bank account that was used by the customer. |
Updated over 1 year ago