Is there any way to create a moip account by api from moip?

5

I am developing a marketplace system and each salesperson needs to have a MOIP account to receive sales.

As these vendors are very lazy I thought about automating this so they do not have to create a MOIP account, which is automatically created by the system.

Is it possible to do this via API? Or the only way is to mount via CURL?

    
asked by anonymous 04.01.2015 / 19:03

2 answers

1

Moip has an API for registration, called " Co-branded Registration " for Marketplaces platforms, it can make it easier for customers to enter Moip, where you can send customer data already except in its base to Moip, and redirecting the client to Moip only so that it registers a personal password.

PDF Documentation: link

Link to full reference for solutions for Marketplace: link

These APIs are part of Moip's v1 platform, where you communicate with data in XML .

This year Moip should launch its new APIs for the marketplace and make a new form available through the API.

    
08.06.2015 / 18:36
0

Remembering Moip has become Wirecard . Yes you can create account as marketplace.

See an example below of creating transparent account:

$account = $moip->accounts()
    ->setName('Fulano')
  ->setLastName('De Tal')
  ->setEmail('[email protected]')
  ->setIdentityDocument('4737283560', 'SSP', '2015-06-23')
  ->setBirthDate('1988-12-30')
  ->setTaxDocument('16262131000')
  ->setType('MERCHANT')
  ->setTransparentAccount(true)
  ->setPhone(11, 66778899, 55)
  ->addAlternativePhone(11, 66448899, 55)
  ->addAddress('Rua de teste', 123, 'Bairro', 'Sao Paulo', 'SP', '01234567', 'Apt. 23', 'BRA')
  ->setCompanyName('Empresa Teste', 'Teste Empresa ME')
  ->setCompanyOpeningDate('2011-01-01')
  ->setCompanyPhone(11, 66558899, 55)
  ->setCompanyTaxDocument('69086878000198')
  ->setCompanyAddress('Rua de teste 2', 123, 'Bairro Teste', 'Sao Paulo', 'SP', '01234567', 'Apt. 23', 'BRA')
  ->setCompanyMainActivity('82.91-1/00', 'Atividades de cobranças e informações cadastrais')
  ->create();

Library: moip-sdk-php

    
15.12.2018 / 04:22