List the settlements Núclea notified this domicile of
curl --request GET \
--url https://api.example.com/v1/domicile/settlements \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/domicile/settlements"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/domicile/settlements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/v1/domicile/settlements"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"hasNext": true,
"items": [
{
"acquirerCnpj": "<string>",
"acquirerCnpjBase": "<string>",
"acquirerName": "<string>",
"administeredParticipant": "<string>",
"amount": "<string>",
"amountType": "<string>",
"arrangementCode": "<string>",
"centralizerCode": "<string>",
"centralizerDocument": "<string>",
"centralizerPersonType": "<string>",
"currency": "<string>",
"fileControlNumber": "<string>",
"fileName": "<string>",
"ispbIfCreditor": "<string>",
"ispbIfDebtor": "<string>",
"ispbIfSettlement": "<string>",
"maintainedAt": "<string>",
"nuLiquid": "<string>",
"paymentDate": "<string>",
"posCode": "<string>",
"posDocument": "<string>",
"posName": "<string>",
"posPersonType": "<string>",
"posType": "<string>",
"principalParticipant": "<string>",
"productType": "<string>",
"receivedAt": "<string>",
"referenceDate": "<string>",
"responses": [
{
"createdAt": "<string>",
"decision": "CONFIRM",
"occurrenceCode": "<string>",
"phase": "SCHEDULING",
"responseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state": "PENDING",
"updatedAt": "<string>",
"controlNumberCip": "<string>",
"fileName": "<string>",
"rejectionCodes": [
"<string>"
]
}
],
"strProofs": [
{
"amount": "<string>",
"numCtrlLtr": "<string>",
"numCtrlSlc": "<string>",
"numCtrlStr": "<string>",
"settledAt": "<string>"
}
],
"transferForm": "<string>",
"type": "CREDIT",
"acquirerAccount": "<string>",
"acquirerBranch": "<string>",
"cancelled": {
"cancelledAt": "<string>",
"fileName": "<string>",
"maintainedAt": "<string>",
"reason": "<string>"
},
"centralizerAccount": "<string>",
"centralizerAccountType": "<string>",
"centralizerBranch": "<string>",
"centralizerPaymentAccount": "<string>",
"settled": {
"domicileStatus": "<string>",
"reportControlNumber": "<string>",
"settledAt": "<string>"
}
}
],
"limit": 123,
"offset": 123
}{
"correlationId": "req-7a3f9c2e",
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"correlationId": "req-7a3f9c2e",
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"correlationId": "req-7a3f9c2e",
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"correlationId": "req-7a3f9c2e",
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}List the settlements Núclea notified this domicile of
Lists the point-of-sale settlements Núclea notified this IF Domicílio of in ASLC022 (credit), ASLC024 (debit) and ASLC032 (anticipation) files, newest payment date first, paged (limit default 50, max 500). Every value is the file’s, verbatim: this rail holds no position and sums nothing. settled carries Núclea’s ASLC929 report once it reads the settlement Liquidado, its SitRespDomicilio verbatim. cancelled carries the ASLC061/065 that cancelled it; the rail confirms it with 34 in a CANCEL-phase answer. RBAC: domicile:read.
GET
/
v1
/
domicile
/
settlements
List the settlements Núclea notified this domicile of
curl --request GET \
--url https://api.example.com/v1/domicile/settlements \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/domicile/settlements"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/domicile/settlements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/v1/domicile/settlements"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"hasNext": true,
"items": [
{
"acquirerCnpj": "<string>",
"acquirerCnpjBase": "<string>",
"acquirerName": "<string>",
"administeredParticipant": "<string>",
"amount": "<string>",
"amountType": "<string>",
"arrangementCode": "<string>",
"centralizerCode": "<string>",
"centralizerDocument": "<string>",
"centralizerPersonType": "<string>",
"currency": "<string>",
"fileControlNumber": "<string>",
"fileName": "<string>",
"ispbIfCreditor": "<string>",
"ispbIfDebtor": "<string>",
"ispbIfSettlement": "<string>",
"maintainedAt": "<string>",
"nuLiquid": "<string>",
"paymentDate": "<string>",
"posCode": "<string>",
"posDocument": "<string>",
"posName": "<string>",
"posPersonType": "<string>",
"posType": "<string>",
"principalParticipant": "<string>",
"productType": "<string>",
"receivedAt": "<string>",
"referenceDate": "<string>",
"responses": [
{
"createdAt": "<string>",
"decision": "CONFIRM",
"occurrenceCode": "<string>",
"phase": "SCHEDULING",
"responseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state": "PENDING",
"updatedAt": "<string>",
"controlNumberCip": "<string>",
"fileName": "<string>",
"rejectionCodes": [
"<string>"
]
}
],
"strProofs": [
{
"amount": "<string>",
"numCtrlLtr": "<string>",
"numCtrlSlc": "<string>",
"numCtrlStr": "<string>",
"settledAt": "<string>"
}
],
"transferForm": "<string>",
"type": "CREDIT",
"acquirerAccount": "<string>",
"acquirerBranch": "<string>",
"cancelled": {
"cancelledAt": "<string>",
"fileName": "<string>",
"maintainedAt": "<string>",
"reason": "<string>"
},
"centralizerAccount": "<string>",
"centralizerAccountType": "<string>",
"centralizerBranch": "<string>",
"centralizerPaymentAccount": "<string>",
"settled": {
"domicileStatus": "<string>",
"reportControlNumber": "<string>",
"settledAt": "<string>"
}
}
],
"limit": 123,
"offset": 123
}{
"correlationId": "req-7a3f9c2e",
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"correlationId": "req-7a3f9c2e",
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"correlationId": "req-7a3f9c2e",
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"correlationId": "req-7a3f9c2e",
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}Parâmetros de consulta
Esta página foi útil?

