curl --request POST \
--url https://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dtHrOp": "<string>",
"endToEndId": "<string>",
"idReqJdPi": "<string>",
"pagador": {
"cpfCnpj": "<string>",
"ispb": "<string>",
"nome": "<string>",
"nrAgencia": "<string>",
"nrConta": "<string>",
"tpConta": 123,
"tpPessoa": 123
},
"recebedor": {
"cpfCnpj": "<string>",
"ispb": "<string>",
"nome": "<string>",
"nrAgencia": "<string>",
"nrConta": "<string>",
"tpConta": 123,
"tpPessoa": 123
},
"tpIniciacao": 123,
"valor": 123,
"bankIdPss": "<string>",
"chave": "<string>",
"cnpjIniciadorPagamento": "<string>",
"dtContabil": "<string>",
"dtHrLiquidacao": "<string>",
"finalidade": 123,
"idConciliacaoRecebedor": "<string>",
"infEntreClientes": "<string>",
"modalidadeAgente": 123,
"prioridadePagamento": 123,
"tpPrioridadePagamento": 123,
"vlrDetalhe": [
{
"tipo": 123,
"vlrTarifaDinheiroCompra": 123
}
]
}
'import requests
url = "https://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins"
payload = {
"dtHrOp": "<string>",
"endToEndId": "<string>",
"idReqJdPi": "<string>",
"pagador": {
"cpfCnpj": "<string>",
"ispb": "<string>",
"nome": "<string>",
"nrAgencia": "<string>",
"nrConta": "<string>",
"tpConta": 123,
"tpPessoa": 123
},
"recebedor": {
"cpfCnpj": "<string>",
"ispb": "<string>",
"nome": "<string>",
"nrAgencia": "<string>",
"nrConta": "<string>",
"tpConta": 123,
"tpPessoa": 123
},
"tpIniciacao": 123,
"valor": 123,
"bankIdPss": "<string>",
"chave": "<string>",
"cnpjIniciadorPagamento": "<string>",
"dtContabil": "<string>",
"dtHrLiquidacao": "<string>",
"finalidade": 123,
"idConciliacaoRecebedor": "<string>",
"infEntreClientes": "<string>",
"modalidadeAgente": 123,
"prioridadePagamento": 123,
"tpPrioridadePagamento": 123,
"vlrDetalhe": [
{
"tipo": 123,
"vlrTarifaDinheiroCompra": 123
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
dtHrOp: '<string>',
endToEndId: '<string>',
idReqJdPi: '<string>',
pagador: {
cpfCnpj: '<string>',
ispb: '<string>',
nome: '<string>',
nrAgencia: '<string>',
nrConta: '<string>',
tpConta: 123,
tpPessoa: 123
},
recebedor: {
cpfCnpj: '<string>',
ispb: '<string>',
nome: '<string>',
nrAgencia: '<string>',
nrConta: '<string>',
tpConta: 123,
tpPessoa: 123
},
tpIniciacao: 123,
valor: 123,
bankIdPss: '<string>',
chave: '<string>',
cnpjIniciadorPagamento: '<string>',
dtContabil: '<string>',
dtHrLiquidacao: '<string>',
finalidade: 123,
idConciliacaoRecebedor: '<string>',
infEntreClientes: '<string>',
modalidadeAgente: 123,
prioridadePagamento: 123,
tpPrioridadePagamento: 123,
vlrDetalhe: [{tipo: 123, vlrTarifaDinheiroCompra: 123}]
})
};
fetch('https://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins', 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://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins",
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([
'dtHrOp' => '<string>',
'endToEndId' => '<string>',
'idReqJdPi' => '<string>',
'pagador' => [
'cpfCnpj' => '<string>',
'ispb' => '<string>',
'nome' => '<string>',
'nrAgencia' => '<string>',
'nrConta' => '<string>',
'tpConta' => 123,
'tpPessoa' => 123
],
'recebedor' => [
'cpfCnpj' => '<string>',
'ispb' => '<string>',
'nome' => '<string>',
'nrAgencia' => '<string>',
'nrConta' => '<string>',
'tpConta' => 123,
'tpPessoa' => 123
],
'tpIniciacao' => 123,
'valor' => 123,
'bankIdPss' => '<string>',
'chave' => '<string>',
'cnpjIniciadorPagamento' => '<string>',
'dtContabil' => '<string>',
'dtHrLiquidacao' => '<string>',
'finalidade' => 123,
'idConciliacaoRecebedor' => '<string>',
'infEntreClientes' => '<string>',
'modalidadeAgente' => 123,
'prioridadePagamento' => 123,
'tpPrioridadePagamento' => 123,
'vlrDetalhe' => [
[
'tipo' => 123,
'vlrTarifaDinheiroCompra' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins"
payload := strings.NewReader("{\n \"dtHrOp\": \"<string>\",\n \"endToEndId\": \"<string>\",\n \"idReqJdPi\": \"<string>\",\n \"pagador\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"recebedor\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"tpIniciacao\": 123,\n \"valor\": 123,\n \"bankIdPss\": \"<string>\",\n \"chave\": \"<string>\",\n \"cnpjIniciadorPagamento\": \"<string>\",\n \"dtContabil\": \"<string>\",\n \"dtHrLiquidacao\": \"<string>\",\n \"finalidade\": 123,\n \"idConciliacaoRecebedor\": \"<string>\",\n \"infEntreClientes\": \"<string>\",\n \"modalidadeAgente\": 123,\n \"prioridadePagamento\": 123,\n \"tpPrioridadePagamento\": 123,\n \"vlrDetalhe\": [\n {\n \"tipo\": 123,\n \"vlrTarifaDinheiroCompra\": 123\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dtHrOp\": \"<string>\",\n \"endToEndId\": \"<string>\",\n \"idReqJdPi\": \"<string>\",\n \"pagador\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"recebedor\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"tpIniciacao\": 123,\n \"valor\": 123,\n \"bankIdPss\": \"<string>\",\n \"chave\": \"<string>\",\n \"cnpjIniciadorPagamento\": \"<string>\",\n \"dtContabil\": \"<string>\",\n \"dtHrLiquidacao\": \"<string>\",\n \"finalidade\": 123,\n \"idConciliacaoRecebedor\": \"<string>\",\n \"infEntreClientes\": \"<string>\",\n \"modalidadeAgente\": 123,\n \"prioridadePagamento\": 123,\n \"tpPrioridadePagamento\": 123,\n \"vlrDetalhe\": [\n {\n \"tipo\": 123,\n \"vlrTarifaDinheiroCompra\": 123\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dtHrOp\": \"<string>\",\n \"endToEndId\": \"<string>\",\n \"idReqJdPi\": \"<string>\",\n \"pagador\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"recebedor\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"tpIniciacao\": 123,\n \"valor\": 123,\n \"bankIdPss\": \"<string>\",\n \"chave\": \"<string>\",\n \"cnpjIniciadorPagamento\": \"<string>\",\n \"dtContabil\": \"<string>\",\n \"dtHrLiquidacao\": \"<string>\",\n \"finalidade\": 123,\n \"idConciliacaoRecebedor\": \"<string>\",\n \"infEntreClientes\": \"<string>\",\n \"modalidadeAgente\": 123,\n \"prioridadePagamento\": 123,\n \"tpPrioridadePagamento\": 123,\n \"vlrDetalhe\": [\n {\n \"tipo\": 123,\n \"vlrTarifaDinheiroCompra\": 123\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"dtHrCreditoSgct": "<string>",
"dtHrReqJdPi": "<string>",
"endToEndIdDevolucao": "<string>",
"endToEndIdOriginal": "<string>",
"idCreditoSgct": "<string>",
"idReqJdPi": "<string>",
"idReqSistemaCliente": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}Processar cash-in de entrada do upstream
Processa um cash-in de entrada do upstream: resolve a conta de crédito pelo documento do recebedor, aplica o tratamento especial para pagamentos originados pelo Bacen (ISPB 99999), deduplica pelo id ponta a ponta e credita o cliente exatamente-uma-vez (idempotência do Midaz chaveada no id ponta a ponta). Uma conta não resolvida ou um pagador Bacen retorna um reconhecimento de conta-não-encontrada com formato de sucesso e sem crédito.
curl --request POST \
--url https://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dtHrOp": "<string>",
"endToEndId": "<string>",
"idReqJdPi": "<string>",
"pagador": {
"cpfCnpj": "<string>",
"ispb": "<string>",
"nome": "<string>",
"nrAgencia": "<string>",
"nrConta": "<string>",
"tpConta": 123,
"tpPessoa": 123
},
"recebedor": {
"cpfCnpj": "<string>",
"ispb": "<string>",
"nome": "<string>",
"nrAgencia": "<string>",
"nrConta": "<string>",
"tpConta": 123,
"tpPessoa": 123
},
"tpIniciacao": 123,
"valor": 123,
"bankIdPss": "<string>",
"chave": "<string>",
"cnpjIniciadorPagamento": "<string>",
"dtContabil": "<string>",
"dtHrLiquidacao": "<string>",
"finalidade": 123,
"idConciliacaoRecebedor": "<string>",
"infEntreClientes": "<string>",
"modalidadeAgente": 123,
"prioridadePagamento": 123,
"tpPrioridadePagamento": 123,
"vlrDetalhe": [
{
"tipo": 123,
"vlrTarifaDinheiroCompra": 123
}
]
}
'import requests
url = "https://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins"
payload = {
"dtHrOp": "<string>",
"endToEndId": "<string>",
"idReqJdPi": "<string>",
"pagador": {
"cpfCnpj": "<string>",
"ispb": "<string>",
"nome": "<string>",
"nrAgencia": "<string>",
"nrConta": "<string>",
"tpConta": 123,
"tpPessoa": 123
},
"recebedor": {
"cpfCnpj": "<string>",
"ispb": "<string>",
"nome": "<string>",
"nrAgencia": "<string>",
"nrConta": "<string>",
"tpConta": 123,
"tpPessoa": 123
},
"tpIniciacao": 123,
"valor": 123,
"bankIdPss": "<string>",
"chave": "<string>",
"cnpjIniciadorPagamento": "<string>",
"dtContabil": "<string>",
"dtHrLiquidacao": "<string>",
"finalidade": 123,
"idConciliacaoRecebedor": "<string>",
"infEntreClientes": "<string>",
"modalidadeAgente": 123,
"prioridadePagamento": 123,
"tpPrioridadePagamento": 123,
"vlrDetalhe": [
{
"tipo": 123,
"vlrTarifaDinheiroCompra": 123
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
dtHrOp: '<string>',
endToEndId: '<string>',
idReqJdPi: '<string>',
pagador: {
cpfCnpj: '<string>',
ispb: '<string>',
nome: '<string>',
nrAgencia: '<string>',
nrConta: '<string>',
tpConta: 123,
tpPessoa: 123
},
recebedor: {
cpfCnpj: '<string>',
ispb: '<string>',
nome: '<string>',
nrAgencia: '<string>',
nrConta: '<string>',
tpConta: 123,
tpPessoa: 123
},
tpIniciacao: 123,
valor: 123,
bankIdPss: '<string>',
chave: '<string>',
cnpjIniciadorPagamento: '<string>',
dtContabil: '<string>',
dtHrLiquidacao: '<string>',
finalidade: 123,
idConciliacaoRecebedor: '<string>',
infEntreClientes: '<string>',
modalidadeAgente: 123,
prioridadePagamento: 123,
tpPrioridadePagamento: 123,
vlrDetalhe: [{tipo: 123, vlrTarifaDinheiroCompra: 123}]
})
};
fetch('https://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins', 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://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins",
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([
'dtHrOp' => '<string>',
'endToEndId' => '<string>',
'idReqJdPi' => '<string>',
'pagador' => [
'cpfCnpj' => '<string>',
'ispb' => '<string>',
'nome' => '<string>',
'nrAgencia' => '<string>',
'nrConta' => '<string>',
'tpConta' => 123,
'tpPessoa' => 123
],
'recebedor' => [
'cpfCnpj' => '<string>',
'ispb' => '<string>',
'nome' => '<string>',
'nrAgencia' => '<string>',
'nrConta' => '<string>',
'tpConta' => 123,
'tpPessoa' => 123
],
'tpIniciacao' => 123,
'valor' => 123,
'bankIdPss' => '<string>',
'chave' => '<string>',
'cnpjIniciadorPagamento' => '<string>',
'dtContabil' => '<string>',
'dtHrLiquidacao' => '<string>',
'finalidade' => 123,
'idConciliacaoRecebedor' => '<string>',
'infEntreClientes' => '<string>',
'modalidadeAgente' => 123,
'prioridadePagamento' => 123,
'tpPrioridadePagamento' => 123,
'vlrDetalhe' => [
[
'tipo' => 123,
'vlrTarifaDinheiroCompra' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins"
payload := strings.NewReader("{\n \"dtHrOp\": \"<string>\",\n \"endToEndId\": \"<string>\",\n \"idReqJdPi\": \"<string>\",\n \"pagador\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"recebedor\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"tpIniciacao\": 123,\n \"valor\": 123,\n \"bankIdPss\": \"<string>\",\n \"chave\": \"<string>\",\n \"cnpjIniciadorPagamento\": \"<string>\",\n \"dtContabil\": \"<string>\",\n \"dtHrLiquidacao\": \"<string>\",\n \"finalidade\": 123,\n \"idConciliacaoRecebedor\": \"<string>\",\n \"infEntreClientes\": \"<string>\",\n \"modalidadeAgente\": 123,\n \"prioridadePagamento\": 123,\n \"tpPrioridadePagamento\": 123,\n \"vlrDetalhe\": [\n {\n \"tipo\": 123,\n \"vlrTarifaDinheiroCompra\": 123\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dtHrOp\": \"<string>\",\n \"endToEndId\": \"<string>\",\n \"idReqJdPi\": \"<string>\",\n \"pagador\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"recebedor\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"tpIniciacao\": 123,\n \"valor\": 123,\n \"bankIdPss\": \"<string>\",\n \"chave\": \"<string>\",\n \"cnpjIniciadorPagamento\": \"<string>\",\n \"dtContabil\": \"<string>\",\n \"dtHrLiquidacao\": \"<string>\",\n \"finalidade\": 123,\n \"idConciliacaoRecebedor\": \"<string>\",\n \"infEntreClientes\": \"<string>\",\n \"modalidadeAgente\": 123,\n \"prioridadePagamento\": 123,\n \"tpPrioridadePagamento\": 123,\n \"vlrDetalhe\": [\n {\n \"tipo\": 123,\n \"vlrTarifaDinheiroCompra\": 123\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://plugin-pix-direct.api.lerian.net/v1/webhooks/cash-ins")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dtHrOp\": \"<string>\",\n \"endToEndId\": \"<string>\",\n \"idReqJdPi\": \"<string>\",\n \"pagador\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"recebedor\": {\n \"cpfCnpj\": \"<string>\",\n \"ispb\": \"<string>\",\n \"nome\": \"<string>\",\n \"nrAgencia\": \"<string>\",\n \"nrConta\": \"<string>\",\n \"tpConta\": 123,\n \"tpPessoa\": 123\n },\n \"tpIniciacao\": 123,\n \"valor\": 123,\n \"bankIdPss\": \"<string>\",\n \"chave\": \"<string>\",\n \"cnpjIniciadorPagamento\": \"<string>\",\n \"dtContabil\": \"<string>\",\n \"dtHrLiquidacao\": \"<string>\",\n \"finalidade\": 123,\n \"idConciliacaoRecebedor\": \"<string>\",\n \"infEntreClientes\": \"<string>\",\n \"modalidadeAgente\": 123,\n \"prioridadePagamento\": 123,\n \"tpPrioridadePagamento\": 123,\n \"vlrDetalhe\": [\n {\n \"tipo\": 123,\n \"vlrTarifaDinheiroCompra\": 123\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"dtHrCreditoSgct": "<string>",
"dtHrReqJdPi": "<string>",
"endToEndIdDevolucao": "<string>",
"endToEndIdOriginal": "<string>",
"idCreditoSgct": "<string>",
"idReqJdPi": "<string>",
"idReqSistemaCliente": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}Autorizações
Autenticacao por token JWT Bearer. Obtenha o token no endpoint /v1/login/oauth/access_token
usando credenciais do cliente (clientId e clientSecret).
Inclua o token no header Authorization:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
O token expira apos 3600 segundos (1 hora).
Corpo
Data/hora da operação (ISO-8601).
Id ponta a ponta do SPI (chave de idempotência + dedup).
Id da requisição upstream (torna-se o id da linha local quando um UUID).
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Tipo de iniciação (eStartupType: Chave -> rota in, QR -> rota inQrCode).
Valor em reais (um número JSON).
ISPB do participante PSS de Saque/troco (uma string v5.5.0).
A chave Pix (presente para cash-ins iniciados por chave).
CNPJ do iniciador de pagamento (uma string v5.5.0).
Data contábil (opcional).
Data/hora de liquidação (opcional).
Finalidade (eFinality).
Id de conciliação do recebedor (estampado na linha + no marcador de 24h).
Informação inter-clientes em texto livre.
Modalidade do agente (eModalityAgent).
Prioridade de pagamento (ePaymentPriority).
Tipo de prioridade de pagamento.
Entradas opcionais de detalhe de valor.
Show child attributes
Show child attributes
Resposta
OK
carimbo de data/hora de crédito do gateway de liquidação (ISO-8601), em um resultado creditado.
Data/hora da requisição (ISO-8601).
Id ponta a ponta de retorno ecoado.
Id ponta a ponta original ecoado.
id do lançamento de crédito do gateway de liquidação (GUID), em um resultado creditado.
Id da requisição upstream ecoado.
Id de requisição do sistema cliente ecoado.
Esta página foi útil?

