Subscriptions
Validate a prospective subscription
Changed onValidate a prospective subscription without committing to it.
Confirms the indication is still available to this entity on the chosen subscription date and that the amount is within the indication's permitted limits, returning the matching indication (including its current pricing). Use this as a pre-flight check before calling /subscribe. A 4xx response indicates the prospective subscription would be rejected.
post/validate
Request
- Base URLhttps://api.treasuryspring.com/api/v1
- AuthHTTP bearer
Request body
Example request
{
"amount": 1000,
"entityCode": "TEST0001",
"indicationUid": "539e30e363b549bf80a0961fd0242809",
"source": "As per Master Subscription Agreement",
"subscriptionDate": "2024-01-01"
}Response
The matching indication if the prospective subscription is valid
Example response
{
"calendars": [
"TreasurySpring",
"United Kingdom"
],
"cellCode": "Example-IC",
"created": "2024-01-01T00:00:00",
"currency": "GBP",
"cutoffTime": "12:15:00",
"enabled": true,
"enforceMaximum": true,
"enforceMinimum": true,
"expiry": "2025-01-01T00:00:00",
"extensionDays": 7,
"finalDays": 45,
"indicativeFinalYield": 5.5,
"indicativeYield": 5.5,
"issueDate": "2024-01-01",
"maturityDate": "2025-01-01",
"maximum": 100,
"minExtensions": 7,
"minimum": 10,
"nbPenaltyExtensions": 7,
"obligorExposureCode": "BACR",
"obligorExposureName": "Barclays Bank Plc [Gov secured]",
"optionDate": "2025-01-01",
"productCode": "GBP-BACR[GC]-3M",
"ratings": {
"creditBenchmark": "a-"
},
"sector": "Financial",
"subscriptionDates": [
"2024-01-01"
],
"term": "3m",
"type": "Fixed",
"uid": "8ca8f50d3ef44a43962998a5533f0cfa"
}Changes
- info
added the required property
to the response with the status
- info