Guard
Get all guards
Returns a list of all guards associated with the regulated entity.
get/api-regulated/v1/guards
Request
- Base URL: https://api.currencyguard.com
- URL: https://api.currencyguard.com/api-regulated/v1/guards
- Auth: HTTP bearer
Query parameters
status'ERROR' | 'CANCELLED' | 'PENDING' | 'AWAITING_FEE' | 'ACTIVE' | 'COMPLETE' | 'LAPSED' | 'VOID' | 'EXTENDED'
Filter guards by status
Response
Guards retrieved
Example response
[
{
"id": "GSP1000104",
"originalGuardId": "GSP1000104",
"previousGuardId": "GSP1000104",
"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",
"guardStatus": "ACTIVE",
"externalRef": "BEN-90210",
"invoiceExternalRef": "INV-2024-001",
"guardPeriodFrom": "2024-01-16",
"tradeDate": "2024-01-16T11:00:00Z",
"settlementWindowFrom": "2024-01-16",
"settlementWindowTo": "2024-04-15",
"guardCurrency": "GBP",
"foreignCurrency": "USD",
"currencyPair": "GBPUSD",
"payReceive": "PAY",
"foreignAmount": 50000,
"totalForeignAmountSettled": 15000,
"guardRate": 1.3121,
"paymentMarginAtInception": 0.015,
"midAtInception": 1.34,
"spotFxBid": 1.3115,
"spotFxAsk": 1.3125,
"guardAmount": 38109.75,
"totalGuardAmountSettled": 11432.92,
"guardFee": 512,
"guardFeeDate": "2024-01-18",
"salesMarginRate": 0.007,
"salesMargin": 296.02,
"effectiveRate": 1.2946,
"guardQuoteId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"versionNumber": 1,
"updatedBy": "jbloggs24",
"updatedAt": "2024-10-18T12:30:40Z",
"createdAt": "2024-10-18T12:30:40Z",
"expectedPaymentMargin": 1250.5,
"realizedPaymentMargin": 875.25
}
]Changes
No recorded changes to this operation across all 1 revision of this API.