Criação de Conta e Negócio como Revenda

Caso seja autorizado pela RS Solutions (em situações específicas), o integrador poderá fazer o cadastro da conta e do negócio sem confirmação prévia do número de telefone.

Nesses casos, iremos fornecer as credenciais necessárias: clientId e clientSecret.

Com esses dados será possível utilizar essa rota, via POST com as seguintes informações:

Criação Completa de Usuário e Negócio

POST {Url}/create-user-complete

Headers

Name
Type
Description

clientId*

String

UUID de ClientId fornecido por nós

clientSecret*

String

UUID de ClientSecret fornecido por nós

Request Body

Name
Type
Description

name*

String

Razão Social

type*

String

Tipo de empresa. Enum (private Pessoa Física | legal Pessoa Jurídica)

document*

String

CNPJ/CPF

phoneNumber*

String

Celular de cadastro

email*

String

E-mail de acesso

setPasswordIn*

String

Canal de envio para definição de senha do cliente. Enum (email E-mail | sms SMS | whatsapp WhatsApp)

{
  "user": {
    "_id": "string",
    "createdAt": "2020-01-01T00:00:00Z",
    "updatedAt": "2020-01-01T00:00:00Z",
    "name": "string",
    "avatarUrl": "string",
    "phoneNumber": "string",
    "document": "string",
    "email": "string",
    "status": "active",
    "access": [
      {
        "segment": "string",
        "companies": [
          "string"
        ],
        "group": "string"
      }
    ],
    "screensJourneyConfirmations": [
      "string"
    ],
    "hasConfirmedPageJourneySecondStep": true
  },
  "company": {
    "_id": "string",
    "createdAt": "2020-01-01T00:00:00Z",
    "updatedAt": "2020-01-01T00:00:00Z",
    "segment": "string",
    "type": "private",
    "document": "string",
    "name": "string",
    "tag": "string",
    "logoUrl": "string",
    "crtId": "string",
    "addresses": [
      {
        "_id": "string",
        "country": "string",
        "state": "string",
        "city": "string",
        "neighborhood": "string",
        "street": "string",
        "number": "string",
        "complement": "string",
        "postalCode": "string"
      }
    ],
    "contacts": [
      {
        "contact": "string",
        "type": "whatsapp"
      }
    ],
    "integration": {
      "praNotas": {
        "authorization": "string",
        "homologation": true,
        "certificate": "string",
        "status": "string",
        "count": 0,
        "serie": "string",
        "csc": "string",
        "cscId": "string"
      },
      "pagaRapido": {
        "authorization": "string",
        "subscription": "string"
      },
      "praSaques": {
        "token": "string"
      }
    },
    "activityBranch": {
      "_id": "string",
      "name": "string",
      "examples": "string",
      "value": "retail"
    },
    "stockSettings": {
      "stockLocalDevice": {
        "_id": "string",
        "createdAt": "2020-01-01T00:00:00Z",
        "updatedAt": "2020-01-01T00:00:00Z",
        "name": "string",
        "company": null,
        "acronym": "string",
        "segment": "string"
      },
      "stockLocalCatalog": {
        "_id": "string",
        "createdAt": "2020-01-01T00:00:00Z",
        "updatedAt": "2020-01-01T00:00:00Z",
        "name": "string",
        "company": null,
        "acronym": "string",
        "segment": "string"
      }
    }
  }
}

Last updated

Was this helpful?