Device Management

The objective of device management is to ensure security, regulatory compliance, and operational efficiency in financial transactions, such as Pix. Through this system, it is possible to centrally control the devices associated with Business Units, allowing for the registration, consultation, and removal of devices. This contributes to risk mitigation, fraud prevention, and compliance with Central Bank requirements, providing a secure and reliable experience for customers.

Introduction

FitBank offers device management to ensure security and compliance in operations such as Pix. This system allows the registration, consultation, and removal of devices associated with Business Units.

Below, we outline the usage details of the Device Management API.

Device Registration

To register a device, send a request with the payload:

{
  "Method": "RegisterDevice",
  "BusinessUnitId": "1234",
  "PartnerId": "1422",
  "Identifier": "abdc-ef123-abcd-12345",
  "Name": "Taynara's Phone",
  "Model": "Samsung Galaxy A21",
  "Type": 0,
  "AppVersion": "1.9",
  "TaxNumber": "123.456.789-12"
}
{
  "Success": true,
  "DeviceIdentifier": "abdc-ef123-abcd-12345",
  "Message": "Device successfully registered",
  "Reason": [
    "0 - StolenOrLost",
    "1 - DamagedUnrepairable",
    "2 - OutdatedIncompatible",
    "3 - SecurityCompromised",
    "4 - UsedIllegally"
  ]
}
{
  "Success": false,
  "Message": "Não é possível realizar o cadastro deste dispositivo, pois o CPF/CNPJ informado não encontra-se abaixo da Unidade de Negócio informada."
}
ParameterDescriptionMandatoryTypeComments
MethodMethod to be usedYESSTRING-
BusinessUnitIdInformation provided by FitBankYESINT-
PartnerIdInformation provided by FitBankYESINT-
IdentifierDevice IdentifierYESSTRING-
NameDevice NameYESSTRING-
ModelDevice ModelYESSTRING-
TypeDevice TypeYESINT0 - Web
1 - Mobile
AppVersionVersion of the application installed on the deviceYESSTRING-
TaxNumberCPF/CNPJ of the FitBank account holder who is using this deviceYESSTRING-

Device Consult

To consult a registered device, send a request with the payload:

{
  "Method": "ConsultDevice",
  "BusinessUnitId": "1234",
  "PartnerId": "1422",
  "DeviceIdentifier": "abdc-ef123-abcd-12345",
  "TaxNumber": "123.456.789-12"
}
{
  "Success": true,
  "Message": "Device successfully queried",
  "IsActive": true,
  "Reason": "0 - StolenOrLost",
  "Identifier": "abdc-ef123-abcd-12345",
  "Name": "Taynara's Phone",
  "Model": "Samsung Galaxy A21",
  "Type": "Android",
  "AppVersion": "1.9",
  "TaxNumber": "123.456.789-12"
}
{
  "Success": false,
  "Message": "Não é possível realizar a consulta deste dispositivo, pois o DeviceIdentifier informado não encontra-se cadastrado para a Unidade de Negócio informada"
}
ParameterDescriptionMandatoryTypeComments
MethodMethod to be usedYESSTRING-
BusinessUnitIdInformation provided by FitBankYESINT-
PartnerIdInformation provided by FitBankYESINT-
DeviceIdentifierRegistered device identifierYESSTRING-
TaxNumberCPF/CNPJ of the FitBank account holder who is using this deviceYESSTRING-

Device Cancel

To cancel a registered device, send a request with the payload:

{
  "Method": "CancelDevice",
  "BusinessUnitId": "1234",
  "PartnerId": "1422",
  "DeviceIdentifier": "abdc-ef123-abcd-12345",
  "Reason": "1",
  "TaxNumber": "123.456.789-12"
}
{
  "Success": true,
  "Message": "Device successfully removed"
}
{
  "Success": "false",
  "Message": "Não é possível realizar o cancelamento deste dispositivo, pois o DeviceIdentifier informado não encontra-se cadastrado para a Unidade de Negócio informada"
}
ParameterDescriptionMandatoryTypeComments
MethodMethod to be usedYESSTRING-
BusinessUnitIdInformation provided by FitBankYESINT-
PartnerIdInformation provided by FitBankYESINT-
DeviceIdentifierRegistered device identifierYESSTRING-
ReasonReason why the device was canceled:
Stolen Or Lost
Damaged Unrepairable
Outdated Incompatible
Security Compromised
Used Illegally
INT0 - StolenOrLost
1 - DamagedUnrepairable
2 - OutdatedIncompatible
3 - SecurityCompromised
4 - UsedIllegally
TaxNumberCPF/CNPJ of the FitBank account holder who is using this deviceYESSTRING-