This page explains how to add Trustly to your existing iOS Components integration.
Requirements
| Requirement | Description | 
|---|---|
| Integration type | Make sure that you have built your iOS Components integration. | 
| Setup steps | Before you begin, add Trustly in your test Customer Area. | 
API reference
You do not need to send additional fields for Trustly. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:
- /sessions: This is the default with Components v5.0.0 or later.
- /payments: If you implemented an additional use case.
Component configuration
v5.0.0 or later
If your integration uses iOS Components v5.0.0 or later, configure and create an instance of the Trustly Component:
v4.x.x
If your integration uses an earlier version of iOS Components:
There are no configuration steps specific to Trustly required for Components.
Test and go live
Trustly provides a test environment. For Login ID/Personal number values, you can enter any digits, following the format YYMMDD-XXXX (for example: 111111-1111). 
You can check the status of Trustly test payments in your Customer Area > Transactions > Payments.
Before you can accept live Trustly payments, you need to submit a request for Trustly in your live Customer Area.