Guard
Calculate a guard extension quote
Calculates the cost of extending the guard based on current rates and extension parameters, and provides it as a quote with a time-to-live.
Required entitlement: regulated.risk-management.canExtendGuard
Entitles the regulated user to extend guard position expiration dates for their customers
post/api-regulated/v1/guards/{guardId}/quote-guard-extension
Request
- Base URL: https://api.currencyguard.com
- URL: https://api.currencyguard.com/api-regulated/v1/guards/{guardId}/quote-guard-extension
- Auth: OAuth 2 (implicit, authorization URL https://auth.currencyguard.com/oauth2/authorize, scopes: regulated.risk-management.canExtendGuard)
Path parameters
guardIdstring required
Request body
Example request
{
"extendToDate": "2024-12-31T23:59:59Z",
"reason": "Contract renewal",
"salesMarginRate": 0.007,
"salesMarginAmount": 350,
"customerId": "123e4567-e89b-12d3-a456-426614174000"
}Response
Guard extension quote calculated
Example response
{
"valid": true,
"errorMessages": [
"Market data feed delayed by 30 seconds",
"Volatility surface is stale"
],
"valueTimestamp": "2024-03-01T14:30:15.123Z",
"emissionTimestamp": "2024-03-01T14:30:16.456Z",
"subscriptionSource": "DEFAULT",
"value": {
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"regulatedEntityId": "9e107d9d-372d-4add-ae2d-f3d1d41fd1d7",
"introducingBrokerId": "eeeeeeee-ee55-4001-8000-000000000000",
"regulatedUserId": "9e107d9d-372d-4add-ae2d-f3d1d41fd1d7",
"salesUserId": "9e107d9d-372d-4add-ae2d-f3d1d41fd1d7",
"companyId": "9e107d9d-372d-4add-ae2d-f3d1d41fd1d7",
"customerId": "9e107d9d-372d-4add-ae2d-f3d1d41fd1d7",
"validationStatus": "VALID",
"validationErrors": "FX vol surface exceeded TTL; Interest rate curve is stale",
"quoteStatus": "OPEN",
"marketStatus": "OPEN",
"marketReason": "Trading hours",
"previousGuardId": "GSP1000104",
"externalRef": "BEN-90210",
"invoiceExternalRef": "INV-2024-001",
"guardPeriodFrom": "2024-01-16",
"settlementWindowFrom": "2024-01-16",
"settlementWindowTo": "2024-04-15",
"guardPeriodTo": "2024-04-15",
"guardCurrency": "GBP",
"foreignCurrency": "USD",
"currencyPair": "GBPUSD",
"payReceive": "PAY",
"foreignAmount": 50000,
"guardRate": 1.312,
"paymentMarginAtInception": 0.015,
"midAtInception": 1.34,
"quoteTimeToLiveInSeconds": 60,
"guardAmount": 38109.75,
"guardFee": 512,
"effectiveRate": 1.2946,
"payLaterCreditFee": 12,
"guardMarginRate": 0.007,
"guardMargin": 296.02,
"volSpreadMultiplier": 2,
"valuationStrike": 1.34,
"valuationNotional": 101500,
"salesMarginRate": 0.007,
"salesMargin": 296.02,
"quoteTimestamp": "2024-10-18T12:30:40Z",
"spotBidPrice": 1.2345,
"spotAskPrice": 1.2347,
"historicVolatility": 0.1234,
"riskIndex": 0.5678,
"versionNumber": 1,
"updatedBy": "jbloggs24",
"updatedAt": "2024-10-18T12:30:40Z",
"createdAt": "2024-10-18T12:30:40Z",
"guardSettlementWindowTo": "2024-04-15T00:00:00Z",
"targetGuardAmountToSeekNetFees": 60000,
"salesMarginAmount": 296.02,
"reason": "Invoice protection for Q1 2024",
"requestedGuardAmount": 136010
}
}Changes
No recorded changes to this operation across all 1 revision of this API.