1. Customer Registration

Step by step of how to create an individual or company customer in FXaaS.

📑 Summary

  • Objective
  • Functionalities
  • Registration Flow
    • Data for Creating an Individual Customer
    • Data for Creating a Company Customer
    • Customer Registration Statuses
  • Types of Identification Documents

Objective


Register new customers and interact with them through multiple endpoints. These interactions may occur in different aspects. As we can see below, the customer may have some entities linked to them, such as recipients or bank accounts:

Functionalities


Through the customer module, it is possible to:

Registration Flow


If it is the first time that the customer creates an international transaction, the customer must be registered and approved by our KYC process. Therefore, the partner must share the necessary customer data and documents through the related endpoints.

In summary, the process of creating a new customer is given in three main steps:

  1. Insert the customer's basic information;
  2. Upload the customer's document;
  3. Check the customer's status.

Below is the complete customer registration flow.

Customer Registration Flow

Customer Registration Flow

After we receive the customer's data, the information will be sent to compliance and KYC validations (UNDER_ANALYSIS phase).

As the process is asynchronous, it will be necessary to wait for the end so the customer can carry on with the international transfer. The conclusion of this process will be given by the automatic return of the customer's status via webhook, which can be APPROVED, allowing the customer to continue with the transactions, or REFUSED, preventing the customer from doing new transactions. Click here to see the webhook functionality.

🚧

Types of Customer

The FXaaS module allows the creation of two types of customers, the individual customer, and the company customer. The specifics of these two types of customers are described below.

📍 1. Data for Creating an Individual Customer

Parameters required to create an individual customer:

Field NameIs requiredDescription
nameYesCustomer's full name.
taxIdYesValid Brazilian customer tax id number (CPF).
documentNumberYesCustomer's document number (RG).
birthdayYesCustomer's date of birth.
nationalityYesCustomer's nationality.
phoneYesCustomer's phone number.
countryCodePhoneNoCustomer's country code phone.
emailYesCustomer's email address.
addresses (object)YesCustomer's complete address.
externalIdNoExternal customer's ID created by the partner.
monthlyIncomeYesAverage monthly revenue (this parameter is only an approximate value).
patrimonyYesPatrimonial value (this parameter is only an approximate value).
isAmetricanTaxResidentYesIdentifies if the customer is a US Tax Resident.
socialSecurityNumberNoValid Social Security Number with or without mask. This field will be required when the field "isAmericanTaxResident" is true.

Below is an example of a full request for creating an individual customer:

curl --request POST \
     --url https://fx-sandbox.remessaonline.com.br/v1/api/customers \
     --header 'Authorization: Bearer {{token}}' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-token: {{x-token}}' \
     --data '
{
    "type": "INDIVIDUAL",
    "name": "Ned Nix",
    "taxId": "47001397814",
    "externalId": "ext-47001397814",
    "phone": "11111111111",
    "email": "[email protected]",
    "addresses": [
        {
            "type": "HOME",
            "streetName": "Rua São Bento",
            "streetNumber": "123",
            "neighborhood": "Centro",
            "zipCode": "01010-000",
            "city": "Sao Paulo",
            "state": "SP",
            "country": "BR",
            "additionalInfo": "AP 1"
        }
    ],
    "documentNumber": "542272738",
    "birthday": "1997-12-06",
    "nationality": "BR",
    "monthlyIncome": "2000",
    "patrimony": "50000",
    "isAmetricanTaxResident": true,
    "socialSecurityNumber": "123456768"
}

📍 2. Data for Creating a Company Customer

Parameters required to create a company customer:

Field NameIs requiredDescription
nameYesCompany's name.
emailYesCompany's email.
taxIdYesValid Brazilian company tax id number (CNPJ).
phoneYesCompany's phone number.
companyTypeYesCompany's constitution type.
incorporationDateYesCompany's incorporation date (as defined by full-date in RFC 3339).
cnaeNoCNAE - *Classificação Nacional de Atividades Econômicas.
shareCapitalNoCompany's social capital.
averageMonthlyRevenueYesCompany's average monthly revenue.
netWorthNoCompany's net worth.
addresses (object)YesCompany's complete address.
members (object)YesCompany stakeholder information (CPF, address, name, email, etc).
externalIdNoExternal company's ID created by the partner.

Below is an example of a full request for creating a company customer:

curl --request POST \
     --url https://fx-sandbox.remessaonline.com.br/v1/api/customers \
     --header 'Authorization: Bearer {{token}}' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-token: {{x-token}}' \
     --data '
{
    "type": "BUSINESS",
    "taxId": "00905849000295",
    "name": "XPTO",
    "email": "[email protected]",
    "phone": "11111111111",
    "externalId": "ext-00905849000295",
    "addresses": [
        {
            "streetName": "Rua São Bento",
            "streetNumber": "111",
            "neighborhood": "Centro",
            "zipCode": "01010-000",
            "city": "São Paulo",
            "state": "SP",
            "additionalInfo": "Sala 111",
            "type": "HOME"
        }
    ],
    "averageMonthlyRevenue": 1000,
    "netWorth": 1000,
    "shareCapital": 1000,
    "cnae": "8291100",
    "incorporationDate": "2022-01-20",
    "companyType": "MEI",
    "members": [
        {
            "name": "Ned Nix",
            "phone": "1111111111",
            "email": "[email protected]",
            "taxId": "08034453005",
            "documentNumber": "22222",
            "birthday": "1980-01-20",
            "nationality": "BR",
            "birthPlace": "SP",
            "profession": "Dev",
            "isPoliticallyExposed": true,
            "isPublicAgent": true,
            "isAmericanTaxResident": true,
            "roleInCompany": "PARTNER",
            "partnerParticipationPercentage":25,
            "isSigner":true,
            "addresses": [
                {
                    "streetName": "Rua São Bento",
                    "streetNumber": "222",
                    "neighborhood": "Centro",
                    "zipCode": "01010-000",
                    "city": "São Paulo",
                    "state": "SP",
                    "additionalInfo": "AP 222",
                    "type": "HOME"
                }
            ],
            "maritalStatus": "MARRIED",
            "monthlyIncome": 1000,
            "netWorth": 1000
        }
    ]
}

🚧

Company Type

In the current FXaaS version, only companies with a single shareholder will be accepted.

  • MEI
  • ME
  • LTDA (Up to 5 partners.)

📍 3. Customer Registration Statuses

StatusDescription
AWAITING_DOCUMENT_UPLOADCustomer registered, pending document upload
UNDER_ANALYSISRegistered customer and document sent, awaiting to finish the KYC process
APPROVEDCustomer approved and is authorized to make transactions
REFUSEDThe customer was not approved and won't be able to make transactions

Types of Identification Documents


Both for Individual Customers and stakeholders of a Company Customer

DocumentDescription
RGCustomer ID in Brazil.
CNHDriver license. Both the traditional and the digital models can be used.
Digital CNHA digital version of the driver's license.
RNENational number ID of foreigners.
PassportThe Brazilian passport is the official document for foreign travel issued by the federal government, through the Federal Police.

🚧

Document File Type

The documents should be in JPG, PNG or PDF format. For images the maximum size is 30MB per file, for PDF the maximum size is 10MB per file.

🚧

Digital CNH

For us to accept the digital CNH, it must be the file exported from the Detran application or website, which contains the digital CNH and QR Code in the same PDF.

🚧

Signatories' Document

In the case of company registration, the documents of all signatory partners must be submitted.


What’s Next