{ "components": { "schemas": { "AdjustedEvent": { "description": "One or more holding attributes were amended.", "properties": { "cost": { "description": "Updated principal amount in the holding's currency.", "examples": [ "10000.00" ], "format": "decimal", "type": "string" }, "currency": { "description": "Three-letter currency code for the holding.", "examples": [ "GBP" ], "type": "string" }, "cursor": { "description": "Opaque pagination token for this event. Pass as start_cursor on the next request to retrieve events that occurred after this one.", "examples": [ "ev1.abc123.xyz789" ], "type": "string" }, "entityCode": { "description": "Code identifying the organisation (client) this event belongs to.", "examples": [ "TEST001" ], "type": "string" }, "eventType": { "const": "ADJUSTED", "type": "string" }, "holdingUid": { "description": "Unique identifier of the holding.", "examples": [ "6e69e21342a24bbdaf9fe4e8a9995fda" ], "type": "string" }, "maturityDate": { "description": "Updated maturity date (YYYY-MM-DD).", "examples": [ "2025-01-01" ], "type": "string" }, "maturityValue": { "description": "Expected or actual maturity value (principal plus interest) in the holding's currency.", "examples": [ "10250.00" ], "format": "decimal", "type": "string" }, "obligorExposureCode": { "description": "Code identifying the obligor exposure (counterparty) for this holding.", "examples": [ "BACR" ], "type": "string" }, "previousMaturityDate": { "description": "Maturity date (YYYY-MM-DD) before the amendment.", "examples": [ "2024-12-01" ], "type": "string" }, "previousMaturityValue": { "description": "Expected maturity value before the amendment.", "examples": [ "10200.00" ], "format": "decimal", "type": "string" }, "previousSubscriptionDate": { "description": "Subscription date (YYYY-MM-DD) before the amendment.", "examples": [ "2023-12-01" ], "type": "string" }, "subscriptionDate": { "description": "Updated subscription date (YYYY-MM-DD).", "examples": [ "2024-01-01" ], "type": "string" }, "uid": { "description": "Unique identifier for this event record.", "examples": [ "00000000000000000000000000000001" ], "type": "string" }, "yield": { "description": "Current yield for the holding at the time of the event (annualised APY).", "examples": [ "4.000000" ], "format": "decimal", "type": "string" } }, "required": [ "uid", "cursor", "entityCode", "obligorExposureCode", "maturityValue", "yield", "eventType", "currency", "holdingUid", "cost", "subscriptionDate", "maturityDate", "previousMaturityDate", "previousMaturityValue", "previousSubscriptionDate" ], "type": "object", "x-tags": [ "Events" ] }, "CancelledEvent": { "description": "A previously issued holding was cancelled.", "properties": { "cost": { "description": "Principal amount that was invested in the cancelled holding.", "examples": [ "10000.00" ], "format": "decimal", "type": "string" }, "currency": { "description": "Three-letter currency code for the holding.", "examples": [ "GBP" ], "type": "string" }, "cursor": { "description": "Opaque pagination token for this event. Pass as start_cursor on the next request to retrieve events that occurred after this one.", "examples": [ "ev1.abc123.xyz789" ], "type": "string" }, "entityCode": { "description": "Code identifying the organisation (client) this event belongs to.", "examples": [ "TEST001" ], "type": "string" }, "eventType": { "const": "CANCELLED", "type": "string" }, "holdingUid": { "description": "Unique identifier of the cancelled holding.", "examples": [ "6e69e21342a24bbdaf9fe4e8a9995fda" ], "type": "string" }, "uid": { "description": "Unique identifier for this event record.", "examples": [ "00000000000000000000000000000001" ], "type": "string" } }, "required": [ "uid", "cursor", "entityCode", "eventType", "currency", "holdingUid", "cost" ], "type": "object", "x-tags": [ "Events" ] }, "CashMovedEvent": { "description": "Cash was deposited into or withdrawn from the client's account.", "properties": { "amount": { "description": "Net cash amount. Positive indicates a deposit; negative indicates a withdrawal.", "examples": [ "10000.00" ], "format": "decimal", "type": "string" }, "currency": { "description": "Three-letter currency code for the cash movement.", "examples": [ "GBP" ], "type": "string" }, "cursor": { "description": "Opaque pagination token for this event. Pass as start_cursor on the next request to retrieve events that occurred after this one.", "examples": [ "ev1.abc123.xyz789" ], "type": "string" }, "entityCode": { "description": "Code identifying the organisation (client) this event belongs to.", "examples": [ "TEST001" ], "type": "string" }, "eventType": { "const": "CASH_MOVED", "type": "string" }, "uid": { "description": "Unique identifier for this event record.", "examples": [ "00000000000000000000000000000001" ], "type": "string" } }, "required": [ "uid", "cursor", "entityCode", "eventType", "currency", "amount" ], "type": "object", "x-tags": [ "Events" ] }, "Cell": { "description": "Cell schema.", "properties": { "allowedObligors": { "description": "List of allowed obligors", "items": { "$ref": "#/components/schemas/allowedObligorExposures" }, "type": "array" }, "code": { "description": "Cell Code", "examples": [ "Example-IC" ], "type": "string" }, "documents": { "description": "Cell Documents", "items": { "$ref": "#/components/schemas/CellDocuments" }, "type": "array" }, "name": { "description": "Cell Name", "examples": [ "TreasurySpring Example FTF IC" ], "type": "string" } }, "required": [ "code", "name", "documents", "allowedObligors" ], "type": "object", "x-tags": [ "Cells" ] }, "CellDocuments": { "description": "CellDocuments schema.", "properties": { "name": { "description": "Document Name", "examples": [ "Factsheet" ], "type": "string" } }, "required": [ "name" ], "type": "object", "x-tags": [ "Cells" ] }, "CheckpointData": { "properties": { "checkpointVersion": { "description": "Opaque version token (ec1.*) representing the current state of this checkpoint. Pass this as expected_checkpoint_version when advancing the cursor via PATCH — if the checkpoint has changed since you read it, the request will return 409 Conflict.", "examples": [ "ec1...." ], "type": "string" }, "cursor": { "description": "Opaque cursor token (ev1.*) pointing to the current stream position", "examples": [ "ev1...." ], "type": "string" }, "name": { "description": "Checkpoint name", "examples": [ "my-checkpoint" ], "type": "string" }, "uid": { "description": "Unique identifier for the checkpoint", "examples": [ "01JKXYZ..." ], "type": "string" }, "updatedAt": { "description": "ISO 8601 timestamp of the last update", "examples": [ "2024-01-01T00:00:00Z" ], "type": "string" } }, "required": [ "uid", "name", "cursor", "checkpointVersion", "updatedAt" ], "type": "object", "x-tags": [ "Event Checkpoints" ] }, "CheckpointRef": { "properties": { "name": { "description": "Name of the checkpoint", "type": "string" }, "uid": { "description": "Unique identifier of the checkpoint", "type": "string" } }, "required": [ "uid", "name" ], "type": "object", "x-tags": [ "Event Checkpoints" ] }, "CurrencyConvertedEvent": { "description": "Cash was converted from one currency to another.", "properties": { "cursor": { "description": "Opaque pagination token for this event. Pass as start_cursor on the next request to retrieve events that occurred after this one.", "examples": [ "ev1.abc123.xyz789" ], "type": "string" }, "entityCode": { "description": "Code identifying the organisation (client) this event belongs to.", "examples": [ "TEST001" ], "type": "string" }, "eventType": { "const": "CURRENCY_CONVERTED", "type": "string" }, "fromAmount": { "description": "Amount in the source currency before conversion.", "examples": [ "12500.00" ], "format": "decimal", "type": "string" }, "fromCurrency": { "description": "Source currency code.", "examples": [ "USD" ], "type": "string" }, "fxRate": { "description": "Exchange rate applied in the conversion.", "examples": [ "0.800000" ], "format": "decimal", "type": "string" }, "toAmount": { "description": "Amount in the target currency after conversion.", "examples": [ "10000.00" ], "format": "decimal", "type": "string" }, "toCurrency": { "description": "Target currency code.", "examples": [ "GBP" ], "type": "string" }, "uid": { "description": "Unique identifier for this event record.", "examples": [ "00000000000000000000000000000001" ], "type": "string" } }, "required": [ "uid", "cursor", "entityCode", "eventType", "fromCurrency", "toCurrency", "fromAmount", "toAmount", "fxRate" ], "type": "object", "x-tags": [ "Events" ] }, "DeleteCheckpointResponse": { "properties": { "checkpoint": { "$ref": "#/components/schemas/CheckpointRef" }, "deleted": { "description": "Always True on success", "type": "boolean" } }, "required": [ "checkpoint", "deleted" ], "type": "object", "x-tags": [ "Event Checkpoints" ] }, "DeleteWebhookResponse": { "properties": { "email": { "description": "Users Email", "examples": [ "example@treasuryspring.com" ], "type": "string" }, "url": { "description": "Webhook URL", "examples": [ "https://example.com/webhook" ], "type": [ "string", "null" ] } }, "required": [ "email" ], "type": "object", "x-tags": [ "Webhooks" ] }, "Entity": { "description": "Entity schema.", "properties": { "accountManager": { "anyOf": [ { "$ref": "#/components/schemas/EntityAccountManager" }, { "type": "null" } ], "description": "Entity Account Manager" }, "address": { "description": "Entity Address", "type": [ "string", "null" ] }, "bankAccounts": { "description": "List of bank accounts for the entity", "items": { "$ref": "#/components/schemas/EntityBankAccount" }, "type": "array" }, "code": { "description": "Entity Code", "examples": [ "TEST0001" ], "type": "string" }, "countryCode": { "description": "Country code", "examples": [ "GB" ], "type": [ "string", "null" ] }, "currency": { "description": "Default Currency", "examples": [ "GBP" ], "type": "string" }, "name": { "description": "Entity Name", "examples": [ "TreasurySpring Limited" ], "type": "string" }, "onboarding": { "description": "True if entity is in the process of onboarding", "type": "boolean" }, "status": { "description": "Entity Status", "examples": [ "ACTIVE", "PENDING" ], "type": "string" }, "type": { "description": "Description of the Entity Type", "type": "string" } }, "required": [ "code", "name", "status", "type", "onboarding", "currency", "bankAccounts" ], "type": "object", "x-tags": [ "Entities" ] }, "EntityAccountManager": { "description": "EntityAccountManager schema.", "properties": { "email": { "description": "Account Manager Email", "examples": [ "example@treasuryspring.com" ], "type": "string" }, "name": { "description": "Account Manager Name", "examples": [ "example" ], "type": "string" }, "phone": { "description": "Account phone number", "type": [ "string", "null" ] } }, "required": [ "email", "name" ], "type": "object", "x-tags": [ "Entities" ] }, "EntityBankAccount": { "description": "EntityBankAccount schema.", "properties": { "currency": { "description": "Bank Account currency", "examples": [ "GBP" ], "type": "string" }, "lastDigits": { "description": "last 4 digits of the account number", "examples": [ "1234" ], "type": "string" }, "uid": { "description": "Bank Account uid", "examples": [ "3e3020d02361470fa5839b2a456102b7" ], "type": "string" } }, "required": [ "uid", "currency", "lastDigits" ], "type": "object", "x-tags": [ "Entities" ] }, "EntityUser": { "description": "EntityUser schema.", "properties": { "permissions": { "description": "List of permissions assigned to the user", "examples": [ [ "view:holdings", "view:profile" ] ], "items": { "type": "string" }, "type": "array" }, "status": { "$ref": "#/components/schemas/EntityUserStatus", "description": "User status", "examples": [ "Active" ] }, "user": { "description": "User Email", "examples": [ "example@treasuryspring.com" ], "type": "string" } }, "required": [ "user", "permissions", "status" ], "type": "object", "x-tags": [ "Entities" ] }, "EntityUserStatus": { "enum": [ "Pending", "Active" ], "type": "string", "x-tags": [ "Entities" ] }, "EventPageInfo": { "description": "Pagination metadata for cursor-based event queries.", "properties": { "endCursor": { "description": "Stable fence cursor representing the head of the stream at the time of the request. Use this as end_cursor on subsequent requests to retrieve only new events.", "examples": [ "ev1.abc123.xyz789" ], "type": [ "string", "null" ] }, "hasNextPage": { "description": "True if there are more events beyond the current page.", "examples": [ false ], "type": "boolean" }, "limit": { "description": "Maximum number of events returned per request.", "examples": [ 1000 ], "type": "integer" }, "pageEndCursor": { "description": "Cursor of the last event on the current page. Pass as start_cursor to fetch the next page.", "examples": [ "ev1.abc123.xyz789" ], "type": [ "string", "null" ] }, "startCursor": { "description": "Cursor of the first event on the current page.", "examples": [ "ev1.abc123.xyz789" ], "type": [ "string", "null" ] }, "totalCount": { "description": "Total number of events matching the current filters and cursor range.", "examples": [ 42 ], "type": [ "integer", "null" ] } }, "required": [ "hasNextPage", "limit" ], "type": "object", "x-tags": [ "Event Checkpoints" ] }, "EventsResponse": { "description": "Response for GET /event.", "properties": { "events": { "items": { "discriminator": { "mapping": { "ADJUSTED": "#/components/schemas/AdjustedEvent", "CANCELLED": "#/components/schemas/CancelledEvent", "CASH_MOVED": "#/components/schemas/CashMovedEvent", "CURRENCY_CONVERTED": "#/components/schemas/CurrencyConvertedEvent", "EXTENDED": "#/components/schemas/ExtendedEvent", "FINALIZED": "#/components/schemas/FinalizedEvent", "ISSUED": "#/components/schemas/IssuedEvent", "REDEEMED": "#/components/schemas/RedeemedEvent", "SPLIT": "#/components/schemas/SplitEvent", "SUBSCRIBED": "#/components/schemas/SubscribedEvent" }, "propertyName": "eventType" }, "oneOf": [ { "$ref": "#/components/schemas/SubscribedEvent" }, { "$ref": "#/components/schemas/IssuedEvent" }, { "$ref": "#/components/schemas/SplitEvent" }, { "$ref": "#/components/schemas/ExtendedEvent" }, { "$ref": "#/components/schemas/FinalizedEvent" }, { "$ref": "#/components/schemas/AdjustedEvent" }, { "$ref": "#/components/schemas/CurrencyConvertedEvent" }, { "$ref": "#/components/schemas/CashMovedEvent" }, { "$ref": "#/components/schemas/RedeemedEvent" }, { "$ref": "#/components/schemas/CancelledEvent" } ] }, "type": "array" }, "pageInfo": { "$ref": "#/components/schemas/EventPageInfo" } }, "required": [ "events", "pageInfo" ], "type": "object", "x-tags": [ "Event Checkpoints" ] }, "ExtendedEvent": { "description": "A holding's maturity date was extended.", "properties": { "currency": { "description": "Three-letter currency code for the holding.", "examples": [ "GBP" ], "type": "string" }, "cursor": { "description": "Opaque pagination token for this event. Pass as start_cursor on the next request to retrieve events that occurred after this one.", "examples": [ "ev1.abc123.xyz789" ], "type": "string" }, "entityCode": { "description": "Code identifying the organisation (client) this event belongs to.", "examples": [ "TEST001" ], "type": "string" }, "eventType": { "const": "EXTENDED", "type": "string" }, "extensionOptionDate": { "description": "Updated extension option date (YYYY-MM-DD) after the change. Null if none applies.", "examples": [ "2025-02-15" ], "type": [ "string", "null" ] }, "holdingUid": { "description": "Unique identifier of the holding.", "examples": [ "6e69e21342a24bbdaf9fe4e8a9995fda" ], "type": "string" }, "maturityDate": { "description": "Updated maturity date (YYYY-MM-DD) after the extension.", "examples": [ "2025-06-01" ], "type": "string" }, "maturityValue": { "description": "Expected or actual maturity value (principal plus interest) in the holding's currency.", "examples": [ "10250.00" ], "format": "decimal", "type": "string" }, "obligorExposureCode": { "description": "Code identifying the obligor exposure (counterparty) for this holding.", "examples": [ "BACR" ], "type": "string" }, "previousExtensionOptionDate": { "description": "Extension option date (YYYY-MM-DD) before the change. Null if none was previously set.", "examples": [ "2024-11-15" ], "type": [ "string", "null" ] }, "previousMaturityDate": { "description": "Maturity date (YYYY-MM-DD) before the extension.", "examples": [ "2024-12-01" ], "type": "string" }, "uid": { "description": "Unique identifier for this event record.", "examples": [ "00000000000000000000000000000001" ], "type": "string" }, "yield": { "description": "Current yield for the holding at the time of the event (annualised APY).", "examples": [ "4.000000" ], "format": "decimal", "type": "string" } }, "required": [ "uid", "cursor", "entityCode", "obligorExposureCode", "maturityValue", "yield", "eventType", "currency", "holdingUid", "maturityDate", "previousMaturityDate" ], "type": "object", "x-tags": [ "Events" ] }, "Extension": { "description": "Extension schema — one historical extension of an extendable holding.", "properties": { "date": { "description": "Date the extension took effect", "examples": [ "2024-01-01" ], "format": "date", "type": "string" }, "finalYield": { "description": "Final period yield, annualised APY (set on the final extension only).", "examples": [ 5 ], "type": [ "number", "null" ] }, "maturity": { "description": "Maturity date set by this extension", "examples": [ "2024-02-01" ], "format": "date", "type": "string" }, "pricePerShare": { "description": "Price per share at the extension", "examples": [ 1.05 ], "type": "number" }, "uid": { "description": "Extension uid", "examples": [ "bcee2bb8569d406c9251dcc9bee38aff" ], "type": "string" }, "yield": { "description": "Yield for this extension period (annualised APY).", "examples": [ 5 ], "type": "number" } }, "required": [ "uid", "date", "maturity", "yield", "pricePerShare" ], "type": "object", "x-tags": [ "Holdings" ] }, "FinalizedEvent": { "description": "A holding was confirmed as closed at maturity.", "properties": { "currency": { "description": "Three-letter currency code for the holding.", "examples": [ "GBP" ], "type": "string" }, "cursor": { "description": "Opaque pagination token for this event. Pass as start_cursor on the next request to retrieve events that occurred after this one.", "examples": [ "ev1.abc123.xyz789" ], "type": "string" }, "entityCode": { "description": "Code identifying the organisation (client) this event belongs to.", "examples": [ "TEST001" ], "type": "string" }, "eventType": { "const": "FINALIZED", "type": "string" }, "finalized": { "description": "Always true — confirms the holding is closed at maturity.", "examples": [ true ], "type": "boolean" }, "holdingUid": { "description": "Unique identifier of the holding.", "examples": [ "6e69e21342a24bbdaf9fe4e8a9995fda" ], "type": "string" }, "maturityDate": { "description": "Date (YYYY-MM-DD) the holding matured.", "examples": [ "2025-01-01" ], "type": "string" }, "maturityValue": { "description": "Expected or actual maturity value (principal plus interest) in the holding's currency.", "examples": [ "10250.00" ], "format": "decimal", "type": "string" }, "obligorExposureCode": { "description": "Code identifying the obligor exposure (counterparty) for this holding.", "examples": [ "BACR" ], "type": "string" }, "uid": { "description": "Unique identifier for this event record.", "examples": [ "00000000000000000000000000000001" ], "type": "string" }, "yield": { "description": "Current yield for the holding at the time of the event (annualised APY).", "examples": [ "4.000000" ], "format": "decimal", "type": "string" } }, "required": [ "uid", "cursor", "entityCode", "obligorExposureCode", "maturityValue", "yield", "eventType", "currency", "holdingUid", "maturityDate", "finalized" ], "type": "object", "x-tags": [ "Events" ] }, "GetCheckpointResponse": { "properties": { "checkpoint": { "$ref": "#/components/schemas/CheckpointData" } }, "required": [ "checkpoint" ], "type": "object", "x-tags": [ "Event Checkpoints" ] }, "HTTPValidationError": { "properties": { "detail": { "items": { "$ref": "#/components/schemas/ValidationError" }, "type": "array" } }, "type": "object" }, "HealthCheck": { "description": "Response model to validate and return when performing a health check.", "properties": { "status": { "default": "OK", "description": "Health Status", "examples": [ "OK" ], "type": "string" } }, "type": "object", "x-tags": [ "Healthcheck" ] }, "Holding": { "description": "Holding schema.", "properties": { "calendars": { "description": "List of calendars followed by product", "examples": [ [ "TreasurySpring", "United Kingdom" ] ], "items": { "type": "string" }, "type": "array" }, "cellCode": { "description": "Cell Code", "examples": [ "Example-IC" ], "type": "string" }, "cost": { "description": "Holding initial cost", "examples": [ 5000 ], "type": "number" }, "currency": { "description": "Holding currency", "examples": [ "GBP" ], "type": [ "string", "null" ] }, "cutoffDatetime": { "description": "Cutoff date with timezone information", "examples": [ "2024-04-15T12:15:00" ], "format": "date-time", "type": [ "string", "null" ] }, "entityCode": { "description": "Investing Entity Code", "examples": [ "TEST0001" ], "type": "string" }, "extendedMaturityDate": { "description": "New maturity date for an extension (extendables only)", "examples": [ "2025-01-01" ], "format": "date", "type": [ "string", "null" ] }, "extensionOptionDate": { "description": "Extension option date (extendables only)", "examples": [ "2025-01-01" ], "format": "date", "type": [ "string", "null" ] }, "extensionStartDate": { "description": "Start date for an extension (extendables only)", "examples": [ "2025-01-01" ], "format": "date", "type": [ "string", "null" ] }, "extensionStartValue": { "description": "Initial value for current extension (extendables only)", "examples": [ 5000 ], "type": [ "number", "null" ] }, "finalYield": { "description": "Final period yield, annualised APY (extendables only).", "examples": [ 0 ], "type": [ "number", "null" ] }, "finalized": { "description": "True if this is the final extension (extendables only)", "examples": [ true ], "type": [ "boolean", "null" ] }, "isOnBalanceSheet": { "description": "True if holding value can be counted for balance sheet calculations, False otherwise", "examples": [ true ], "type": "boolean" }, "issueDate": { "description": "Date the FTF was issued, otherwise known as Subscription date", "examples": [ "2024-01-01" ], "format": "date", "type": "string" }, "maturityActions": { "description": "Maturity actions (next actions) for this holding — what happens to the holding's value at maturity. Upcoming for live holdings; reflects the action(s) applied for matured or redeemed holdings. Empty if no actions are set.", "items": { "$ref": "#/components/schemas/MaturityAction" }, "type": "array" }, "maturityDate": { "description": "Date the FTF holding will mature", "examples": [ "2025-01-01" ], "format": "date", "type": "string" }, "maturityValue": { "description": "Value at maturity", "examples": [ 7000 ], "type": "number" }, "maturityValueAdjustment": { "description": "Adjustment on the maturity value (usually 0)", "examples": [ 0 ], "type": [ "number", "null" ] }, "mmyA365F": { "description": "Same return as `yield`, expressed in MMYA365F format. Use only when you specifically need this format.", "examples": [ 5.5 ], "type": [ "number", "null" ] }, "name": { "description": "FTF name", "examples": [ "TreasurySpring Bluebird-IC GBP-BACR-1M/TEST0001/2024-5-14/2024-6-14" ], "type": [ "string", "null" ] }, "nextFinalYield": { "description": "Next final period yield, annualised APY (extendables only).", "examples": [ 5.5 ], "type": [ "number", "null" ] }, "nextYield": { "description": "Next extension yield, annualised APY (extendables only).", "examples": [ 5.5 ], "type": [ "number", "null" ] }, "obligorExposureCode": { "description": "Obligor Exposure Code", "examples": [ "BACR[GC]" ], "type": "string" }, "obligorExposureName": { "description": "Obligor Exposure Name", "examples": [ "Barclays Bank Plc [Gov secured]" ], "type": "string" }, "pricePerShare": { "description": "Price per share", "examples": [ 10 ], "type": [ "number", "null" ] }, "productCode": { "description": "The FTF product code", "examples": [ "GBP-BACR[GC]-3M" ], "type": [ "string", "null" ] }, "status": { "$ref": "#/components/schemas/HoldingStatusEnum", "description": "The current status of the holding", "examples": [ "Issued" ] }, "subscriptionUid": { "description": "The unique identifier for the subscription associated with the holding.", "examples": [ "dade0389c66241bd8366b017f1ffe19a" ], "type": [ "string", "null" ] }, "type": { "description": "The type of product, Fixed or Extendable", "examples": [ "Fixed" ], "type": "string" }, "uid": { "description": "The unique identifier for the holding", "examples": [ "c660adab8e394383a3f839dd9d66bf9e" ], "type": "string" }, "value": { "description": "Current value", "examples": [ 6000 ], "type": "number" }, "yield": { "description": "Current yield (annualised APY).", "examples": [ 5 ], "type": [ "number", "null" ] } }, "required": [ "uid", "type", "entityCode", "cellCode", "obligorExposureCode", "obligorExposureName", "status", "cost", "value", "maturityValue", "issueDate", "maturityDate", "calendars", "isOnBalanceSheet" ], "type": "object", "x-tags": [ "Holdings" ] }, "HoldingStatusEnum": { "enum": [ "Cash", "Pending", "PendingWithdrawal", "Issued", "Redeemed", "Cancelled", "CutOff", "Processing" ], "type": "string", "x-tags": [ "Holdings" ] }, "Holiday": { "description": "Holidays schema.", "properties": { "country": { "description": "Country/Calendar this holiday belongs to", "examples": [ "United Kingdom" ], "type": "string" }, "date": { "description": "Date of holiday", "examples": [ "2000-01-01" ], "format": "date", "type": "string" }, "name": { "description": "Name of holiday", "examples": [ "New year" ], "type": "string" } }, "required": [ "country", "date", "name" ], "type": "object", "x-tags": [ "Calendar" ] }, "Indication": { "description": "Indication schema.", "properties": { "calendars": { "description": "List of calendars followed by product", "examples": [ [ "TreasurySpring", "United Kingdom" ] ], "items": { "type": "string" }, "type": "array" }, "cellCode": { "description": "Cell Code", "examples": [ "Example-IC" ], "type": "string" }, "created": { "description": "Indication creation date (timezone aware, London time).", "examples": [ "2024-01-01T00:00:00" ], "format": "date-time", "type": "string" }, "currency": { "description": "FTF currency", "examples": [ "GBP" ], "type": "string" }, "cutoffTime": { "description": "Time of day at which subscription cut-off occurs for this product, expressed as a naive wall-clock time in London local time (Europe/London). It is the same for every subscriptionDate. Because it carries no date, it has no UTC offset (a wall-clock time maps to a different UTC instant under GMT vs BST); to obtain the timezone-aware cut-off instant, combine it with the chosen subscriptionDate in the Europe/London timezone.", "examples": [ "12:15:00" ], "format": "time", "type": "string" }, "enabled": { "description": "Controls if the indication is enabled or set to notify me", "examples": [ true ], "type": "boolean" }, "enforceMaximum": { "description": "Enforce maximum investment amount (if not enforced any subscription above maximum is subject to review)", "examples": [ true ], "type": "boolean" }, "enforceMinimum": { "description": "Enforce minimum investment amount (if not enforced any subscription below minimum is subject to review)", "examples": [ true ], "type": "boolean" }, "expiry": { "description": "Indication deprecated after expiring, rates subject to change (timezone aware, London time).", "examples": [ "2025-01-01T00:00:00" ], "format": "date-time", "type": "string" }, "extensionDays": { "description": "Extension frequency (in days) (extendables only)", "examples": [ 7 ], "type": [ "integer", "null" ] }, "finalDays": { "description": "Final period (in days) (extendables only)", "examples": [ 45 ], "type": [ "integer", "null" ] }, "indicativeFinalYield": { "description": "Indicative final period yield, annualised APY (extendables only).", "examples": [ 5.5 ], "type": [ "number", "null" ] }, "indicativeYield": { "description": "Indicative yield (annualised APY).", "examples": [ 5.5 ], "type": "number" }, "issueDate": { "description": "Issue date of the FTF", "examples": [ "2024-01-01" ], "format": "date", "type": "string" }, "maturityDate": { "description": "Maturity date of the FTF", "examples": [ "2025-01-01" ], "format": "date", "type": "string" }, "maximum": { "description": "Maximum Investment amount (in Millions)", "examples": [ 100 ], "type": "number" }, "minExtensions": { "description": "Minimum extensions to remove dropdown rate (extendables only)", "examples": [ 7 ], "type": [ "integer", "null" ] }, "minimum": { "description": "Minimum investment amount (in Millions)", "examples": [ 10 ], "type": [ "number", "null" ] }, "nbPenaltyExtensions": { "description": "Minimum extensions to remove penalty spread (extendables only)", "examples": [ 7 ], "type": [ "integer", "null" ] }, "obligorExposureCode": { "description": "Obligor Exposure Code", "examples": [ "BACR" ], "type": "string" }, "obligorExposureName": { "description": "Obligor Exposure Name", "examples": [ "Barclays Bank Plc [Gov secured]" ], "type": "string" }, "optionDate": { "description": "Extension option date (extendables only)", "examples": [ "2025-01-01" ], "format": "date", "type": [ "string", "null" ] }, "productCode": { "description": "Product Code", "examples": [ "GBP-BACR[GC]-3M" ], "type": [ "string", "null" ] }, "restricted": { "description": "Controls if the indication is restricted for a particular entity", "examples": [ false ], "type": "boolean" }, "sector": { "description": "Product Sector", "examples": [ "Financial" ], "type": [ "string", "null" ] }, "subscriptionDates": { "description": "List of subscription dates", "examples": [ [ "2024-01-01" ] ], "items": { "format": "date", "type": "string" }, "type": "array" }, "term": { "description": "The product term", "examples": [ "3m" ], "type": "string" }, "type": { "description": "FTF type", "examples": [ "Fixed" ], "type": "string" }, "uid": { "description": "Indication uid", "examples": [ "8ca8f50d3ef44a43962998a5533f0cfa" ], "type": "string" } }, "required": [ "uid", "type", "currency", "issueDate", "subscriptionDates", "cutoffTime", "maturityDate", "indicativeYield", "maximum", "cellCode", "obligorExposureCode", "obligorExposureName", "enabled", "term", "restricted", "calendars", "enforceMinimum", "enforceMaximum" ], "type": "object", "x-tags": [ "Indications" ] }, "IssuedEvent": { "description": "A holding was issued (moved from subscription to active).", "properties": { "cost": { "description": "Principal amount invested in the holding's currency.", "examples": [ "10000.00" ], "format": "decimal", "type": "string" }, "currency": { "description": "Three-letter currency code for the holding.", "examples": [ "GBP" ], "type": "string" }, "cursor": { "description": "Opaque pagination token for this event. Pass as start_cursor on the next request to retrieve events that occurred after this one.", "examples": [ "ev1.abc123.xyz789" ], "type": "string" }, "entityCode": { "description": "Code identifying the organisation (client) this event belongs to.", "examples": [ "TEST001" ], "type": "string" }, "eventType": { "const": "ISSUED", "type": "string" }, "holdingUid": { "description": "Unique identifier of the holding.", "examples": [ "6e69e21342a24bbdaf9fe4e8a9995fda" ], "type": "string" }, "issueDate": { "description": "Date (YYYY-MM-DD) the holding was issued.", "examples": [ "2024-01-01" ], "type": "string" }, "maturityDate": { "description": "Date (YYYY-MM-DD) the holding is scheduled to mature.", "examples": [ "2025-01-01" ], "type": "string" }, "maturityValue": { "description": "Expected or actual maturity value (principal plus interest) in the holding's currency.", "examples": [ "10250.00" ], "format": "decimal", "type": "string" }, "obligorExposureCode": { "description": "Code identifying the obligor exposure (counterparty) for this holding.", "examples": [ "BACR" ], "type": "string" }, "productCode": { "description": "Identifier of the product this holding is in.", "examples": [ "GBP-BACR[GC]-3M" ], "type": "string" }, "subscriptionUid": { "description": "Unique identifier of the subscription.", "examples": [ "dade0389c66241bd8366b017f1ffe19a" ], "type": "string" }, "uid": { "description": "Unique identifier for this event record.", "examples": [ "00000000000000000000000000000001" ], "type": "string" }, "yield": { "description": "Current yield for the holding at the time of the event (annualised APY).", "examples": [ "4.000000" ], "format": "decimal", "type": "string" } }, "required": [ "uid", "cursor", "entityCode", "obligorExposureCode", "maturityValue", "yield", "eventType", "currency", "holdingUid", "subscriptionUid", "productCode", "cost", "issueDate", "maturityDate" ], "type": "object", "x-tags": [ "Events" ] }, "ListCheckpointsResponse": { "properties": { "checkpoints": { "items": { "$ref": "#/components/schemas/CheckpointData" }, "type": "array" } }, "required": [ "checkpoints" ], "type": "object", "x-tags": [ "Event Checkpoints" ] }, "MaturityAction": { "description": "MaturityAction schema.", "properties": { "amount": { "description": "Amount", "examples": [ 5000 ], "type": "number" }, "currency": { "description": "Currency", "examples": [ "GBP" ], "type": "string" }, "holdingUid": { "description": "Holding uid", "examples": [ "74628ebad0f54881b3c76acf146eb3c3" ], "type": "string" }, "subscriptionUid": { "description": "The unique identifier for the subscription associated with the maturity action, if any.", "examples": [ "dade0389c66241bd8366b017f1ffe19a" ], "type": [ "string", "null" ] }, "type": { "description": "Maturity Action type", "examples": [ "ROLL" ], "type": "string" }, "uid": { "description": "Maturity Action uid", "examples": [ "96cd54e5ddfd41b0a77afef15a96660d" ], "type": "string" } }, "required": [ "uid", "type", "amount", "currency", "holdingUid" ], "type": "object", "x-tags": [ "Holdings" ] }, "MaturityActionEnum": { "enum": [ "ROLL", "SWITCH", "HOLD", "REDEEM" ], "type": "string", "x-tags": [ "Holdings" ] }, "ObligorExposure": { "description": "Obligor Exposure schema.", "properties": { "assetDescription": { "description": "Underlying Asset Description", "type": [ "string", "null" ] }, "code": { "description": "Obligor Exposure Code", "examples": [ "BACR[GC]" ], "type": "string" }, "creditUrl": { "description": "Obligor Credit Rating URL", "type": [ "string", "null" ] }, "description": { "description": "Obligor Description", "examples": [ "Barclays Bank Plc provides banking and financial services as part of the Barclays plc group." ], "type": [ "string", "null" ] }, "lei": { "description": "Legal Entity Identifier for the Obligor", "examples": [ "529900T8BM49AURSDO55" ], "type": [ "string", "null" ] }, "name": { "description": "Obligor Exposure Name", "examples": [ "Barclays Bank Plc [Gov secured]" ], "type": "string" }, "obligorCode": { "description": "Obligor Code", "examples": [ "BACR" ], "type": "string" }, "sector": { "description": "Obligor Exposure Sector", "examples": [ "Secured Financial" ], "type": [ "string", "null" ] }, "url": { "description": "Obligor URL", "examples": [ "https://home.barclays/" ], "type": [ "string", "null" ] } }, "required": [ "code", "name", "obligorCode" ], "type": "object", "x-tags": [ "Obligor Exposure" ] }, "PageInfo": { "description": "PageInfo schema.", "properties": { "hasNextPage": { "description": "Boolean indicating if there is a next page of items available", "examples": [ true ], "type": [ "boolean", "null" ] }, "hasPreviousPage": { "description": "boolean indicating if there is a previous page", "examples": [ false ], "type": [ "boolean", "null" ] }, "limit": { "description": "Limit or page size set (used for pagination)", "examples": [ 100 ], "type": [ "integer", "null" ] }, "offset": { "description": "Offset of items (used for pagination)", "examples": [ 0 ], "type": [ "integer", "null" ] }, "totalCount": { "description": "Total number of items available", "examples": [ 200 ], "type": [ "integer", "null" ] } }, "required": [ "hasNextPage", "hasPreviousPage", "limit", "offset", "totalCount" ], "type": "object" }, "PaginatedExtensions": { "description": "PaginatedExtensions schema.", "properties": { "extensions": { "items": { "$ref": "#/components/schemas/Extension" }, "type": "array" }, "pageInfo": { "$ref": "#/components/schemas/PageInfo" } }, "required": [ "pageInfo", "extensions" ], "type": "object", "x-tags": [ "Holdings" ] }, "PaginatedHoldings": { "description": "PaginatedHoldings schema.", "properties": { "holdings": { "items": { "$ref": "#/components/schemas/Holding" }, "type": "array" }, "pageInfo": { "$ref": "#/components/schemas/PageInfo" }, "valueDate": { "description": "Date of the response (London timezone)", "examples": [ "2025-01-01" ], "format": "date", "type": "string" } }, "required": [ "pageInfo", "holdings", "valueDate" ], "type": "object", "x-tags": [ "Holdings" ] }, "PaginatedSubscriptions": { "description": "PaginatedSubscriptions schema.", "properties": { "pageInfo": { "$ref": "#/components/schemas/PageInfo" }, "subscriptions": { "items": { "$ref": "#/components/schemas/Subscription" }, "type": "array" } }, "required": [ "pageInfo", "subscriptions" ], "type": "object", "x-tags": [ "Subscriptions" ] }, "PatchCheckpointBody": { "properties": { "expected_checkpoint_version": { "description": "Optional checkpointVersion value from your last read of this checkpoint. If supplied and it no longer matches the current version, the request returns 409 Conflict.", "examples": [ "ec1...." ], "type": [ "string", "null" ] }, "new_cursor": { "description": "New cursor token (ev1.*) to advance the checkpoint to", "examples": [ "ev1...." ], "type": "string" } }, "required": [ "new_cursor" ], "type": "object", "x-tags": [ "Event Checkpoints" ] }, "PatchCheckpointResponse": { "properties": { "checkpoint": { "$ref": "#/components/schemas/CheckpointData" } }, "required": [ "checkpoint" ], "type": "object", "x-tags": [ "Event Checkpoints" ] }, "PutCheckpointBody": { "properties": { "initial_cursor": { "description": "Cursor token (ev1.*) to initialise the checkpoint at. Only used when the checkpoint is created — ignored if it already exists. If omitted on creation, defaults to the current end of the event stream.", "examples": [ "ev1...." ], "type": [ "string", "null" ] } }, "type": "object", "x-tags": [ "Event Checkpoints" ] }, "ReasonEnum": { "enum": [ "Funds returning shortly", "Better terms elsewhere", "Receipt of interest payment", "Switching FTF product", "Treasury Operations changed", "Need proceeds" ], "type": "string", "x-tags": [ "Tasks" ] }, "RedeemedEvent": { "description": "A holding was redeemed at maturity and proceeds were returned to the client.", "properties": { "cost": { "description": "Principal amount that was invested.", "examples": [ "10000.00" ], "format": "decimal", "type": "string" }, "currency": { "description": "Three-letter currency code for the holding.", "examples": [ "GBP" ], "type": "string" }, "cursor": { "description": "Opaque pagination token for this event. Pass as start_cursor on the next request to retrieve events that occurred after this one.", "examples": [ "ev1.abc123.xyz789" ], "type": "string" }, "entityCode": { "description": "Code identifying the organisation (client) this event belongs to.", "examples": [ "TEST001" ], "type": "string" }, "eventType": { "const": "REDEEMED", "type": "string" }, "fxCurrency": { "description": "Currency in which the redemption proceeds were paid out, when this differs from the holding's currency (FX redemption). Null for standard same-currency redemptions.", "examples": [ "USD" ], "type": [ "string", "null" ] }, "fxValue": { "description": "Amount paid out in fxCurrency. Null for standard same-currency redemptions.", "examples": [ "12500.00" ], "format": "decimal", "type": [ "string", "null" ] }, "holdingUid": { "description": "Unique identifier of the holding.", "examples": [ "6e69e21342a24bbdaf9fe4e8a9995fda" ], "type": "string" }, "maturityValue": { "description": "Expected or actual maturity value (principal plus interest) in the holding's currency.", "examples": [ "10250.00" ], "format": "decimal", "type": "string" }, "obligorExposureCode": { "description": "Code identifying the obligor exposure (counterparty) for this holding.", "examples": [ "BACR" ], "type": "string" }, "uid": { "description": "Unique identifier for this event record.", "examples": [ "00000000000000000000000000000001" ], "type": "string" }, "yield": { "description": "Current yield for the holding at the time of the event (annualised APY).", "examples": [ "4.000000" ], "format": "decimal", "type": "string" } }, "required": [ "uid", "cursor", "entityCode", "obligorExposureCode", "maturityValue", "yield", "eventType", "currency", "holdingUid", "cost" ], "type": "object", "x-tags": [ "Events" ] }, "SingleHolding": { "description": "Single Holding schema.", "properties": { "holding": { "$ref": "#/components/schemas/Holding" }, "valueDate": { "description": "Date of the response (London timezone)", "examples": [ "2025-01-01" ], "format": "date", "type": "string" } }, "required": [ "holding", "valueDate" ], "type": "object", "x-tags": [ "Holdings" ] }, "SplitEvent": { "description": "A holding was split into two separate holdings.", "properties": { "cost": { "description": "Remaining principal amount on the original holding after the split.", "examples": [ "5000.00" ], "format": "decimal", "type": "string" }, "currency": { "description": "Three-letter currency code for the holding.", "examples": [ "GBP" ], "type": "string" }, "cursor": { "description": "Opaque pagination token for this event. Pass as start_cursor on the next request to retrieve events that occurred after this one.", "examples": [ "ev1.abc123.xyz789" ], "type": "string" }, "entityCode": { "description": "Code identifying the organisation (client) this event belongs to.", "examples": [ "TEST001" ], "type": "string" }, "eventType": { "const": "SPLIT", "type": "string" }, "holdingUid": { "description": "Unique identifier of the original holding.", "examples": [ "6e69e21342a24bbdaf9fe4e8a9995fda" ], "type": "string" }, "maturityValue": { "description": "Expected or actual maturity value (principal plus interest) in the holding's currency.", "examples": [ "10250.00" ], "format": "decimal", "type": "string" }, "obligorExposureCode": { "description": "Code identifying the obligor exposure (counterparty) for this holding.", "examples": [ "BACR" ], "type": "string" }, "splitCost": { "description": "Principal amount assigned to the new holding created by the split.", "examples": [ "5000.00" ], "format": "decimal", "type": "string" }, "splitHoldingUid": { "description": "Unique identifier of the new holding created by the split.", "examples": [ "c660adab8e394383a3f839dd9d66bf9e" ], "type": "string" }, "uid": { "description": "Unique identifier for this event record.", "examples": [ "00000000000000000000000000000001" ], "type": "string" }, "yield": { "description": "Current yield for the holding at the time of the event (annualised APY).", "examples": [ "4.000000" ], "format": "decimal", "type": "string" } }, "required": [ "uid", "cursor", "entityCode", "obligorExposureCode", "maturityValue", "yield", "eventType", "currency", "holdingUid", "cost", "splitHoldingUid", "splitCost" ], "type": "object", "x-tags": [ "Events" ] }, "SubmitTaskBody": { "description": "Submit task body schema.", "properties": { "data": { "additionalProperties": true, "description": "A JSON object containing the form data to be submitted for the task. The structure of the JSON object depends on the task type and can be found in the task properties.", "examples": [ { "approved": true } ], "type": "object" } }, "required": [ "data" ], "type": "object", "x-tags": [ "Tasks" ] }, "SubmitTaskResponse": { "description": "Submit task response schema.", "properties": { "error": { "description": "Error message if the task was not successfully submitted.", "examples": [ null ], "type": [ "string", "null" ] }, "success": { "description": "Indicates if the task was successfully submitted or not.", "examples": [ true ], "type": "boolean" } }, "required": [ "success" ], "type": "object", "x-tags": [ "Tasks" ] }, "SubscribedEvent": { "description": "A new holding subscription was placed.", "properties": { "cost": { "description": "Principal amount invested in the holding's currency.", "examples": [ "10000.00" ], "format": "decimal", "type": "string" }, "currency": { "description": "Three-letter currency code for the holding.", "examples": [ "GBP" ], "type": "string" }, "cursor": { "description": "Opaque pagination token for this event. Pass as start_cursor on the next request to retrieve events that occurred after this one.", "examples": [ "ev1.abc123.xyz789" ], "type": "string" }, "entityCode": { "description": "Code identifying the organisation (client) this event belongs to.", "examples": [ "TEST001" ], "type": "string" }, "eventType": { "const": "SUBSCRIBED", "type": "string" }, "holdingUid": { "description": "Unique identifier of the holding.", "examples": [ "6e69e21342a24bbdaf9fe4e8a9995fda" ], "type": "string" }, "maturityDate": { "description": "Date (YYYY-MM-DD) the holding is scheduled to mature.", "examples": [ "2025-01-01" ], "type": "string" }, "maturityValue": { "description": "Expected or actual maturity value (principal plus interest) in the holding's currency.", "examples": [ "10250.00" ], "format": "decimal", "type": "string" }, "obligorExposureCode": { "description": "Code identifying the obligor exposure (counterparty) for this holding.", "examples": [ "BACR" ], "type": "string" }, "productCode": { "description": "Identifier of the product this holding is in.", "examples": [ "GBP-BACR[GC]-3M" ], "type": "string" }, "subscriptionDate": { "description": "Date (YYYY-MM-DD) the subscription was originally placed.", "examples": [ "2024-01-01" ], "type": "string" }, "subscriptionUid": { "description": "Unique identifier of the subscription.", "examples": [ "dade0389c66241bd8366b017f1ffe19a" ], "type": "string" }, "uid": { "description": "Unique identifier for this event record.", "examples": [ "00000000000000000000000000000001" ], "type": "string" }, "yield": { "description": "Current yield for the holding at the time of the event (annualised APY).", "examples": [ "4.000000" ], "format": "decimal", "type": "string" } }, "required": [ "uid", "cursor", "entityCode", "obligorExposureCode", "maturityValue", "yield", "eventType", "currency", "holdingUid", "subscriptionUid", "productCode", "cost", "subscriptionDate", "maturityDate" ], "type": "object", "x-tags": [ "Events" ] }, "Subscription": { "description": "Subscription schema.", "properties": { "amount": { "description": "Subscription amount", "examples": [ 1000 ], "type": "number" }, "cellCode": { "description": "Cell code", "examples": [ "Example-IC" ], "type": "string" }, "currency": { "description": "Subscription currency", "examples": [ "GBP" ], "type": "string" }, "cutoffDatetime": { "description": "Cut-off datetime for this subscription (timezone aware). Last point at which the subscription's maturity action can be changed before TreasurySpring locks it in.", "examples": [ "2024-01-01T12:15:00" ], "format": "date-time", "type": "string" }, "entityCode": { "description": "Subscribing Entity Code", "examples": [ "TEST0001" ], "type": "string" }, "holdingUid": { "description": "Holding uid", "examples": [ "6e69e21342a24bbdaf9fe4e8a9995fda" ], "type": [ "string", "null" ] }, "indicationUid": { "description": "Indication uid", "examples": [ "ef8b318a15b04784ba86c8667727d78b" ], "type": [ "string", "null" ] }, "maturityAction": { "description": "Maturity action", "examples": [ "Roll" ], "type": "string" }, "maturityDate": { "description": "Date the holding will mature", "examples": [ "2025-01-01" ], "format": "date", "type": "string" }, "obligorExposureCode": { "description": "Obligor exposure code", "examples": [ "BACR[GC]" ], "type": "string" }, "obligorExposureName": { "description": "Obligor exposure name", "examples": [ "Barclays Bank Plc [Gov secured]" ], "type": "string" }, "productCode": { "description": "Product code", "examples": [ "GBP-BACR[GC]-3M" ], "type": "string" }, "releaserEmail": { "description": "Releaser email", "examples": [ "example@treasuryspring.com" ], "type": [ "string", "null" ] }, "signerEmail": { "description": "Signer email", "examples": [ "example@treasuryspring.com" ], "type": [ "string", "null" ] }, "source": { "description": "Source of funds", "examples": [ "As per Master Subscription Agreement" ], "type": "string" }, "status": { "$ref": "#/components/schemas/SubscriptionStatusEnum", "description": "Status of the subscription", "examples": [ "PENDING" ] }, "subscriptionDate": { "description": "The date to subscribe to the indication", "examples": [ "2024-01-01" ], "format": "date", "type": "string" }, "uid": { "description": "Subscription uid", "examples": [ "8a1f37f521f146dbaa4a333d0bc26158" ], "type": "string" }, "yield": { "description": "Yield agreed at subscribe time (annualised APY).", "examples": [ 5 ], "type": [ "number", "null" ] } }, "required": [ "uid", "amount", "entityCode", "maturityAction", "source", "subscriptionDate", "cutoffDatetime", "status", "currency", "cellCode", "maturityDate", "obligorExposureCode", "obligorExposureName", "productCode" ], "type": "object", "x-tags": [ "Subscriptions" ] }, "SubscriptionBody": { "description": "SubscriptionBody schema.", "properties": { "amount": { "description": "Subscription amount in the currency of the indication", "examples": [ 1000 ], "type": "number" }, "entityCode": { "description": "Subscribing entity code", "examples": [ "TEST0001" ], "type": "string" }, "indicationUid": { "description": "Uid of the indication to subscribe to.", "examples": [ "539e30e363b549bf80a0961fd0242809" ], "type": "string" }, "maturityAction": { "$ref": "#/components/schemas/SubscriptionMaturityActionEnum", "default": "Roll", "description": "Maturity action type", "examples": [ "Roll" ] }, "source": { "default": "As per Master Subscription Agreement", "description": "Source of funds", "examples": [ "As per Master Subscription Agreement" ], "type": "string" }, "subscriptionDate": { "description": "The date to subscribe to the FTF. A list of possible dates can be found in the subscriptionDates field for the indication. If no date provided, this will default to today.", "examples": [ "2024-01-01" ], "format": "date", "type": [ "string", "null" ] }, "withdrawal_date": { "description": "Date to withdraw, applicable only if maturity action is set to REDEEM", "examples": [ "2025-01-01" ], "format": "date", "type": [ "string", "null" ] } }, "required": [ "entityCode", "indicationUid", "amount" ], "type": "object", "x-tags": [ "Subscriptions" ] }, "SubscriptionMaturityActionEnum": { "enum": [ "Roll", "Hold", "Redeem" ], "type": "string", "x-tags": [ "Subscriptions" ] }, "SubscriptionStatusEnum": { "enum": [ "PENDING", "ACCEPTED", "DECLINED", "CANCELLED", "EXPIRED" ], "type": "string", "x-tags": [ "Subscriptions" ] }, "Task": { "description": "Task schema.", "properties": { "data": { "additionalProperties": true, "description": "A JSON object containing the task data, structured in JSON Schema format. This field includes a detailed schema representation of the task, as well as an embedded HTML description for visual rendering. The schema contains metadata about the form, including labels, input elements, and structure, which can be used to render a dynamic form in a UI.", "examples": [ { "schema": { "description": "
| User: | \nexample@treasuryspring.com | \n
|---|---|
| First name: | \nJohn | \n
| Last name: | \nDoe | \n
| Role: | \nNone | \n
| Entity: | \nTEST0001 | \n
| Branding: | \nNone | \n
| Include in default mailing list: | \nTrue | \n
| Phone: | \nNone | \n
| Send welcome email: | \nTrue | \n