List an approved assignment set's receivables
curl --request GET \
--url https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/receivables \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/receivables"
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://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/receivables', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/receivables"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"approval": {
"approvedAt": "<string>",
"contentDigest": "<string>",
"id": "<string>"
},
"data": [
{
"factsStatus": "complete",
"receivableRef": "<string>",
"aggregates": {
"asOf": "<string>",
"openAmount": "<string>",
"openInstallments": 123,
"paidInstallments": 123,
"toFallDueAmount": "<string>",
"toFallDueInstallments": 123
},
"availableMarginAtBooking": "<string>",
"bookedTerms": {
"cetAnnualPct": "<string>",
"cetMonthlyPct": "<string>",
"expectedDisbursementDate": "<string>",
"installmentAmount": "<string>",
"installmentCount": 123,
"iofAmount": "<string>",
"liberatedAmount": "<string>",
"loanProductVersion": "<string>",
"monthlyInterestRatePct": "<string>",
"principalAmount": "<string>"
},
"contractType": "new",
"identityPackDigest": "<string>",
"observedAt": "<string>",
"outstandingBalance": {
"amount": "<string>",
"currency": "<string>",
"effectiveAt": "<string>",
"revision": 123
},
"registrationStatus": "<string>",
"schedule": [
{
"dueDate": "<string>",
"installmentNumber": 123,
"remainingAmount": "<string>",
"status": "<string>",
"paidAmount": "<string>",
"scheduledAmount": "<string>"
}
],
"scheduleAnnualRatePct": "<string>",
"scheduleMonthlyRatePct": "<string>",
"signedInstrumentDigest": "<string>",
"signedOn": "<string>"
}
],
"set": {
"currency": "<string>",
"fundId": "<string>",
"id": "<string>",
"state": "<string>"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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 an approved assignment set's receivables
Answers, in one call, the members that survive the set’s approval, each with its booked terms, its canonical outstanding balance, the digests of its custodied documents and its persisted schedule. A member whose facts are not persisted now comes back as incomplete. Answers in every state after approval, cancelled included; a set never approved is refused (LENDER-0545). No personal data leaves here.
GET
/
api
/
v1
/
assignment
/
sets
/
{setId}
/
receivables
List an approved assignment set's receivables
curl --request GET \
--url https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/receivables \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/receivables"
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://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/receivables', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/receivables"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"approval": {
"approvedAt": "<string>",
"contentDigest": "<string>",
"id": "<string>"
},
"data": [
{
"factsStatus": "complete",
"receivableRef": "<string>",
"aggregates": {
"asOf": "<string>",
"openAmount": "<string>",
"openInstallments": 123,
"paidInstallments": 123,
"toFallDueAmount": "<string>",
"toFallDueInstallments": 123
},
"availableMarginAtBooking": "<string>",
"bookedTerms": {
"cetAnnualPct": "<string>",
"cetMonthlyPct": "<string>",
"expectedDisbursementDate": "<string>",
"installmentAmount": "<string>",
"installmentCount": 123,
"iofAmount": "<string>",
"liberatedAmount": "<string>",
"loanProductVersion": "<string>",
"monthlyInterestRatePct": "<string>",
"principalAmount": "<string>"
},
"contractType": "new",
"identityPackDigest": "<string>",
"observedAt": "<string>",
"outstandingBalance": {
"amount": "<string>",
"currency": "<string>",
"effectiveAt": "<string>",
"revision": 123
},
"registrationStatus": "<string>",
"schedule": [
{
"dueDate": "<string>",
"installmentNumber": 123,
"remainingAmount": "<string>",
"status": "<string>",
"paidAmount": "<string>",
"scheduledAmount": "<string>"
}
],
"scheduleAnnualRatePct": "<string>",
"scheduleMonthlyRatePct": "<string>",
"signedInstrumentDigest": "<string>",
"signedOn": "<string>"
}
],
"set": {
"currency": "<string>",
"fundId": "<string>",
"id": "<string>",
"state": "<string>"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}{
"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"
}
}Autorizações
JWT bearer token issued by the identity provider.
Parâmetros de caminho
Assignment set identifier.
Esta página foi útil?

