FatoriPay
    FatoriPay
    • Autenticação
      • Renovar Token
        POST
      • Login
        POST
    • Fatura
      • Criar Fatura
        POST
      • Criar Fatura com Captura
        POST
      • Capturar Fatura para Boleto
        POST
      • Capturar Fatura para Pix
        POST
      • Capturar Fatura para Cartão de Crédito
        POST
      • Consultar Faturas
        GET
      • Consultar Faturas por ID
        GET
      • Estornar Fatura
        POST
      • Atualizar Fatura
        PATCH
      • Cancelar Fatura
        POST
    • Clientes
      • Criar Cliente
        POST
      • Buscar Clientes
        GET
      • Consultar Clientes por ID
        GET
      • Atualizar Cliente
        PATCH
    • Merchant
      • Métodos de Pagamento Habilitados
        GET
    • Produtos
      • Criar Produtos
        POST
      • Buscar Produtos
        GET
    • Webhooks & Gatilhos
      • Criar Gatilho
        POST
      • Consultar Gatilhos
        GET
      • Remover Webhook
        DELETE
    • Utilidades
      • Consultar Parcelas do Cartão
        GET
      • Consultar Taxas
        GET
    • Login Admin Copy
      POST
    • Create Merchant Copy
      POST

      Create Merchant Copy

      POST
      http://{{app_url}}/backoffice/v1/merchant/create

      Requisição

      Authorization
      Forneça seu token bearer no cabeçalho
      Authorization
      ao fazer requisições para recursos protegidos.
      Exemplo:
      Authorization: Bearer ********************
      Parâmetros Bodyapplication/json

      Exemplo
      {
          "cnpj": "05669150000106",
          "business_name": "BOM CREDITO SCM",
          "business_alias": "Fatori SCM",
          "address": {
              "zipcode": "89201740",
              "street": "Rua Expedicionario Holz",
              "number": "550",
              "complement": "ANDAR 18 SALA 1805",
              "neighborhood": "America",
              "city": "Joinville",
              "state": "SC"
          },
          "email": "daniel@fatoripay.com.br",
          "user": {
              "fullname": "Daniel Leal",
              "cpf": "07120188917",
              "email": "daniel@fatoripay.com.br",
              "cellphone": "41988555949",
              "password": "matrix1999",
              "security_password": "matrix1999"
          },
          "withdraw_account": {
              "pix": "05669150000106"
          },
          "meta": {}
      }

      Códigos de solicitação

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request POST 'http://{{app_url}}/backoffice/v1/merchant/create' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "cnpj": "05669150000106",
          "business_name": "BOM CREDITO SCM",
          "business_alias": "Fatori SCM",
          "address": {
              "zipcode": "89201740",
              "street": "Rua Expedicionario Holz",
              "number": "550",
              "complement": "ANDAR 18 SALA 1805",
              "neighborhood": "America",
              "city": "Joinville",
              "state": "SC"
          },
          "email": "daniel@fatoripay.com.br",
          "user": {
              "fullname": "Daniel Leal",
              "cpf": "07120188917",
              "email": "daniel@fatoripay.com.br",
              "cellphone": "41988555949",
              "password": "matrix1999",
              "security_password": "matrix1999"
          },
          "withdraw_account": {
              "pix": "05669150000106"
          },
          "meta": {}
      }'

      Respostas

      🟢200Create Merchant
      application/json
      Body

      Exemplo
      {
          "uuid": "98c5c31c-3a5f-4b5e-b4b5-9c595c3c4dca",
          "business_name": "BRG Teste",
          "business_alias": "BRG",
          "cnpj": "25305876000177",
          "email": "daniel.leal.san@gmail.com",
          "address": {
              "zipcode": "82200300",
              "street": "Rua Rev. Paulo Hecke",
              "number": "455",
              "complement": "Sobrado C",
              "neighborhood": "ahu",
              "city": "Curitiba",
              "state": "PR"
          },
          "status": "active",
          "withdraw_account": {
              "pix": "25305876000177"
          },
          "user": {
              "uuid": "e4620af0-8cd7-4a2b-b7c9-0d1e198a7508",
              "fullname": "Daniel Leal dos Santos",
              "cpf": "07120188917",
              "email": "daniel.leal.san@gmail.com",
              "status": "active",
              "permissions": null,
              "operational_limits": null,
              "api_access": {
                  "client_id": "5263478d-ac40-45fb-9dc2-c14a3cecd8ed",
                  "client_secret": "94a2db7e-ad0e-4b00-b17a-6a3cff116f0b"
              }
          },
          "wallets": {
              "total": "0",
              "available": "0",
              "blocked": "0"
          }
      }
      Modificado em 2024-10-10 18:23:35
      Página anterior
      Login Admin Copy
      Built with