curl --request POST \
--url https://lender.sandbox.lerian.net/api/v1/assignment/sets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fundId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receivableRefs": [
"<string>"
]
}
'package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/assignment/sets"
payload := strings.NewReader("{\n \"fundId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"receivableRefs\": [\n \"<string>\"\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))
}const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({fundId: '3c90c3cc-0d44-4b50-8888-8dd25736052a', receivableRefs: ['<string>']})
};
fetch('https://lender.sandbox.lerian.net/api/v1/assignment/sets', 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"
payload = {
"fundId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receivableRefs": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"items": [
{
"assignmentPrice": "<string>",
"assignmentRate": "<string>",
"assignorRef": "<string>",
"borrowerRef": "<string>",
"currency": "<string>",
"custodyComplete": true,
"discountAmount": "<string>",
"dossierDigest": "<string>",
"exitReason": "<string>",
"exitSource": "<string>",
"faceValue": "<string>",
"hasOpenOverdue": true,
"installmentCount": 123,
"itemState": "<string>",
"outstandingBalance": "<string>",
"paymentSourceRef": "<string>",
"principalAmount": "<string>",
"receivableRef": "<string>",
"registrationActive": true,
"repriced": true,
"snapshotObservedAt": "<string>",
"valuationBaseDate": "<string>",
"valuationVersion": "<string>",
"trailInstallmentsRemaining": 123
}
],
"set": {
"createdAt": "<string>",
"createdBy": "<string>",
"currency": "<string>",
"eligibilityCheckedAt": "<string>",
"fundId": "<string>",
"id": "<string>",
"inSetItemCount": 123,
"ruleVersion": "<string>",
"state": "<string>",
"totalAssignmentPrice": "<string>",
"totalFaceValue": "<string>",
"updatedAt": "<string>",
"valuationVersion": "<string>"
},
"approval": {
"approvedAt": "<string>",
"approvedBy": "<string>",
"contentDigest": "<string>",
"currency": "<string>",
"fundId": "<string>",
"id": "<string>",
"itemCount": 123,
"setId": "<string>",
"totalAssignmentPrice": "<string>",
"trailObservedAt": "<string>",
"valuationVersion": "<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"
}
}Assemble an assignment set
Composes a DRAFT set from the chosen receivables: freezes each one’s facts and prices it with the fund’s own cession rate, so the composition a manager later approves is the composition that was measured. A receivable already travelling inside another set is refused, never silently dropped.
curl --request POST \
--url https://lender.sandbox.lerian.net/api/v1/assignment/sets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fundId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receivableRefs": [
"<string>"
]
}
'package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/assignment/sets"
payload := strings.NewReader("{\n \"fundId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"receivableRefs\": [\n \"<string>\"\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))
}const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({fundId: '3c90c3cc-0d44-4b50-8888-8dd25736052a', receivableRefs: ['<string>']})
};
fetch('https://lender.sandbox.lerian.net/api/v1/assignment/sets', 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"
payload = {
"fundId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receivableRefs": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"items": [
{
"assignmentPrice": "<string>",
"assignmentRate": "<string>",
"assignorRef": "<string>",
"borrowerRef": "<string>",
"currency": "<string>",
"custodyComplete": true,
"discountAmount": "<string>",
"dossierDigest": "<string>",
"exitReason": "<string>",
"exitSource": "<string>",
"faceValue": "<string>",
"hasOpenOverdue": true,
"installmentCount": 123,
"itemState": "<string>",
"outstandingBalance": "<string>",
"paymentSourceRef": "<string>",
"principalAmount": "<string>",
"receivableRef": "<string>",
"registrationActive": true,
"repriced": true,
"snapshotObservedAt": "<string>",
"valuationBaseDate": "<string>",
"valuationVersion": "<string>",
"trailInstallmentsRemaining": 123
}
],
"set": {
"createdAt": "<string>",
"createdBy": "<string>",
"currency": "<string>",
"eligibilityCheckedAt": "<string>",
"fundId": "<string>",
"id": "<string>",
"inSetItemCount": 123,
"ruleVersion": "<string>",
"state": "<string>",
"totalAssignmentPrice": "<string>",
"totalFaceValue": "<string>",
"updatedAt": "<string>",
"valuationVersion": "<string>"
},
"approval": {
"approvedAt": "<string>",
"approvedBy": "<string>",
"contentDigest": "<string>",
"currency": "<string>",
"fundId": "<string>",
"id": "<string>",
"itemCount": 123,
"setId": "<string>",
"totalAssignmentPrice": "<string>",
"trailObservedAt": "<string>",
"valuationVersion": "<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"
}
}Authorizations
JWT bearer token issued by the identity provider.
Body
Fund registration this composition is offered to. Its cession rate prices every receivable and its regulation supplies the concentration limits.
The receivables the desk chose, by rail contract reference. A reference the tenant's assignable pool does not carry is refused by name — never dropped from the set silently.
1 - 500 elementsResponse
Created
Every receivable ever admitted to this set, survivors and departures alike, in the order the composition was read. Always present, empty slice when none.
Show child attributes
Show child attributes
The set and the aggregates of its surviving composition.
Show child attributes
Show child attributes
The immutable approval fact. Absent while the composition has not been approved.
Show child attributes
Show child attributes
Was this page helpful?

