Skip to content

Events

This article lists the Webhooks you may receive when regarding Users.

Users

user.create

json
{
  "webhook": "user.create",
  "object_payload": {
    "users": [
      {
        "userId": "123456789",
        "userTypeId": "1",
        "userStatus": "VALIDATED",
        "clientId": "222222",
        "userTag": "97a25cae-8027-4cec-b6db-97b48b12345",
        "parentUserId": "987654321",
        "parentType": "leader",
        "title": "",
        "firstname": "Alex",
        "lastname": "Oak",
        "middleNames": "",
        "birthday": "1970-01-06",
        "email": "a.oak@texample.com",
        "address1": "1600 Willow road",
        "address2": "",
        "address3": null,
        "postcode": "75000",
        "city": "Paris",
        "state": "",
        "country": "FR",
        "countryName": "France",
        "distributionCountry": "FR",
        "phone": "+33606060606",
        "mobile": "",
        "nationality": "FR",
        "nationalityOther": "",
        "placeOfBirth": "Paris",
        "birthCountry": "FR",
        "secondaryAddress1": null,
        "secondaryAddress2": null,
        "secondaryAddress3": null,
        "secondaryPostcode": null,
        "secondaryCity": null,
        "secondaryState": null,
        "secondaryCountry": null,
        "occupation": "director",
        "incomeRange": "36-56",
        "legalName": "",
        "legalNameEmbossed": "",
        "legalRegistrationNumber": "",
        "legalTvaNumber": "",
        "legalRegistrationDate": "0000-00-00",
        "legalForm": "",
        "legalShareCapital": "0",
        "legalSector": "",
        "legalAnnualTurnOver": "",
        "legalNetIncomeRange": "",
        "legalNumberOfEmployeeRange": "",
        "effectiveBeneficiary": "0.00",
        "position": "",
        "personalAssets": "0-2",
        "taxResidence": "",
        "taxNumber": "",
        "kycLevel": "0",
        "kycReview": "0",
        "kycReviewComment": "",
        "isFreezed": "0",
        "language": null,
        "specifiedUSPerson": "0",
        "employeeType": "0",
        "entityType": "0",
        "controllingPersonType": "3",
        "activityOutsideEu": null,
        "economicSanctions": null,
        "residentCountriesSanctions": null,
        "involvedSanctions": null,
        "entitySanctionsQuestionnaire": null,
        "sanctionsQuestionnaireDate": null,
        "timezone": null,
        "occupationType": null,
        "isOnStockExchange": null,
        "IsLegalFrozen": "0",
        "sourceOfFunds": null,
        "legalSectorType": null,
        "createdDate": "2024-01-08 11:00:42",
        "modifiedDate": "0000-00-00 00:00:00",
        "codeStatus": "110009",
        "informationStatus": "",
        "sepaCreditorIdentifier": null,
        "walletCount": "0",
        "payinCount": "0",
        "totalRows": "1"
      }
    ]
  },
  "object_id": "100060123",
  "object": "user",
  "webhook_created_at": 17047116429943,
  "webhook_id": "9a430c8b-1165-4ddf-a479-7a436f4d1234",
  "object_payload_signature": "r+V/RP/0QkeH56QXfaRz5/QpcifrgnXrfZhHXXXXXXM="
}

user.update

json
{
  "webhook": "user.update",
  "object_payload": {
    "users": [
      {
        "userId": "123456789",
        "userTypeId": "1",
        "userStatus": "VALIDATED",
        "clientId": "929253",
        "userTag": "",
        "parentUserId": null,
        "parentType": null,
        "title": "",
        "firstname": "Sam",
        "lastname": "Willow",
        "middleNames": "",
        "birthday": "0000-00-00",
        "email": "swillow@example.com",
        "address1": "",
        "address2": "",
        "address3": null,
        "postcode": "",
        "city": "",
        "state": "",
        "country": "",
        "countryName": null,
        "distributionCountry": null,
        "phone": "",
        "mobile": "",
        "nationality": "FR",
        "nationalityOther": "",
        "placeOfBirth": "",
        "birthCountry": "",
        "secondaryAddress1": null,
        "secondaryAddress2": null,
        "secondaryAddress3": null,
        "secondaryPostcode": null,
        "secondaryCity": null,
        "secondaryState": null,
        "secondaryCountry": null,
        "occupation": "",
        "incomeRange": "",
        "legalName": "",
        "legalNameEmbossed": "",
        "legalRegistrationNumber": "",
        "legalTvaNumber": "",
        "legalRegistrationDate": "0000-00-00",
        "legalForm": "",
        "legalShareCapital": "0",
        "legalSector": "",
        "legalAnnualTurnOver": "",
        "legalNetIncomeRange": "",
        "legalNumberOfEmployeeRange": "",
        "effectiveBeneficiary": "0.00",
        "position": "",
        "personalAssets": "",
        "taxResidence": "",
        "taxNumber": "",
        "kycLevel": "2",
        "kycReview": "0",
        "kycReviewComment": "",
        "isFreezed": "0",
        "language": null,
        "specifiedUSPerson": "0",
        "employeeType": "0",
        "entityType": "0",
        "controllingPersonType": "0",
        "activityOutsideEu": "0",
        "economicSanctions": "0",
        "residentCountriesSanctions": "0",
        "involvedSanctions": "0",
        "entitySanctionsQuestionnaire": "0",
        "sanctionsQuestionnaireDate": "2024-01-08 14:00:01",
        "timezone": null,
        "occupationType": null,
        "isOnStockExchange": "0",
        "IsLegalFrozen": "0",
        "sourceOfFunds": null,
        "legalSectorType": null,
        "createdDate": "2024-01-08 14:00:01",
        "modifiedDate": "2024-01-08 15:00:27",
        "codeStatus": "110009",
        "informationStatus": "",
        "sepaCreditorIdentifier": null,
        "walletCount": "0",
        "payinCount": "0",
        "totalRows": "1"
      }
    ]
  },
  "object_id": "100060789",
  "object": "user",
  "webhook_created_at": 17047224279950,
  "webhook_id": "e77663b0-0c4f-49c3-be53-96f39001234",
  "object_payload_signature": "abcDZ6MeUFRIjNoRDMN4KFjNJ0yR2Eok+MFrEq1k2/ho="
}

user.cancel

json
{
  "webhook": "user.cancel",
  "object": "user",
  "object_id": "100060789",
  "object_payload": {
    "users": [
      {
        "userId": "100060789",
        "userTypeId": "1",
        "userStatus": "CANCELED",
        "clientId": "929252",
        "userTag": "",
        "parentUserId": null,
        "parentType": null,
        "title": "",
        "firstname": "Sam",
        "lastname": "Willow",
        "middleNames": "",
        "birthday": "0000-00-00",
        "email": "swillow@example.com",
        "address1": "",
        "address2": "",
        "address3": null,
        "postcode": "",
        "city": "",
        "state": "",
        "country": "",
        "countryName": null,
        "distributionCountry": null,
        "phone": "",
        "mobile": "",
        "nationality": "FR",
        "nationalityOther": "",
        "placeOfBirth": "",
        "birthCountry": "",
        "secondaryAddress1": null,
        "secondaryAddress2": null,
        "secondaryAddress3": null,
        "secondaryPostcode": null,
        "secondaryCity": null,
        "secondaryState": null,
        "secondaryCountry": null,
        "occupation": "",
        "incomeRange": "",
        "legalName": "",
        "legalNameEmbossed": "",
        "legalRegistrationNumber": "",
        "legalTvaNumber": "",
        "legalRegistrationDate": "0000-00-00",
        "legalForm": "",
        "legalShareCapital": "0",
        "legalSector": "",
        "legalAnnualTurnOver": "",
        "legalNetIncomeRange": "",
        "legalNumberOfEmployeeRange": "",
        "effectiveBeneficiary": "0.00",
        "position": "",
        "personalAssets": "",
        "taxResidence": "",
        "taxNumber": "",
        "kycLevel": "2",
        "kycReview": "0",
        "kycReviewComment": "",
        "isFreezed": "0",
        "language": null,
        "specifiedUSPerson": "0",
        "employeeType": "0",
        "entityType": "0",
        "controllingPersonType": "0",
        "activityOutsideEu": "0",
        "economicSanctions": "0",
        "residentCountriesSanctions": "0",
        "involvedSanctions": "0",
        "entitySanctionsQuestionnaire": "0",
        "sanctionsQuestionnaireDate": "2024-01-08 14:00:01",
        "timezone": null,
        "occupationType": null,
        "isOnStockExchange": "0",
        "IsLegalFrozen": "0",
        "sourceOfFunds": null,
        "legalSectorType": null,
        "createdDate": "2024-01-08 14:00:01",
        "modifiedDate": "2024-01-08 15:29:29",
        "codeStatus": "110006",
        "informationStatus": "",
        "sepaCreditorIdentifier": null,
        "walletCount": "0",
        "payinCount": "0",
        "totalRows": "1"
      }
    ]
  },
  "webhook_created_at": 17047241698952,
  "webhook_id": "e4b40b36-db07-4af0-9c57-a4429fc01234",
  "object_payload_signature": "1ABCDmDZMqv/pZ5gA9E1xq9CvivJp+K7ngW2hh7mvF0="
}

User SCA Wallets

Warning icon

Caution – The SDK uses the term Wallet differently from Treezor

In the SDK, the term Wallet or SCA Wallet describes the secure enclave on a mobile device, not Treezor Wallets.

sca.wallet.create

json
{
  "webhook": "sca.wallet.create",
  "object": "sca.wallet",
  "object_id": "e83fdcc232bb4660b4f5a90f98xx5804",
  "object_payload": {
    "userId": "100401234",
    "creationDate": "2024-05-22T09:18:06+02:00",
    "id": "e83fdcc232bb4660b4f5a90f98ff5804",
    "issuerActivationId": null,
    "activationCode": "0xbf136911601x9526890741c0e2104004",
    "activationCodeExpiryDate": "2024-05-22T09:38:06+02:00"
  },
  "webhook_created_at": 17163622865025,
  "webhook_id": "54ee0020-c5d1-4c9e-9765-abcdef7c41b2",
  "object_payload_signature": "xiWOjcIDRDac1FIDIvlFVSs6i+Il29cDhI0X+jg2Wxx="
}

sca.wallet.swap

json
{
  "webhook": "sca.wallet.swap",
  "object": "sca.wallet",
  "object_id": "e83fdcc232bb4660b4f5a90f98xx5804",
  "object_payload": {
    "userId": "100401234",
    "creationDate": "2024-05-22T09:18:06+02:00",
    "id": "e83fdcc232bb4660b4f5a90f98ff5804",
    "activationCode": "0xbf136911601x9526890741c0e2104004",
    "activationCodeExpiryDate": "2024-05-22T09:38:06+02:00"
  },
  "webhook_created_at": 17163622865025,
  "webhook_id": "54ee0020-c5d1-4c9e-9765-abcdef7c41b2",
  "object_payload_signature": "xiWOjcIDRDac1FIDIvlFVSs6i+Il29cDhI0X+jg2Wxx="
}