curl --request POST \
--url https://api.ext.dbs.moneyp.dev.br/api/v2/Conta \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--header 'IgnoraHandshake: <ignorahandshake>' \
--data '
{
"numeroBanco": "<string>",
"numeroAgencia": "<string>",
"numeroConta": "<string>",
"digitoConta": "<string>",
"descricao": "<string>",
"tipoConta": 123,
"dadosCorrentista": {
"documentoFederal": "<string>",
"nome": "<string>",
"tipoPessoa": 123
},
"dadosContato": {
"email": "<string>",
"telefoneFixo1": "<string>",
"telefoneFixo2": "<string>",
"telefoneCelular1": "<string>",
"telefoneCelular2": "<string>",
"telefoneFax": "<string>",
"paginaWeb": "<string>"
},
"dadosEndereco": {
"cep": "<string>",
"logradouro": "<string>",
"nroLogradouro": "<string>",
"bairro": "<string>",
"complemento": "<string>",
"cidade": "<string>",
"uf": "<string>",
"enderecoDesde": "2023-11-07T05:31:56Z",
"enderecoPrincipal": true,
"enderecoCorrespondencia": true,
"verificadoInLoco": true
},
"dadosPF": {
"apelido": "<string>",
"rg": "<string>",
"rgOrgao": "<string>",
"rguf": "<string>",
"rgData": "2023-11-07T05:31:56Z",
"dtNasc": "2023-11-07T05:31:56Z",
"sexo": "<string>",
"nacionalidade": "<string>",
"naturalDeCidade": "<string>",
"naturalDeUF": "<string>",
"nomePai": "<string>",
"nomeMae": "<string>",
"nomeConjuge": "<string>",
"dtNascConjuge": "2023-11-07T05:31:56Z",
"cpfConjuge": "<string>",
"rgConjuge": "<string>",
"rgOrgaoConjuge": "<string>",
"rgufConjuge": "<string>",
"rgDataConjuge": "2023-11-07T05:31:56Z",
"nomeArquivoIdentificacao": "<string>",
"arquivoIdentificacao": "<string>",
"renda": 123,
"profissao": "<string>"
},
"dadosPJ": {
"nomeFantasia": "<string>",
"documentoEstadual": "<string>",
"documentoMunicipal": "<string>",
"dtAberturaEmpresa": "2023-11-07T05:31:56Z",
"nomeResponsavelEmpresa": "<string>",
"cpfResponsavelEmpresa": "<string>",
"rgResponsavelEmpresa": "<string>",
"nomeArquivoContratoSocial": "<string>",
"arquivoContratoSocial": "<string>",
"capitalSocial": 123,
"faturamentoAnual": 123,
"codigoCnae": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'import requests
url = "https://api.ext.dbs.moneyp.dev.br/api/v2/Conta"
payload = {
"numeroBanco": "<string>",
"numeroAgencia": "<string>",
"numeroConta": "<string>",
"digitoConta": "<string>",
"descricao": "<string>",
"tipoConta": 123,
"dadosCorrentista": {
"documentoFederal": "<string>",
"nome": "<string>",
"tipoPessoa": 123
},
"dadosContato": {
"email": "<string>",
"telefoneFixo1": "<string>",
"telefoneFixo2": "<string>",
"telefoneCelular1": "<string>",
"telefoneCelular2": "<string>",
"telefoneFax": "<string>",
"paginaWeb": "<string>"
},
"dadosEndereco": {
"cep": "<string>",
"logradouro": "<string>",
"nroLogradouro": "<string>",
"bairro": "<string>",
"complemento": "<string>",
"cidade": "<string>",
"uf": "<string>",
"enderecoDesde": "2023-11-07T05:31:56Z",
"enderecoPrincipal": True,
"enderecoCorrespondencia": True,
"verificadoInLoco": True
},
"dadosPF": {
"apelido": "<string>",
"rg": "<string>",
"rgOrgao": "<string>",
"rguf": "<string>",
"rgData": "2023-11-07T05:31:56Z",
"dtNasc": "2023-11-07T05:31:56Z",
"sexo": "<string>",
"nacionalidade": "<string>",
"naturalDeCidade": "<string>",
"naturalDeUF": "<string>",
"nomePai": "<string>",
"nomeMae": "<string>",
"nomeConjuge": "<string>",
"dtNascConjuge": "2023-11-07T05:31:56Z",
"cpfConjuge": "<string>",
"rgConjuge": "<string>",
"rgOrgaoConjuge": "<string>",
"rgufConjuge": "<string>",
"rgDataConjuge": "2023-11-07T05:31:56Z",
"nomeArquivoIdentificacao": "<string>",
"arquivoIdentificacao": "<string>",
"renda": 123,
"profissao": "<string>"
},
"dadosPJ": {
"nomeFantasia": "<string>",
"documentoEstadual": "<string>",
"documentoMunicipal": "<string>",
"dtAberturaEmpresa": "2023-11-07T05:31:56Z",
"nomeResponsavelEmpresa": "<string>",
"cpfResponsavelEmpresa": "<string>",
"rgResponsavelEmpresa": "<string>",
"nomeArquivoContratoSocial": "<string>",
"arquivoContratoSocial": "<string>",
"capitalSocial": 123,
"faturamentoAnual": 123,
"codigoCnae": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
headers = {
"IdempotencyKey": "<idempotencykey>",
"IgnoraHandshake": "<ignorahandshake>",
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
IdempotencyKey: '<idempotencykey>',
IgnoraHandshake: '<ignorahandshake>',
Authorization: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
numeroBanco: '<string>',
numeroAgencia: '<string>',
numeroConta: '<string>',
digitoConta: '<string>',
descricao: '<string>',
tipoConta: 123,
dadosCorrentista: {documentoFederal: '<string>', nome: '<string>', tipoPessoa: 123},
dadosContato: {
email: '<string>',
telefoneFixo1: '<string>',
telefoneFixo2: '<string>',
telefoneCelular1: '<string>',
telefoneCelular2: '<string>',
telefoneFax: '<string>',
paginaWeb: '<string>'
},
dadosEndereco: {
cep: '<string>',
logradouro: '<string>',
nroLogradouro: '<string>',
bairro: '<string>',
complemento: '<string>',
cidade: '<string>',
uf: '<string>',
enderecoDesde: '2023-11-07T05:31:56Z',
enderecoPrincipal: true,
enderecoCorrespondencia: true,
verificadoInLoco: true
},
dadosPF: {
apelido: '<string>',
rg: '<string>',
rgOrgao: '<string>',
rguf: '<string>',
rgData: '2023-11-07T05:31:56Z',
dtNasc: '2023-11-07T05:31:56Z',
sexo: '<string>',
nacionalidade: '<string>',
naturalDeCidade: '<string>',
naturalDeUF: '<string>',
nomePai: '<string>',
nomeMae: '<string>',
nomeConjuge: '<string>',
dtNascConjuge: '2023-11-07T05:31:56Z',
cpfConjuge: '<string>',
rgConjuge: '<string>',
rgOrgaoConjuge: '<string>',
rgufConjuge: '<string>',
rgDataConjuge: '2023-11-07T05:31:56Z',
nomeArquivoIdentificacao: '<string>',
arquivoIdentificacao: '<string>',
renda: 123,
profissao: '<string>'
},
dadosPJ: {
nomeFantasia: '<string>',
documentoEstadual: '<string>',
documentoMunicipal: '<string>',
dtAberturaEmpresa: '2023-11-07T05:31:56Z',
nomeResponsavelEmpresa: '<string>',
cpfResponsavelEmpresa: '<string>',
rgResponsavelEmpresa: '<string>',
nomeArquivoContratoSocial: '<string>',
arquivoContratoSocial: '<string>',
capitalSocial: 123,
faturamentoAnual: 123,
codigoCnae: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
}
})
};
fetch('https://api.ext.dbs.moneyp.dev.br/api/v2/Conta', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ext.dbs.moneyp.dev.br/api/v2/Conta",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'numeroBanco' => '<string>',
'numeroAgencia' => '<string>',
'numeroConta' => '<string>',
'digitoConta' => '<string>',
'descricao' => '<string>',
'tipoConta' => 123,
'dadosCorrentista' => [
'documentoFederal' => '<string>',
'nome' => '<string>',
'tipoPessoa' => 123
],
'dadosContato' => [
'email' => '<string>',
'telefoneFixo1' => '<string>',
'telefoneFixo2' => '<string>',
'telefoneCelular1' => '<string>',
'telefoneCelular2' => '<string>',
'telefoneFax' => '<string>',
'paginaWeb' => '<string>'
],
'dadosEndereco' => [
'cep' => '<string>',
'logradouro' => '<string>',
'nroLogradouro' => '<string>',
'bairro' => '<string>',
'complemento' => '<string>',
'cidade' => '<string>',
'uf' => '<string>',
'enderecoDesde' => '2023-11-07T05:31:56Z',
'enderecoPrincipal' => true,
'enderecoCorrespondencia' => true,
'verificadoInLoco' => true
],
'dadosPF' => [
'apelido' => '<string>',
'rg' => '<string>',
'rgOrgao' => '<string>',
'rguf' => '<string>',
'rgData' => '2023-11-07T05:31:56Z',
'dtNasc' => '2023-11-07T05:31:56Z',
'sexo' => '<string>',
'nacionalidade' => '<string>',
'naturalDeCidade' => '<string>',
'naturalDeUF' => '<string>',
'nomePai' => '<string>',
'nomeMae' => '<string>',
'nomeConjuge' => '<string>',
'dtNascConjuge' => '2023-11-07T05:31:56Z',
'cpfConjuge' => '<string>',
'rgConjuge' => '<string>',
'rgOrgaoConjuge' => '<string>',
'rgufConjuge' => '<string>',
'rgDataConjuge' => '2023-11-07T05:31:56Z',
'nomeArquivoIdentificacao' => '<string>',
'arquivoIdentificacao' => '<string>',
'renda' => 123,
'profissao' => '<string>'
],
'dadosPJ' => [
'nomeFantasia' => '<string>',
'documentoEstadual' => '<string>',
'documentoMunicipal' => '<string>',
'dtAberturaEmpresa' => '2023-11-07T05:31:56Z',
'nomeResponsavelEmpresa' => '<string>',
'cpfResponsavelEmpresa' => '<string>',
'rgResponsavelEmpresa' => '<string>',
'nomeArquivoContratoSocial' => '<string>',
'arquivoContratoSocial' => '<string>',
'capitalSocial' => 123,
'faturamentoAnual' => 123,
'codigoCnae' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json",
"IdempotencyKey: <idempotencykey>",
"IgnoraHandshake: <ignorahandshake>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ext.dbs.moneyp.dev.br/api/v2/Conta"
payload := strings.NewReader("{\n \"numeroBanco\": \"<string>\",\n \"numeroAgencia\": \"<string>\",\n \"numeroConta\": \"<string>\",\n \"digitoConta\": \"<string>\",\n \"descricao\": \"<string>\",\n \"tipoConta\": 123,\n \"dadosCorrentista\": {\n \"documentoFederal\": \"<string>\",\n \"nome\": \"<string>\",\n \"tipoPessoa\": 123\n },\n \"dadosContato\": {\n \"email\": \"<string>\",\n \"telefoneFixo1\": \"<string>\",\n \"telefoneFixo2\": \"<string>\",\n \"telefoneCelular1\": \"<string>\",\n \"telefoneCelular2\": \"<string>\",\n \"telefoneFax\": \"<string>\",\n \"paginaWeb\": \"<string>\"\n },\n \"dadosEndereco\": {\n \"cep\": \"<string>\",\n \"logradouro\": \"<string>\",\n \"nroLogradouro\": \"<string>\",\n \"bairro\": \"<string>\",\n \"complemento\": \"<string>\",\n \"cidade\": \"<string>\",\n \"uf\": \"<string>\",\n \"enderecoDesde\": \"2023-11-07T05:31:56Z\",\n \"enderecoPrincipal\": true,\n \"enderecoCorrespondencia\": true,\n \"verificadoInLoco\": true\n },\n \"dadosPF\": {\n \"apelido\": \"<string>\",\n \"rg\": \"<string>\",\n \"rgOrgao\": \"<string>\",\n \"rguf\": \"<string>\",\n \"rgData\": \"2023-11-07T05:31:56Z\",\n \"dtNasc\": \"2023-11-07T05:31:56Z\",\n \"sexo\": \"<string>\",\n \"nacionalidade\": \"<string>\",\n \"naturalDeCidade\": \"<string>\",\n \"naturalDeUF\": \"<string>\",\n \"nomePai\": \"<string>\",\n \"nomeMae\": \"<string>\",\n \"nomeConjuge\": \"<string>\",\n \"dtNascConjuge\": \"2023-11-07T05:31:56Z\",\n \"cpfConjuge\": \"<string>\",\n \"rgConjuge\": \"<string>\",\n \"rgOrgaoConjuge\": \"<string>\",\n \"rgufConjuge\": \"<string>\",\n \"rgDataConjuge\": \"2023-11-07T05:31:56Z\",\n \"nomeArquivoIdentificacao\": \"<string>\",\n \"arquivoIdentificacao\": \"<string>\",\n \"renda\": 123,\n \"profissao\": \"<string>\"\n },\n \"dadosPJ\": {\n \"nomeFantasia\": \"<string>\",\n \"documentoEstadual\": \"<string>\",\n \"documentoMunicipal\": \"<string>\",\n \"dtAberturaEmpresa\": \"2023-11-07T05:31:56Z\",\n \"nomeResponsavelEmpresa\": \"<string>\",\n \"cpfResponsavelEmpresa\": \"<string>\",\n \"rgResponsavelEmpresa\": \"<string>\",\n \"nomeArquivoContratoSocial\": \"<string>\",\n \"arquivoContratoSocial\": \"<string>\",\n \"capitalSocial\": 123,\n \"faturamentoAnual\": 123,\n \"codigoCnae\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("IdempotencyKey", "<idempotencykey>")
req.Header.Add("IgnoraHandshake", "<ignorahandshake>")
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ext.dbs.moneyp.dev.br/api/v2/Conta")
.header("IdempotencyKey", "<idempotencykey>")
.header("IgnoraHandshake", "<ignorahandshake>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"numeroBanco\": \"<string>\",\n \"numeroAgencia\": \"<string>\",\n \"numeroConta\": \"<string>\",\n \"digitoConta\": \"<string>\",\n \"descricao\": \"<string>\",\n \"tipoConta\": 123,\n \"dadosCorrentista\": {\n \"documentoFederal\": \"<string>\",\n \"nome\": \"<string>\",\n \"tipoPessoa\": 123\n },\n \"dadosContato\": {\n \"email\": \"<string>\",\n \"telefoneFixo1\": \"<string>\",\n \"telefoneFixo2\": \"<string>\",\n \"telefoneCelular1\": \"<string>\",\n \"telefoneCelular2\": \"<string>\",\n \"telefoneFax\": \"<string>\",\n \"paginaWeb\": \"<string>\"\n },\n \"dadosEndereco\": {\n \"cep\": \"<string>\",\n \"logradouro\": \"<string>\",\n \"nroLogradouro\": \"<string>\",\n \"bairro\": \"<string>\",\n \"complemento\": \"<string>\",\n \"cidade\": \"<string>\",\n \"uf\": \"<string>\",\n \"enderecoDesde\": \"2023-11-07T05:31:56Z\",\n \"enderecoPrincipal\": true,\n \"enderecoCorrespondencia\": true,\n \"verificadoInLoco\": true\n },\n \"dadosPF\": {\n \"apelido\": \"<string>\",\n \"rg\": \"<string>\",\n \"rgOrgao\": \"<string>\",\n \"rguf\": \"<string>\",\n \"rgData\": \"2023-11-07T05:31:56Z\",\n \"dtNasc\": \"2023-11-07T05:31:56Z\",\n \"sexo\": \"<string>\",\n \"nacionalidade\": \"<string>\",\n \"naturalDeCidade\": \"<string>\",\n \"naturalDeUF\": \"<string>\",\n \"nomePai\": \"<string>\",\n \"nomeMae\": \"<string>\",\n \"nomeConjuge\": \"<string>\",\n \"dtNascConjuge\": \"2023-11-07T05:31:56Z\",\n \"cpfConjuge\": \"<string>\",\n \"rgConjuge\": \"<string>\",\n \"rgOrgaoConjuge\": \"<string>\",\n \"rgufConjuge\": \"<string>\",\n \"rgDataConjuge\": \"2023-11-07T05:31:56Z\",\n \"nomeArquivoIdentificacao\": \"<string>\",\n \"arquivoIdentificacao\": \"<string>\",\n \"renda\": 123,\n \"profissao\": \"<string>\"\n },\n \"dadosPJ\": {\n \"nomeFantasia\": \"<string>\",\n \"documentoEstadual\": \"<string>\",\n \"documentoMunicipal\": \"<string>\",\n \"dtAberturaEmpresa\": \"2023-11-07T05:31:56Z\",\n \"nomeResponsavelEmpresa\": \"<string>\",\n \"cpfResponsavelEmpresa\": \"<string>\",\n \"rgResponsavelEmpresa\": \"<string>\",\n \"nomeArquivoContratoSocial\": \"<string>\",\n \"arquivoContratoSocial\": \"<string>\",\n \"capitalSocial\": 123,\n \"faturamentoAnual\": 123,\n \"codigoCnae\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ext.dbs.moneyp.dev.br/api/v2/Conta")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["IdempotencyKey"] = '<idempotencykey>'
request["IgnoraHandshake"] = '<ignorahandshake>'
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"numeroBanco\": \"<string>\",\n \"numeroAgencia\": \"<string>\",\n \"numeroConta\": \"<string>\",\n \"digitoConta\": \"<string>\",\n \"descricao\": \"<string>\",\n \"tipoConta\": 123,\n \"dadosCorrentista\": {\n \"documentoFederal\": \"<string>\",\n \"nome\": \"<string>\",\n \"tipoPessoa\": 123\n },\n \"dadosContato\": {\n \"email\": \"<string>\",\n \"telefoneFixo1\": \"<string>\",\n \"telefoneFixo2\": \"<string>\",\n \"telefoneCelular1\": \"<string>\",\n \"telefoneCelular2\": \"<string>\",\n \"telefoneFax\": \"<string>\",\n \"paginaWeb\": \"<string>\"\n },\n \"dadosEndereco\": {\n \"cep\": \"<string>\",\n \"logradouro\": \"<string>\",\n \"nroLogradouro\": \"<string>\",\n \"bairro\": \"<string>\",\n \"complemento\": \"<string>\",\n \"cidade\": \"<string>\",\n \"uf\": \"<string>\",\n \"enderecoDesde\": \"2023-11-07T05:31:56Z\",\n \"enderecoPrincipal\": true,\n \"enderecoCorrespondencia\": true,\n \"verificadoInLoco\": true\n },\n \"dadosPF\": {\n \"apelido\": \"<string>\",\n \"rg\": \"<string>\",\n \"rgOrgao\": \"<string>\",\n \"rguf\": \"<string>\",\n \"rgData\": \"2023-11-07T05:31:56Z\",\n \"dtNasc\": \"2023-11-07T05:31:56Z\",\n \"sexo\": \"<string>\",\n \"nacionalidade\": \"<string>\",\n \"naturalDeCidade\": \"<string>\",\n \"naturalDeUF\": \"<string>\",\n \"nomePai\": \"<string>\",\n \"nomeMae\": \"<string>\",\n \"nomeConjuge\": \"<string>\",\n \"dtNascConjuge\": \"2023-11-07T05:31:56Z\",\n \"cpfConjuge\": \"<string>\",\n \"rgConjuge\": \"<string>\",\n \"rgOrgaoConjuge\": \"<string>\",\n \"rgufConjuge\": \"<string>\",\n \"rgDataConjuge\": \"2023-11-07T05:31:56Z\",\n \"nomeArquivoIdentificacao\": \"<string>\",\n \"arquivoIdentificacao\": \"<string>\",\n \"renda\": 123,\n \"profissao\": \"<string>\"\n },\n \"dadosPJ\": {\n \"nomeFantasia\": \"<string>\",\n \"documentoEstadual\": \"<string>\",\n \"documentoMunicipal\": \"<string>\",\n \"dtAberturaEmpresa\": \"2023-11-07T05:31:56Z\",\n \"nomeResponsavelEmpresa\": \"<string>\",\n \"cpfResponsavelEmpresa\": \"<string>\",\n \"rgResponsavelEmpresa\": \"<string>\",\n \"nomeArquivoContratoSocial\": \"<string>\",\n \"arquivoContratoSocial\": \"<string>\",\n \"capitalSocial\": 123,\n \"faturamentoAnual\": 123,\n \"codigoCnae\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n}"
response = http.request(request)
puts response.read_body{
"sucesso": true,
"mensagem": "<string>",
"numero": "<string>",
"digito": "<string>",
"contaPagamento": "<string>"
}{
"sucesso": true,
"mensagem": "<string>"
}{
"sucesso": true,
"mensagem": "<string>"
}45 - Create Account
Scopes:
api.ext api.conta.criarcurl --request POST \
--url https://api.ext.dbs.moneyp.dev.br/api/v2/Conta \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--header 'IgnoraHandshake: <ignorahandshake>' \
--data '
{
"numeroBanco": "<string>",
"numeroAgencia": "<string>",
"numeroConta": "<string>",
"digitoConta": "<string>",
"descricao": "<string>",
"tipoConta": 123,
"dadosCorrentista": {
"documentoFederal": "<string>",
"nome": "<string>",
"tipoPessoa": 123
},
"dadosContato": {
"email": "<string>",
"telefoneFixo1": "<string>",
"telefoneFixo2": "<string>",
"telefoneCelular1": "<string>",
"telefoneCelular2": "<string>",
"telefoneFax": "<string>",
"paginaWeb": "<string>"
},
"dadosEndereco": {
"cep": "<string>",
"logradouro": "<string>",
"nroLogradouro": "<string>",
"bairro": "<string>",
"complemento": "<string>",
"cidade": "<string>",
"uf": "<string>",
"enderecoDesde": "2023-11-07T05:31:56Z",
"enderecoPrincipal": true,
"enderecoCorrespondencia": true,
"verificadoInLoco": true
},
"dadosPF": {
"apelido": "<string>",
"rg": "<string>",
"rgOrgao": "<string>",
"rguf": "<string>",
"rgData": "2023-11-07T05:31:56Z",
"dtNasc": "2023-11-07T05:31:56Z",
"sexo": "<string>",
"nacionalidade": "<string>",
"naturalDeCidade": "<string>",
"naturalDeUF": "<string>",
"nomePai": "<string>",
"nomeMae": "<string>",
"nomeConjuge": "<string>",
"dtNascConjuge": "2023-11-07T05:31:56Z",
"cpfConjuge": "<string>",
"rgConjuge": "<string>",
"rgOrgaoConjuge": "<string>",
"rgufConjuge": "<string>",
"rgDataConjuge": "2023-11-07T05:31:56Z",
"nomeArquivoIdentificacao": "<string>",
"arquivoIdentificacao": "<string>",
"renda": 123,
"profissao": "<string>"
},
"dadosPJ": {
"nomeFantasia": "<string>",
"documentoEstadual": "<string>",
"documentoMunicipal": "<string>",
"dtAberturaEmpresa": "2023-11-07T05:31:56Z",
"nomeResponsavelEmpresa": "<string>",
"cpfResponsavelEmpresa": "<string>",
"rgResponsavelEmpresa": "<string>",
"nomeArquivoContratoSocial": "<string>",
"arquivoContratoSocial": "<string>",
"capitalSocial": 123,
"faturamentoAnual": 123,
"codigoCnae": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'import requests
url = "https://api.ext.dbs.moneyp.dev.br/api/v2/Conta"
payload = {
"numeroBanco": "<string>",
"numeroAgencia": "<string>",
"numeroConta": "<string>",
"digitoConta": "<string>",
"descricao": "<string>",
"tipoConta": 123,
"dadosCorrentista": {
"documentoFederal": "<string>",
"nome": "<string>",
"tipoPessoa": 123
},
"dadosContato": {
"email": "<string>",
"telefoneFixo1": "<string>",
"telefoneFixo2": "<string>",
"telefoneCelular1": "<string>",
"telefoneCelular2": "<string>",
"telefoneFax": "<string>",
"paginaWeb": "<string>"
},
"dadosEndereco": {
"cep": "<string>",
"logradouro": "<string>",
"nroLogradouro": "<string>",
"bairro": "<string>",
"complemento": "<string>",
"cidade": "<string>",
"uf": "<string>",
"enderecoDesde": "2023-11-07T05:31:56Z",
"enderecoPrincipal": True,
"enderecoCorrespondencia": True,
"verificadoInLoco": True
},
"dadosPF": {
"apelido": "<string>",
"rg": "<string>",
"rgOrgao": "<string>",
"rguf": "<string>",
"rgData": "2023-11-07T05:31:56Z",
"dtNasc": "2023-11-07T05:31:56Z",
"sexo": "<string>",
"nacionalidade": "<string>",
"naturalDeCidade": "<string>",
"naturalDeUF": "<string>",
"nomePai": "<string>",
"nomeMae": "<string>",
"nomeConjuge": "<string>",
"dtNascConjuge": "2023-11-07T05:31:56Z",
"cpfConjuge": "<string>",
"rgConjuge": "<string>",
"rgOrgaoConjuge": "<string>",
"rgufConjuge": "<string>",
"rgDataConjuge": "2023-11-07T05:31:56Z",
"nomeArquivoIdentificacao": "<string>",
"arquivoIdentificacao": "<string>",
"renda": 123,
"profissao": "<string>"
},
"dadosPJ": {
"nomeFantasia": "<string>",
"documentoEstadual": "<string>",
"documentoMunicipal": "<string>",
"dtAberturaEmpresa": "2023-11-07T05:31:56Z",
"nomeResponsavelEmpresa": "<string>",
"cpfResponsavelEmpresa": "<string>",
"rgResponsavelEmpresa": "<string>",
"nomeArquivoContratoSocial": "<string>",
"arquivoContratoSocial": "<string>",
"capitalSocial": 123,
"faturamentoAnual": 123,
"codigoCnae": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
headers = {
"IdempotencyKey": "<idempotencykey>",
"IgnoraHandshake": "<ignorahandshake>",
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
IdempotencyKey: '<idempotencykey>',
IgnoraHandshake: '<ignorahandshake>',
Authorization: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
numeroBanco: '<string>',
numeroAgencia: '<string>',
numeroConta: '<string>',
digitoConta: '<string>',
descricao: '<string>',
tipoConta: 123,
dadosCorrentista: {documentoFederal: '<string>', nome: '<string>', tipoPessoa: 123},
dadosContato: {
email: '<string>',
telefoneFixo1: '<string>',
telefoneFixo2: '<string>',
telefoneCelular1: '<string>',
telefoneCelular2: '<string>',
telefoneFax: '<string>',
paginaWeb: '<string>'
},
dadosEndereco: {
cep: '<string>',
logradouro: '<string>',
nroLogradouro: '<string>',
bairro: '<string>',
complemento: '<string>',
cidade: '<string>',
uf: '<string>',
enderecoDesde: '2023-11-07T05:31:56Z',
enderecoPrincipal: true,
enderecoCorrespondencia: true,
verificadoInLoco: true
},
dadosPF: {
apelido: '<string>',
rg: '<string>',
rgOrgao: '<string>',
rguf: '<string>',
rgData: '2023-11-07T05:31:56Z',
dtNasc: '2023-11-07T05:31:56Z',
sexo: '<string>',
nacionalidade: '<string>',
naturalDeCidade: '<string>',
naturalDeUF: '<string>',
nomePai: '<string>',
nomeMae: '<string>',
nomeConjuge: '<string>',
dtNascConjuge: '2023-11-07T05:31:56Z',
cpfConjuge: '<string>',
rgConjuge: '<string>',
rgOrgaoConjuge: '<string>',
rgufConjuge: '<string>',
rgDataConjuge: '2023-11-07T05:31:56Z',
nomeArquivoIdentificacao: '<string>',
arquivoIdentificacao: '<string>',
renda: 123,
profissao: '<string>'
},
dadosPJ: {
nomeFantasia: '<string>',
documentoEstadual: '<string>',
documentoMunicipal: '<string>',
dtAberturaEmpresa: '2023-11-07T05:31:56Z',
nomeResponsavelEmpresa: '<string>',
cpfResponsavelEmpresa: '<string>',
rgResponsavelEmpresa: '<string>',
nomeArquivoContratoSocial: '<string>',
arquivoContratoSocial: '<string>',
capitalSocial: 123,
faturamentoAnual: 123,
codigoCnae: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
}
})
};
fetch('https://api.ext.dbs.moneyp.dev.br/api/v2/Conta', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ext.dbs.moneyp.dev.br/api/v2/Conta",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'numeroBanco' => '<string>',
'numeroAgencia' => '<string>',
'numeroConta' => '<string>',
'digitoConta' => '<string>',
'descricao' => '<string>',
'tipoConta' => 123,
'dadosCorrentista' => [
'documentoFederal' => '<string>',
'nome' => '<string>',
'tipoPessoa' => 123
],
'dadosContato' => [
'email' => '<string>',
'telefoneFixo1' => '<string>',
'telefoneFixo2' => '<string>',
'telefoneCelular1' => '<string>',
'telefoneCelular2' => '<string>',
'telefoneFax' => '<string>',
'paginaWeb' => '<string>'
],
'dadosEndereco' => [
'cep' => '<string>',
'logradouro' => '<string>',
'nroLogradouro' => '<string>',
'bairro' => '<string>',
'complemento' => '<string>',
'cidade' => '<string>',
'uf' => '<string>',
'enderecoDesde' => '2023-11-07T05:31:56Z',
'enderecoPrincipal' => true,
'enderecoCorrespondencia' => true,
'verificadoInLoco' => true
],
'dadosPF' => [
'apelido' => '<string>',
'rg' => '<string>',
'rgOrgao' => '<string>',
'rguf' => '<string>',
'rgData' => '2023-11-07T05:31:56Z',
'dtNasc' => '2023-11-07T05:31:56Z',
'sexo' => '<string>',
'nacionalidade' => '<string>',
'naturalDeCidade' => '<string>',
'naturalDeUF' => '<string>',
'nomePai' => '<string>',
'nomeMae' => '<string>',
'nomeConjuge' => '<string>',
'dtNascConjuge' => '2023-11-07T05:31:56Z',
'cpfConjuge' => '<string>',
'rgConjuge' => '<string>',
'rgOrgaoConjuge' => '<string>',
'rgufConjuge' => '<string>',
'rgDataConjuge' => '2023-11-07T05:31:56Z',
'nomeArquivoIdentificacao' => '<string>',
'arquivoIdentificacao' => '<string>',
'renda' => 123,
'profissao' => '<string>'
],
'dadosPJ' => [
'nomeFantasia' => '<string>',
'documentoEstadual' => '<string>',
'documentoMunicipal' => '<string>',
'dtAberturaEmpresa' => '2023-11-07T05:31:56Z',
'nomeResponsavelEmpresa' => '<string>',
'cpfResponsavelEmpresa' => '<string>',
'rgResponsavelEmpresa' => '<string>',
'nomeArquivoContratoSocial' => '<string>',
'arquivoContratoSocial' => '<string>',
'capitalSocial' => 123,
'faturamentoAnual' => 123,
'codigoCnae' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json",
"IdempotencyKey: <idempotencykey>",
"IgnoraHandshake: <ignorahandshake>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ext.dbs.moneyp.dev.br/api/v2/Conta"
payload := strings.NewReader("{\n \"numeroBanco\": \"<string>\",\n \"numeroAgencia\": \"<string>\",\n \"numeroConta\": \"<string>\",\n \"digitoConta\": \"<string>\",\n \"descricao\": \"<string>\",\n \"tipoConta\": 123,\n \"dadosCorrentista\": {\n \"documentoFederal\": \"<string>\",\n \"nome\": \"<string>\",\n \"tipoPessoa\": 123\n },\n \"dadosContato\": {\n \"email\": \"<string>\",\n \"telefoneFixo1\": \"<string>\",\n \"telefoneFixo2\": \"<string>\",\n \"telefoneCelular1\": \"<string>\",\n \"telefoneCelular2\": \"<string>\",\n \"telefoneFax\": \"<string>\",\n \"paginaWeb\": \"<string>\"\n },\n \"dadosEndereco\": {\n \"cep\": \"<string>\",\n \"logradouro\": \"<string>\",\n \"nroLogradouro\": \"<string>\",\n \"bairro\": \"<string>\",\n \"complemento\": \"<string>\",\n \"cidade\": \"<string>\",\n \"uf\": \"<string>\",\n \"enderecoDesde\": \"2023-11-07T05:31:56Z\",\n \"enderecoPrincipal\": true,\n \"enderecoCorrespondencia\": true,\n \"verificadoInLoco\": true\n },\n \"dadosPF\": {\n \"apelido\": \"<string>\",\n \"rg\": \"<string>\",\n \"rgOrgao\": \"<string>\",\n \"rguf\": \"<string>\",\n \"rgData\": \"2023-11-07T05:31:56Z\",\n \"dtNasc\": \"2023-11-07T05:31:56Z\",\n \"sexo\": \"<string>\",\n \"nacionalidade\": \"<string>\",\n \"naturalDeCidade\": \"<string>\",\n \"naturalDeUF\": \"<string>\",\n \"nomePai\": \"<string>\",\n \"nomeMae\": \"<string>\",\n \"nomeConjuge\": \"<string>\",\n \"dtNascConjuge\": \"2023-11-07T05:31:56Z\",\n \"cpfConjuge\": \"<string>\",\n \"rgConjuge\": \"<string>\",\n \"rgOrgaoConjuge\": \"<string>\",\n \"rgufConjuge\": \"<string>\",\n \"rgDataConjuge\": \"2023-11-07T05:31:56Z\",\n \"nomeArquivoIdentificacao\": \"<string>\",\n \"arquivoIdentificacao\": \"<string>\",\n \"renda\": 123,\n \"profissao\": \"<string>\"\n },\n \"dadosPJ\": {\n \"nomeFantasia\": \"<string>\",\n \"documentoEstadual\": \"<string>\",\n \"documentoMunicipal\": \"<string>\",\n \"dtAberturaEmpresa\": \"2023-11-07T05:31:56Z\",\n \"nomeResponsavelEmpresa\": \"<string>\",\n \"cpfResponsavelEmpresa\": \"<string>\",\n \"rgResponsavelEmpresa\": \"<string>\",\n \"nomeArquivoContratoSocial\": \"<string>\",\n \"arquivoContratoSocial\": \"<string>\",\n \"capitalSocial\": 123,\n \"faturamentoAnual\": 123,\n \"codigoCnae\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("IdempotencyKey", "<idempotencykey>")
req.Header.Add("IgnoraHandshake", "<ignorahandshake>")
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ext.dbs.moneyp.dev.br/api/v2/Conta")
.header("IdempotencyKey", "<idempotencykey>")
.header("IgnoraHandshake", "<ignorahandshake>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"numeroBanco\": \"<string>\",\n \"numeroAgencia\": \"<string>\",\n \"numeroConta\": \"<string>\",\n \"digitoConta\": \"<string>\",\n \"descricao\": \"<string>\",\n \"tipoConta\": 123,\n \"dadosCorrentista\": {\n \"documentoFederal\": \"<string>\",\n \"nome\": \"<string>\",\n \"tipoPessoa\": 123\n },\n \"dadosContato\": {\n \"email\": \"<string>\",\n \"telefoneFixo1\": \"<string>\",\n \"telefoneFixo2\": \"<string>\",\n \"telefoneCelular1\": \"<string>\",\n \"telefoneCelular2\": \"<string>\",\n \"telefoneFax\": \"<string>\",\n \"paginaWeb\": \"<string>\"\n },\n \"dadosEndereco\": {\n \"cep\": \"<string>\",\n \"logradouro\": \"<string>\",\n \"nroLogradouro\": \"<string>\",\n \"bairro\": \"<string>\",\n \"complemento\": \"<string>\",\n \"cidade\": \"<string>\",\n \"uf\": \"<string>\",\n \"enderecoDesde\": \"2023-11-07T05:31:56Z\",\n \"enderecoPrincipal\": true,\n \"enderecoCorrespondencia\": true,\n \"verificadoInLoco\": true\n },\n \"dadosPF\": {\n \"apelido\": \"<string>\",\n \"rg\": \"<string>\",\n \"rgOrgao\": \"<string>\",\n \"rguf\": \"<string>\",\n \"rgData\": \"2023-11-07T05:31:56Z\",\n \"dtNasc\": \"2023-11-07T05:31:56Z\",\n \"sexo\": \"<string>\",\n \"nacionalidade\": \"<string>\",\n \"naturalDeCidade\": \"<string>\",\n \"naturalDeUF\": \"<string>\",\n \"nomePai\": \"<string>\",\n \"nomeMae\": \"<string>\",\n \"nomeConjuge\": \"<string>\",\n \"dtNascConjuge\": \"2023-11-07T05:31:56Z\",\n \"cpfConjuge\": \"<string>\",\n \"rgConjuge\": \"<string>\",\n \"rgOrgaoConjuge\": \"<string>\",\n \"rgufConjuge\": \"<string>\",\n \"rgDataConjuge\": \"2023-11-07T05:31:56Z\",\n \"nomeArquivoIdentificacao\": \"<string>\",\n \"arquivoIdentificacao\": \"<string>\",\n \"renda\": 123,\n \"profissao\": \"<string>\"\n },\n \"dadosPJ\": {\n \"nomeFantasia\": \"<string>\",\n \"documentoEstadual\": \"<string>\",\n \"documentoMunicipal\": \"<string>\",\n \"dtAberturaEmpresa\": \"2023-11-07T05:31:56Z\",\n \"nomeResponsavelEmpresa\": \"<string>\",\n \"cpfResponsavelEmpresa\": \"<string>\",\n \"rgResponsavelEmpresa\": \"<string>\",\n \"nomeArquivoContratoSocial\": \"<string>\",\n \"arquivoContratoSocial\": \"<string>\",\n \"capitalSocial\": 123,\n \"faturamentoAnual\": 123,\n \"codigoCnae\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ext.dbs.moneyp.dev.br/api/v2/Conta")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["IdempotencyKey"] = '<idempotencykey>'
request["IgnoraHandshake"] = '<ignorahandshake>'
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"numeroBanco\": \"<string>\",\n \"numeroAgencia\": \"<string>\",\n \"numeroConta\": \"<string>\",\n \"digitoConta\": \"<string>\",\n \"descricao\": \"<string>\",\n \"tipoConta\": 123,\n \"dadosCorrentista\": {\n \"documentoFederal\": \"<string>\",\n \"nome\": \"<string>\",\n \"tipoPessoa\": 123\n },\n \"dadosContato\": {\n \"email\": \"<string>\",\n \"telefoneFixo1\": \"<string>\",\n \"telefoneFixo2\": \"<string>\",\n \"telefoneCelular1\": \"<string>\",\n \"telefoneCelular2\": \"<string>\",\n \"telefoneFax\": \"<string>\",\n \"paginaWeb\": \"<string>\"\n },\n \"dadosEndereco\": {\n \"cep\": \"<string>\",\n \"logradouro\": \"<string>\",\n \"nroLogradouro\": \"<string>\",\n \"bairro\": \"<string>\",\n \"complemento\": \"<string>\",\n \"cidade\": \"<string>\",\n \"uf\": \"<string>\",\n \"enderecoDesde\": \"2023-11-07T05:31:56Z\",\n \"enderecoPrincipal\": true,\n \"enderecoCorrespondencia\": true,\n \"verificadoInLoco\": true\n },\n \"dadosPF\": {\n \"apelido\": \"<string>\",\n \"rg\": \"<string>\",\n \"rgOrgao\": \"<string>\",\n \"rguf\": \"<string>\",\n \"rgData\": \"2023-11-07T05:31:56Z\",\n \"dtNasc\": \"2023-11-07T05:31:56Z\",\n \"sexo\": \"<string>\",\n \"nacionalidade\": \"<string>\",\n \"naturalDeCidade\": \"<string>\",\n \"naturalDeUF\": \"<string>\",\n \"nomePai\": \"<string>\",\n \"nomeMae\": \"<string>\",\n \"nomeConjuge\": \"<string>\",\n \"dtNascConjuge\": \"2023-11-07T05:31:56Z\",\n \"cpfConjuge\": \"<string>\",\n \"rgConjuge\": \"<string>\",\n \"rgOrgaoConjuge\": \"<string>\",\n \"rgufConjuge\": \"<string>\",\n \"rgDataConjuge\": \"2023-11-07T05:31:56Z\",\n \"nomeArquivoIdentificacao\": \"<string>\",\n \"arquivoIdentificacao\": \"<string>\",\n \"renda\": 123,\n \"profissao\": \"<string>\"\n },\n \"dadosPJ\": {\n \"nomeFantasia\": \"<string>\",\n \"documentoEstadual\": \"<string>\",\n \"documentoMunicipal\": \"<string>\",\n \"dtAberturaEmpresa\": \"2023-11-07T05:31:56Z\",\n \"nomeResponsavelEmpresa\": \"<string>\",\n \"cpfResponsavelEmpresa\": \"<string>\",\n \"rgResponsavelEmpresa\": \"<string>\",\n \"nomeArquivoContratoSocial\": \"<string>\",\n \"arquivoContratoSocial\": \"<string>\",\n \"capitalSocial\": 123,\n \"faturamentoAnual\": 123,\n \"codigoCnae\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n}"
response = http.request(request)
puts response.read_body{
"sucesso": true,
"mensagem": "<string>",
"numero": "<string>",
"digito": "<string>",
"contaPagamento": "<string>"
}{
"sucesso": true,
"mensagem": "<string>"
}{
"sucesso": true,
"mensagem": "<string>"
}Authorizations
Copie 'Bearer ' + token
Headers
(somente em homologação)
Body
Número do banco.*
Observação:
- O 'número do banco' (
numeroBanco) pode ter no máximo 3 caracteres.
Número da agência.*
Observação:
- O número da agência pode ter no máximo 4 caracteres.
- Valor padrão: '0001'
Número da conta bancária.
Observações:
- O 'número da conta' (
numeroConta) é obrigatório quando o 'tipo de geração' (tipoGeracaoNumeroConta) informado for 0 (manual). - O 'número da conta' (
numeroConta) não deve ser informado quando o 'tipo de geração' (tipoGeracaoNumeroConta) informado for 1 (sequencial). - O número da conta bancária pode ter no máximo 12 caracteres.
Dígito verificador do número da conta bancária.
Observação:
- O dígito verificador do número da conta bancária pode ter no máximo 1 caracter.
Informações adicionais sobre a conta.
Tipo de geração de conta.*
Observação:
- Valor padrão: '0'
Valores: 0 - Manual 1 - Sequencial
0, 1 Modelo de cobrança de taxa.*
Observação:
- Valor padrão: '1'
Valores: 0 - Desativado 1 - Parceiro 1 - Cliente
0, 1, 2 Tipo de conta.*
Observação:
- Valor padrão: '3'
Valores: -1 - CACC 2 - SVGS 3 - TRAN 4 - SLRY
Objeto detalhado da identificação do correntista vinculado à conta.*
Show child attributes
Show child attributes
Objeto detalhado do contato do correntista vinculado à conta.*
Show child attributes
Show child attributes
Objeto detalhado do endereço do correntista vinculado à conta.
Show child attributes
Show child attributes
Objeto detalhado dos dados de pessoa física do correntista vinculado à conta.
Observação:
- Quando o 'tipo de pessoa do correntista' (
tipoPessoa) for 1 (PF), este objeto deve ser preenchido.
Show child attributes
Show child attributes
Objeto detalhado dos dados de pessoa jurídica do correntista vinculado à conta.
Observação:
- Quando o 'tipo de pessoa do correntista' (
tipoPessoa) for 2 (PJ), este objeto deve ser preenchido.
Show child attributes
Show child attributes
1, 2, 3 Was this page helpful?

