Account notification
This is a method that Trustly will call on the merchant's system in order to send information about the account used in this order.
This notification is not enabled by default, please contact our support if you want to receive it.
For additional personal data in account notification, merchant will need to use Trustly's Lean KYC service.
Restrictions in provided data may apply depending on merchant business and/or markets. For more information, reach out to your commercial contact at Trustly.
New parameters may be added to the notification in future versions of the API but current parameters will never be removed.
Example of an account notification, sent by the Trustly system to the merchants listening service at the specified NotificationURL
:
{
"method": "account",
"params": {
"signature":"RI1PTmjTgr5Ig1p....AF7ejFUGxwKQ==",
"uuid": "258a2184-2842-b485-25ca-293525152425",
"data": {
"notificationid":"35673567",
"messageid":"453455465",
"orderid":"3473567567",
"accountid":"1234567890",
"verified":"1",
"attributes":
{
"clearinghouse":"SWEDEN",
"bank":"SEB",
"descriptor":"**** *084057",
"lastdigits":"084057"
}
}
},
"version": "1.1"
}
{
"method": "account",
"params": {
"signature":"RI1PTmjTgr5Ig1p....AF7ejFUGxwKQ==",
"uuid": "258a2184-2842-b485-25ca-293525152425",
"data": {
"notificationid":"35673567",
"messageid":"453455465",
"orderid":"3473567567",
"accountid":"1234567890",
"verified":"1",
"attributes":
{
"clearinghouse":"SWEDEN",
"bank":"SEB",
"descriptor":"**** *084057",
"lastdigits":"084057",
"personid": "SE198201019876",
"name": "John Doe",
"address": "Examplestreet 1",
"zipcode": "12345",
"city": "Examplecity"
}
}
},
"version": "1.1"
}
Valid responses are:
Status | Description |
---|---|
OK | The notification has been received. |
Example of OK response:
{
"result": {
"signature": "R9+hjuMqbsH0Ku ... S16VbzRsw==",
"uuid": "258a2184-2842-b485-25ca-293525152425",
"method": "account",
"data": {
"status": "OK"
}
},
"version":"1.1"
}