cURL
curl --request POST \
--url https://api.ext.dbs.moneyp.dev.br/api/Cedente \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--header 'IgnoraHandshake: <ignorahandshake>' \
--data '
{
"conta": {
"agencia": "<string>",
"agenciaDigito": "<string>",
"conta": "<string>",
"contaDigito": "<string>",
"contaPgto": "<string>"
}
}
'import requests
url = "https://api.ext.dbs.moneyp.dev.br/api/Cedente"
payload = { "conta": {
"agencia": "<string>",
"agenciaDigito": "<string>",
"conta": "<string>",
"contaDigito": "<string>",
"contaPgto": "<string>"
} }
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({
conta: {
agencia: '<string>',
agenciaDigito: '<string>',
conta: '<string>',
contaDigito: '<string>',
contaPgto: '<string>'
}
})
};
fetch('https://api.ext.dbs.moneyp.dev.br/api/Cedente', 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/Cedente",
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([
'conta' => [
'agencia' => '<string>',
'agenciaDigito' => '<string>',
'conta' => '<string>',
'contaDigito' => '<string>',
'contaPgto' => '<string>'
]
]),
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/Cedente"
payload := strings.NewReader("{\n \"conta\": {\n \"agencia\": \"<string>\",\n \"agenciaDigito\": \"<string>\",\n \"conta\": \"<string>\",\n \"contaDigito\": \"<string>\",\n \"contaPgto\": \"<string>\"\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/Cedente")
.header("IdempotencyKey", "<idempotencykey>")
.header("IgnoraHandshake", "<ignorahandshake>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"conta\": {\n \"agencia\": \"<string>\",\n \"agenciaDigito\": \"<string>\",\n \"conta\": \"<string>\",\n \"contaDigito\": \"<string>\",\n \"contaPgto\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ext.dbs.moneyp.dev.br/api/Cedente")
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 \"conta\": {\n \"agencia\": \"<string>\",\n \"agenciaDigito\": \"<string>\",\n \"conta\": \"<string>\",\n \"contaDigito\": \"<string>\",\n \"contaPgto\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"sucesso": true,
"mensagem": "<string>",
"numero": 123
}{
"sucesso": true,
"mensagem": "<string>"
}{
"sucesso": true,
"mensagem": "<string>"
}Bills
60 - Include Assignor
Scopes:
api.ext api.cedente.cadastrarcURL
curl --request POST \
--url https://api.ext.dbs.moneyp.dev.br/api/Cedente \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--header 'IgnoraHandshake: <ignorahandshake>' \
--data '
{
"conta": {
"agencia": "<string>",
"agenciaDigito": "<string>",
"conta": "<string>",
"contaDigito": "<string>",
"contaPgto": "<string>"
}
}
'import requests
url = "https://api.ext.dbs.moneyp.dev.br/api/Cedente"
payload = { "conta": {
"agencia": "<string>",
"agenciaDigito": "<string>",
"conta": "<string>",
"contaDigito": "<string>",
"contaPgto": "<string>"
} }
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({
conta: {
agencia: '<string>',
agenciaDigito: '<string>',
conta: '<string>',
contaDigito: '<string>',
contaPgto: '<string>'
}
})
};
fetch('https://api.ext.dbs.moneyp.dev.br/api/Cedente', 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/Cedente",
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([
'conta' => [
'agencia' => '<string>',
'agenciaDigito' => '<string>',
'conta' => '<string>',
'contaDigito' => '<string>',
'contaPgto' => '<string>'
]
]),
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/Cedente"
payload := strings.NewReader("{\n \"conta\": {\n \"agencia\": \"<string>\",\n \"agenciaDigito\": \"<string>\",\n \"conta\": \"<string>\",\n \"contaDigito\": \"<string>\",\n \"contaPgto\": \"<string>\"\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/Cedente")
.header("IdempotencyKey", "<idempotencykey>")
.header("IgnoraHandshake", "<ignorahandshake>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"conta\": {\n \"agencia\": \"<string>\",\n \"agenciaDigito\": \"<string>\",\n \"conta\": \"<string>\",\n \"contaDigito\": \"<string>\",\n \"contaPgto\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ext.dbs.moneyp.dev.br/api/Cedente")
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 \"conta\": {\n \"agencia\": \"<string>\",\n \"agenciaDigito\": \"<string>\",\n \"conta\": \"<string>\",\n \"contaDigito\": \"<string>\",\n \"contaPgto\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"sucesso": true,
"mensagem": "<string>",
"numero": 123
}{
"sucesso": true,
"mensagem": "<string>"
}{
"sucesso": true,
"mensagem": "<string>"
}Through this endpoint, the partner can register a Payee number, as this process is necessary to initiate the bill registration process.
To use this endpoint, you must have an active account with BMP-274. Account creation can be done at the /api/v2/Account endpoint. After creating an account and payee, you must link them to a wallet at the /api/Payee/AddWallet endpoint.
Authorizations
Copie 'Bearer ' + token
Headers
(somente em homologação)
Body
application/jsontext/jsonapplication/*+json
Objeto detalhado da conta bancária para a qual deseja-se cadastrar o cedente.*
Show child attributes
Show child attributes
Tipo da Modalidade.*
Valores: 1 - Cobrança Simples 2 - Cobrança Vinculada 3 - Cobrança Caucionada 4 - Cobrança Descontada 5 - Cobrança Vendor
Available options:
1, 2, 3, 4, 5 Was this page helpful?
⌘I

