{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Grain Developer Portal","colors":{"primary":"#3D82F7","light":"#6AA0F9","dark":"#2563EB"},"logo":{"light":"https://mintcdn.com/grainfinance/C_1vcIAg0NPjbAeO/logo/light.svg?fit=max\u0026auto=format\u0026n=C_1vcIAg0NPjbAeO\u0026q=85\u0026s=b888c1903085edd1bc00cfa6adfdc039","dark":"https://mintcdn.com/grainfinance/C_1vcIAg0NPjbAeO/logo/dark.svg?fit=max\u0026auto=format\u0026n=C_1vcIAg0NPjbAeO\u0026q=85\u0026s=6c57ab3a610f3fe95eefc158f678f311"},"favicon":"https://mintcdn.com/grainfinance/BdUNHBIRgC_EL1Ck/favicon.png?fit=max\u0026auto=format\u0026n=BdUNHBIRgC_EL1Ck\u0026q=85\u0026s=4a2881fb105e1412ccda79f2fed01f0e","api":{"openapi":"https://grain-docs-assets.s3.us-east-1.amazonaws.com/openapi.yaml"},"navbar":{"links":[{"href":"mailto:support@grainfinance.co","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://console.grainfinance.co"}},"footer":{},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"grainfinance","hasAudioNarration":false,"actualSubdomain":"grainfinance","customDomains":["docs.grainfinance.co"],"gitSource":{"type":"github","owner":"grainfinance","repo":"mintlify-docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":"","_id":"6b10e36b9ffae5051c41251b"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b1473ac5ae8bdb17a90995b","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API","count":42},{"language":"default","tag":"Webhooks","count":18},{"language":"default","tag":"Hedges","count":15},{"language":"default","tag":"Events","count":14},{"language":"default","tag":"Get Started","count":7},{"language":"default","tag":"Concepts","count":6},{"language":"default","tag":"Customers","count":5},{"language":"default","tag":"Dual Hedges","count":5},{"language":"default","tag":"Conversions","count":4},{"language":"default","tag":"Drawdown Hedge","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/dual-hedges/get-dual-hedge","slug":"/api-reference/dual-hedges/get-dual-hedge","pageMetadata":{"title":"Get Dual Hedge","openapi":"GET /customers/{customerId}/dual-hedges/{dualHedgeId}","description":"Retrieves details of a specific dual hedge, including both underlying legs and their respective proposals.","href":"/api-reference/dual-hedges/get-dual-hedge"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieves details of a specific dual hedge, including both underlying legs and their respective proposals.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Dual Hedge","openapi":"GET /customers/{customerId}/dual-hedges/{dualHedgeId}","description":"Retrieves details of a specific dual hedge, including both underlying legs and their respective proposals.","href":"/api-reference/dual-hedges/get-dual-hedge"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"Get","responses":{"200":"7901f049-5b71-4ecd-937d-ba925f4606f8","401":"bdb74d99-da19-4250-b026-02f6ac277d4d","403":"953fe596-a302-4dc4-8cee-1e760ff5e05a","404":"cfb0b0a6-bc49-4fc9-89cb-6f9412a5d824"},"description":"Retrieves details of a specific dual hedge, including both underlying legs and their respective proposals.","tags":["Dual Hedges"],"security":["2f79c7a8-a9ba-40d1-8629-1a5d89705bd6"],"parameters":["d7002fc0-3d0d-4c0b-b1ac-43bcd5397ef1","e2f1c5d7-91aa-4ffb-97bd-0a950c1965c5"],"method":"get","type":"path","servers":["eeb09c90-1271-4ffb-8ae7-4776d42b8d94"],"path":"/customers/{customerId}/dual-hedges/{dualHedgeId}","baseUrlOptions":["https://api.grainfinance.co/v1"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d7002fc0-3d0d-4c0b-b1ac-43bcd5397ef1":{"description":"The id of the customer within the Grain platform.","in":"path","name":"customerId","required":true,"schema":{"type":"string","format":"uuid","pattern":"[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}","isRequired":true,"description":"The id of the customer within the Grain platform.","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"e2f1c5d7-91aa-4ffb-97bd-0a950c1965c5":{"description":"The id of the dual hedge within the Grain platform.","in":"path","name":"dualHedgeId","required":true,"schema":{"type":"string","format":"uuid","pattern":"[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}","isRequired":true,"description":"The id of the dual hedge within the Grain platform.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"responses":{"7901f049-5b71-4ecd-937d-ba925f4606f8":{"description":"Dual Hedge Retrieved","content":{"application/json":{"schema":{"description":"The response for retrieving a dual hedge.","properties":{"id":{"type":"string","format":"uuid","pattern":"[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}","description":"The id of the dual hedge within the Grain platform.","example":"bf77890b-17e2-48a1-9198-707df23eb127","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"issuedAt":{"type":"string","example":"2023-01-18","format":"YYYY-MM-DD","description":"The date in which the hedge was issued, denoted in `YYYY-MM-DD` format.","pattern":"\\d{4}-\\d{2}-\\d{2}","isRequired":true,"uniqueKey":"issuedAt","typeLabel":"string\u003cYYYY-MM-DD>"},"customerId":{"type":"string","format":"uuid","pattern":"[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}","description":"The id of the customer within the Grain platform.","example":"87d8e330-2878-4742-a86f-dbbb3bf522ac","isRequired":true,"uniqueKey":"customerId","typeLabel":"string\u003cuuid>"},"functionalCurrency":{"type":"string","description":"The functional currency of the customer.","example":"EUR","isRequired":true,"uniqueKey":"functionalCurrency","typeLabel":"string"},"fromCurrency":{"type":"string","description":"The currency in which the transaction should be paid by your customer.","example":"MXN","isRequired":true,"uniqueKey":"fromCurrency","typeLabel":"string"},"toCurrency":{"type":"string","description":"The currency you want to buy.","example":"USD","isRequired":true,"uniqueKey":"toCurrency","typeLabel":"string"},"rate":{"type":"number","format":"double","description":"Represents the offline hedge rate determined by a two-dimensional lookup based on the vendor and customer tenors.","example":20.616512,"isRequired":true,"uniqueKey":"rate","typeLabel":"number\u003cdouble>"},"hedges":{"items":{"oneOf":[{"type":"object","description":"Hedge objects represent transactions which are currently hedged.","required":["spotRate","id","customerId","status","fixedSide","transactionId","externalTransactionId","externalCustomerId","fromCurrency","toCurrency","settlementType","initialCollateralAmount","quote","externalMarkupPct","issuedAt","acceptedAtTs","fromCurrencyAmount","toCurrencyAmount","endAt","settlementAt","updatedAt","cancelledAt","initialCollateralReceivedAt","fundsReceivedAt","completedAt","completedAtTs","overdueAt","adjustedMtmChangePct","adjustedMtmChangeTs"],"properties":{"id":{"type":"string","format":"uuid","pattern":"[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}","description":"The id of the hedge within the Grain platform.","example":"8173b9a7-ee61-413e-b9e3-7c04b2a067c5","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.id","typeLabel":"string\u003cuuid>"},"customerId":{"type":"string","format":"uuid","pattern":"[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}","description":"The id of the customer within the Grain platform.","example":"1b0ada1e-fa1b-4cfe-a553-01b340c5650e","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.customerId","typeLabel":"string\u003cuuid>"},"status":{"description":"The Status of the Hedge","enum":["Active","Cancelled","Completed","InProcess","Overdue"],"type":"string","example":"Active","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"},"fixedSide":{"description":"Indicates which currency amount was fixed (specified) when creating the hedge.\nWhen `fixedSide` is `toCurrencyAmount`, the `toCurrencyAmount` was specified and `fromCurrencyAmount` was calculated.\nWhen `fixedSide` is `fromCurrencyAmount`, the `fromCurrencyAmount` was specified and `toCurrencyAmount` was calculated.","enum":["toCurrencyAmount","fromCurrencyAmount"],"type":"string","example":"toCurrencyAmount","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.fixedSide","typeLabel":"enum\u003cstring>"},"transactionId":{"type":"string","format":"uuid","pattern":"[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}","description":"The id of the transaction within the Grain platform.","example":"4d78ac65-2c3f-47e2-8bf3-3f76124e9d27","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.transactionId","typeLabel":"string\u003cuuid>"},"externalTransactionId":{"type":"string","description":"The transaction id as identified within your system.","example":"780231b3ae0d7e9e5097nd89","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.externalTransactionId","typeLabel":"string"},"externalCustomerId":{"type":"string","description":"The id used to identify the customer within your platform","example":"630231b3ae0d7e9e5097ad35","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.externalCustomerId","typeLabel":"string"},"fromCurrency":{"type":"string","description":"The currency in which the transaction should be paid at by your customer.","example":"MXN","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.fromCurrency","typeLabel":"string"},"toCurrency":{"type":"string","description":"The currency in which the inventory item is listed at on your platform.","example":"USD","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.toCurrency","typeLabel":"string"},"settlementType":{"enum":["full"],"type":"string","description":"The method in which the hedge is being settled.\nIf 'full' type is set, the total hedge amount should be sent to Grain prior to settlement","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.settlementType","typeLabel":"enum\u003cstring>"},"initialCollateralAmount":{"type":"number","format":"double","description":"The initial collateral amount required for this hedge in the fromCurrency.\nCalculated as fromCurrencyAmount * initialCollateralPercentage.","example":1608.09,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.initialCollateralAmount","typeLabel":"number\u003cdouble>"},"quote":{"type":"number","format":"double","description":"The rate locked by this hedge.","example":20.6165,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.quote","typeLabel":"number\u003cdouble>"},"externalMarkupPct":{"oneOf":[{"type":"number","format":"double","description":"The external markup percentage that should be added to this quote on top of Grain’s internal pricing.\nFor example, a value of 1.0 represents a 1.0% additional markup.","example":1,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.externalMarkupPct.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The external markup percentage that should be added to this quote on top of Grain’s internal pricing.\nFor example, a value of 1.0 represents a 1.0% additional markup.","example":1,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.externalMarkupPct.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.externalMarkupPct","typeLabel":"number\u003cdouble> | null"},"issuedAt":{"type":"string","example":"2023-01-18","format":"YYYY-MM-DD","description":"The date in which the hedge was issued, denoted in `YYYY-MM-DD` format.","pattern":"\\d{4}-\\d{2}-\\d{2}","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.issuedAt","typeLabel":"string\u003cYYYY-MM-DD>"},"acceptedAtTs":{"type":"number","format":"double","description":"The unix timestamp in which the hedge offer was accepted (if it was).","example":1659625088,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.acceptedAtTs","typeLabel":"number\u003cdouble>"},"fromCurrencyAmount":{"type":"number","format":"double","description":"The amount to hedge in the fromCurrency.\nIf toCurrencyAmount is provided, then fromCurrencyAmount calculated as:\n`fromCurrencyAmount = toCurrencyAmount * quote`","example":32161.8,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.fromCurrencyAmount","typeLabel":"number\u003cdouble>"},"toCurrencyAmount":{"type":"number","format":"double","description":"The amount to hedge in the toCurrency.\nIf fromCurrencyAmount is provided, then toCurrencyAmount calculated as:\n`toCurrencyAmount = fromCurrencyAmount / quote`","example":1560,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.toCurrencyAmount","typeLabel":"number\u003cdouble>"},"endAt":{"type":"string","example":"2023-02-23","format":"YYYY-MM-DD","description":"The date in which the hedge will be settled, denoted in `YYYY-MM-DD` format.","pattern":"\\d{4}-\\d{2}-\\d{2}","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.endAt","typeLabel":"string\u003cYYYY-MM-DD>"},"settlementAt":{"type":"string","example":"2023-02-23","format":"YYYY-MM-DD","description":"The date in which the hedge begins settlement, denoted in `YYYY-MM-DD` format.","pattern":"\\d{4}-\\d{2}-\\d{2}","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.settlementAt","typeLabel":"string\u003cYYYY-MM-DD>"},"updatedAt":{"type":"string","example":"2023-02-23","format":"YYYY-MM-DD","description":"The date in which the hedge was last modified, denoted in `YYYY-MM-DD` format.","pattern":"\\d{4}-\\d{2}-\\d{2}","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.updatedAt","typeLabel":"string\u003cYYYY-MM-DD>"},"cancelledAt":{"oneOf":[{"type":"string","description":"The date in which the hedge was cancelled, denoted in `YYYY-MM-DD` format.","format":"YYYY-MM-DD","pattern":"\\d{4}-\\d{2}-\\d{2}","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.cancelledAt.oneOf.0","typeLabel":"string\u003cYYYY-MM-DD>"},{"type":"null","description":"The date in which the hedge was cancelled, denoted in `YYYY-MM-DD` format.","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.cancelledAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.cancelledAt","typeLabel":"string\u003cYYYY-MM-DD> | null"},"initialCollateralReceivedAt":{"oneOf":[{"type":"string","description":"The date in which the initial collateral was received, denoted in `YYYY-MM-DD` format.\nNull if not yet received.","format":"YYYY-MM-DD","pattern":"\\d{4}-\\d{2}-\\d{2}","example":"2023-01-20","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.initialCollateralReceivedAt.oneOf.0","typeLabel":"string\u003cYYYY-MM-DD>"},{"type":"null","description":"The date in which the initial collateral was received, denoted in `YYYY-MM-DD` format.\nNull if not yet received.","example":"2023-01-20","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.initialCollateralReceivedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.initialCollateralReceivedAt","typeLabel":"string\u003cYYYY-MM-DD> | null"},"fundsReceivedAt":{"oneOf":[{"type":"string","description":"The date in which the funds of the hedge arrived, afterwards the settlement occurs denoted in `YYYY-MM-DD` format.","format":"YYYY-MM-DD","pattern":"\\d{4}-\\d{2}-\\d{2}","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.fundsReceivedAt.oneOf.0","typeLabel":"string\u003cYYYY-MM-DD>"},{"type":"null","description":"The date in which the funds of the hedge arrived, afterwards the settlement occurs denoted in `YYYY-MM-DD` format.","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.fundsReceivedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.fundsReceivedAt","typeLabel":"string\u003cYYYY-MM-DD> | null"},"completedAt":{"oneOf":[{"type":"string","description":"The date in which the hedge was completed, denoted in `YYYY-MM-DD` format.","format":"YYYY-MM-DD","pattern":"\\d{4}-\\d{2}-\\d{2}","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.completedAt.oneOf.0","typeLabel":"string\u003cYYYY-MM-DD>"},{"type":"null","description":"The date in which the hedge was completed, denoted in `YYYY-MM-DD` format.","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.completedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.completedAt","typeLabel":"string\u003cYYYY-MM-DD> | null"},"completedAtTs":{"oneOf":[{"type":"number","format":"double","description":"The unix timestamp in which the hedge was completed.","example":1659625090,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.completedAtTs.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unix timestamp in which the hedge was completed.","example":1659625090,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.completedAtTs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.completedAtTs","typeLabel":"number\u003cdouble> | null"},"overdueAt":{"type":"string","example":"2023-02-23","format":"YYYY-MM-DD","description":"The date in which the hedge will become overdue, denoted in `YYYY-MM-DD` format.","pattern":"\\d{4}-\\d{2}-\\d{2}","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.overdueAt","typeLabel":"string\u003cYYYY-MM-DD>"},"adjustedMtmChangePct":{"oneOf":[{"type":"number","format":"double","description":"The percentage change in the adjusted mark-to-market value since the previous valuation.\nA value of 1.0 represents a 1.0% change. A negative value indicates a potential margin call if the threshold has been exceeded.","example":1.25,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.adjustedMtmChangePct.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The percentage change in the adjusted mark-to-market value since the previous valuation.\nA value of 1.0 represents a 1.0% change. A negative value indicates a potential margin call if the threshold has been exceeded.","example":1.25,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.adjustedMtmChangePct.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.adjustedMtmChangePct","typeLabel":"number\u003cdouble> | null"},"adjustedMtmChangeTs":{"oneOf":[{"type":"number","format":"double","description":"The timestamp at which the latest adjusted mark-to-market change was calculated.","example":1674057600,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.adjustedMtmChangeTs.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The timestamp at which the latest adjusted mark-to-market change was calculated.","example":1674057600,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.adjustedMtmChangeTs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.adjustedMtmChangeTs","typeLabel":"number\u003cdouble> | null"},"spotRate":{"type":"number","format":"double","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.0.spotRate","typeLabel":"number\u003cdouble>"},"contractType":{"oneOf":[{"type":"string","description":"The contract type of the hedge. Possible values: `flexible` or `standard`.\nAvailable once contract types are enabled for your account.","enum":["flexible"],"example":"flexible","uniqueKey":"hedges.items.[INDEX].oneOf.0.contractType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"The contract type of the hedge. Possible values: `flexible` or `standard`.\nAvailable once contract types are enabled for your account.","enum":["standard"],"example":"flexible","uniqueKey":"hedges.items.[INDEX].oneOf.0.contractType.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"hedges.items.[INDEX].oneOf.0.contractType","typeLabel":"enum\u003cstring>"},"originalFromCurrencyAmount":{"type":"number","format":"double","description":"The `fromCurrencyAmount` the hedge was originally booked with, before any amendment.\nReturned only when `contractType` is present.","example":30924.75,"uniqueKey":"hedges.items.[INDEX].oneOf.0.originalFromCurrencyAmount","typeLabel":"number\u003cdouble>"},"originalToCurrencyAmount":{"type":"number","format":"double","description":"The `toCurrencyAmount` the hedge was originally booked with, before any amendment.\nReturned only when `contractType` is present.","example":1500,"uniqueKey":"hedges.items.[INDEX].oneOf.0.originalToCurrencyAmount","typeLabel":"number\u003cdouble>"},"originalQuote":{"type":"number","format":"double","description":"The rate the hedge was originally booked with, before any amendment.\nReturned only when `contractType` is present.","example":20.6165,"uniqueKey":"hedges.items.[INDEX].oneOf.0.originalQuote","typeLabel":"number\u003cdouble>"},"originalEndAt":{"type":"string","example":"2023-02-23","format":"YYYY-MM-DD","description":"The settlement date the hedge was originally booked with, before any amendment,\ndenoted in `YYYY-MM-DD` format. Returned only when `contractType` is present.","pattern":"\\d{4}-\\d{2}-\\d{2}","uniqueKey":"hedges.items.[INDEX].oneOf.0.originalEndAt","typeLabel":"string\u003cYYYY-MM-DD>"},"collateralAmount":{"type":"number","format":"double","description":"Current remaining collateral — shrinks with each drawdown, distinct from\ninitialCollateralAmount, which never changes.","example":408.09,"uniqueKey":"hedges.items.[INDEX].oneOf.0.collateralAmount","typeLabel":"number\u003cdouble>"},"totalNumberOfDrawdowns":{"type":"number","format":"double","description":"Total number of drawdowns created against this hedge, across all statuses except Failed.\nReturned only when `contractType` is present.","example":3,"uniqueKey":"hedges.items.[INDEX].oneOf.0.totalNumberOfDrawdowns","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"hedges.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Hedge objects represent transactions which are currently hedged.","required":["spotRate","id","customerId","status","fixedSide","transactionId","externalTransactionId","externalCustomerId","fromCurrency","toCurrency","settlementType","initialCollateralAmount","quote","externalMarkupPct","issuedAt","acceptedAtTs","fromCurrencyAmount","toCurrencyAmount","endAt","settlementAt","updatedAt","cancelledAt","initialCollateralReceivedAt","fundsReceivedAt","completedAt","completedAtTs","overdueAt","adjustedMtmChangePct","adjustedMtmChangeTs"],"properties":{"id":{"type":"string","format":"uuid","pattern":"[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}","description":"The id of the hedge within the Grain platform.","example":"8173b9a7-ee61-413e-b9e3-7c04b2a067c5","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.id","typeLabel":"string\u003cuuid>"},"customerId":{"type":"string","format":"uuid","pattern":"[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}","description":"The id of the customer within the Grain platform.","example":"1b0ada1e-fa1b-4cfe-a553-01b340c5650e","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.customerId","typeLabel":"string\u003cuuid>"},"status":{"description":"The Status of the Hedge","enum":["Active","Cancelled","Completed","InProcess","Overdue"],"type":"string","example":"Active","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"fixedSide":{"description":"Indicates which currency amount was fixed (specified) when creating the hedge.\nWhen `fixedSide` is `toCurrencyAmount`, the `toCurrencyAmount` was specified and `fromCurrencyAmount` was calculated.\nWhen `fixedSide` is `fromCurrencyAmount`, the `fromCurrencyAmount` was specified and `toCurrencyAmount` was calculated.","enum":["toCurrencyAmount","fromCurrencyAmount"],"type":"string","example":"toCurrencyAmount","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.fixedSide","typeLabel":"enum\u003cstring>"},"transactionId":{"type":"string","format":"uuid","pattern":"[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}","description":"The id of the transaction within the Grain platform.","example":"4d78ac65-2c3f-47e2-8bf3-3f76124e9d27","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.transactionId","typeLabel":"string\u003cuuid>"},"externalTransactionId":{"type":"string","description":"The transaction id as identified within your system.","example":"780231b3ae0d7e9e5097nd89","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.externalTransactionId","typeLabel":"string"},"externalCustomerId":{"type":"string","description":"The id used to identify the customer within your platform","example":"630231b3ae0d7e9e5097ad35","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.externalCustomerId","typeLabel":"string"},"fromCurrency":{"type":"string","description":"The currency in which the transaction should be paid at by your customer.","example":"MXN","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.fromCurrency","typeLabel":"string"},"toCurrency":{"type":"string","description":"The currency in which the inventory item is listed at on your platform.","example":"USD","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.toCurrency","typeLabel":"string"},"settlementType":{"enum":["offset"],"type":"string","description":"The method in which the hedge is being settled.\nIf 'offset' type is set, only the difference between the locked rate and settlement rate is exchanged","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.settlementType","typeLabel":"enum\u003cstring>"},"initialCollateralAmount":{"type":"number","format":"double","description":"The initial collateral amount required for this hedge in the fromCurrency.\nCalculated as fromCurrencyAmount * initialCollateralPercentage.","example":1608.09,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.initialCollateralAmount","typeLabel":"number\u003cdouble>"},"quote":{"type":"number","format":"double","description":"The rate locked by this hedge.","example":20.6165,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.quote","typeLabel":"number\u003cdouble>"},"externalMarkupPct":{"oneOf":[{"type":"number","format":"double","description":"The external markup percentage that should be added to this quote on top of Grain’s internal pricing.\nFor example, a value of 1.0 represents a 1.0% additional markup.","example":1,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.externalMarkupPct.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The external markup percentage that should be added to this quote on top of Grain’s internal pricing.\nFor example, a value of 1.0 represents a 1.0% additional markup.","example":1,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.externalMarkupPct.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.externalMarkupPct","typeLabel":"number\u003cdouble> | null"},"issuedAt":{"type":"string","example":"2023-01-18","format":"YYYY-MM-DD","description":"The date in which the hedge was issued, denoted in `YYYY-MM-DD` format.","pattern":"\\d{4}-\\d{2}-\\d{2}","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.issuedAt","typeLabel":"string\u003cYYYY-MM-DD>"},"acceptedAtTs":{"type":"number","format":"double","description":"The unix timestamp in which the hedge offer was accepted (if it was).","example":1659625088,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.acceptedAtTs","typeLabel":"number\u003cdouble>"},"fromCurrencyAmount":{"type":"number","format":"double","description":"The amount to hedge in the fromCurrency.\nIf toCurrencyAmount is provided, then fromCurrencyAmount calculated as:\n`fromCurrencyAmount = toCurrencyAmount * quote`","example":32161.8,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.fromCurrencyAmount","typeLabel":"number\u003cdouble>"},"toCurrencyAmount":{"type":"number","format":"double","description":"The amount to hedge in the toCurrency.\nIf fromCurrencyAmount is provided, then toCurrencyAmount calculated as:\n`toCurrencyAmount = fromCurrencyAmount / quote`","example":1560,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.toCurrencyAmount","typeLabel":"number\u003cdouble>"},"endAt":{"type":"string","example":"2023-02-23","format":"YYYY-MM-DD","description":"The date in which the hedge will be settled, denoted in `YYYY-MM-DD` format.","pattern":"\\d{4}-\\d{2}-\\d{2}","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.endAt","typeLabel":"string\u003cYYYY-MM-DD>"},"settlementAt":{"type":"string","example":"2023-02-23","format":"YYYY-MM-DD","description":"The date in which the hedge begins settlement, denoted in `YYYY-MM-DD` format.","pattern":"\\d{4}-\\d{2}-\\d{2}","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.settlementAt","typeLabel":"string\u003cYYYY-MM-DD>"},"updatedAt":{"type":"string","example":"2023-02-23","format":"YYYY-MM-DD","description":"The date in which the hedge was last modified, denoted in `YYYY-MM-DD` format.","pattern":"\\d{4}-\\d{2}-\\d{2}","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.updatedAt","typeLabel":"string\u003cYYYY-MM-DD>"},"cancelledAt":{"oneOf":[{"type":"string","description":"The date in which the hedge was cancelled, denoted in `YYYY-MM-DD` format.","format":"YYYY-MM-DD","pattern":"\\d{4}-\\d{2}-\\d{2}","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.cancelledAt.oneOf.0","typeLabel":"string\u003cYYYY-MM-DD>"},{"type":"null","description":"The date in which the hedge was cancelled, denoted in `YYYY-MM-DD` format.","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.cancelledAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.cancelledAt","typeLabel":"string\u003cYYYY-MM-DD> | null"},"initialCollateralReceivedAt":{"oneOf":[{"type":"string","description":"The date in which the initial collateral was received, denoted in `YYYY-MM-DD` format.\nNull if not yet received.","format":"YYYY-MM-DD","pattern":"\\d{4}-\\d{2}-\\d{2}","example":"2023-01-20","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.initialCollateralReceivedAt.oneOf.0","typeLabel":"string\u003cYYYY-MM-DD>"},{"type":"null","description":"The date in which the initial collateral was received, denoted in `YYYY-MM-DD` format.\nNull if not yet received.","example":"2023-01-20","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.initialCollateralReceivedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.initialCollateralReceivedAt","typeLabel":"string\u003cYYYY-MM-DD> | null"},"fundsReceivedAt":{"oneOf":[{"type":"string","description":"The date in which the funds of the hedge arrived, afterwards the settlement occurs denoted in `YYYY-MM-DD` format.","format":"YYYY-MM-DD","pattern":"\\d{4}-\\d{2}-\\d{2}","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.fundsReceivedAt.oneOf.0","typeLabel":"string\u003cYYYY-MM-DD>"},{"type":"null","description":"The date in which the funds of the hedge arrived, afterwards the settlement occurs denoted in `YYYY-MM-DD` format.","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.fundsReceivedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.fundsReceivedAt","typeLabel":"string\u003cYYYY-MM-DD> | null"},"completedAt":{"oneOf":[{"type":"string","description":"The date in which the hedge was completed, denoted in `YYYY-MM-DD` format.","format":"YYYY-MM-DD","pattern":"\\d{4}-\\d{2}-\\d{2}","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.completedAt.oneOf.0","typeLabel":"string\u003cYYYY-MM-DD>"},{"type":"null","description":"The date in which the hedge was completed, denoted in `YYYY-MM-DD` format.","example":"2023-02-23","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.completedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.completedAt","typeLabel":"string\u003cYYYY-MM-DD> | null"},"completedAtTs":{"oneOf":[{"type":"number","format":"double","description":"The unix timestamp in which the hedge was completed.","example":1659625090,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.completedAtTs.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unix timestamp in which the hedge was completed.","example":1659625090,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.completedAtTs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.completedAtTs","typeLabel":"number\u003cdouble> | null"},"overdueAt":{"type":"string","example":"2023-02-23","format":"YYYY-MM-DD","description":"The date in which the hedge will become overdue, denoted in `YYYY-MM-DD` format.","pattern":"\\d{4}-\\d{2}-\\d{2}","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.overdueAt","typeLabel":"string\u003cYYYY-MM-DD>"},"adjustedMtmChangePct":{"oneOf":[{"type":"number","format":"double","description":"The percentage change in the adjusted mark-to-market value since the previous valuation.\nA value of 1.0 represents a 1.0% change. A negative value indicates a potential margin call if the threshold has been exceeded.","example":1.25,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.adjustedMtmChangePct.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The percentage change in the adjusted mark-to-market value since the previous valuation.\nA value of 1.0 represents a 1.0% change. A negative value indicates a potential margin call if the threshold has been exceeded.","example":1.25,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.adjustedMtmChangePct.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.adjustedMtmChangePct","typeLabel":"number\u003cdouble> | null"},"adjustedMtmChangeTs":{"oneOf":[{"type":"number","format":"double","description":"The timestamp at which the latest adjusted mark-to-market change was calculated.","example":1674057600,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.adjustedMtmChangeTs.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The timestamp at which the latest adjusted mark-to-market change was calculated.","example":1674057600,"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.adjustedMtmChangeTs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.adjustedMtmChangeTs","typeLabel":"number\u003cdouble> | null"},"spotRate":{"type":"number","format":"double","isRequired":true,"uniqueKey":"hedges.items.[INDEX].oneOf.1.spotRate","typeLabel":"number\u003cdouble>"},"contractType":{"oneOf":[{"type":"string","description":"The contract type of the hedge. Possible values: `flexible` or `standard`.\nAvailable once contract types are enabled for your account.","enum":["flexible"],"example":"flexible","uniqueKey":"hedges.items.[INDEX].oneOf.1.contractType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"The contract type of the hedge. Possible values: `flexible` or `standard`.\nAvailable once contract types are enabled for your account.","enum":["standard"],"example":"flexible","uniqueKey":"hedges.items.[INDEX].oneOf.1.contractType.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"hedges.items.[INDEX].oneOf.1.contractType","typeLabel":"enum\u003cstring>"},"originalFromCurrencyAmount":{"type":"number","format":"double","description":"The `fromCurrencyAmount` the hedge was originally booked with, before any amendment.\nReturned only when `contractType` is present.","example":30924.75,"uniqueKey":"hedges.items.[INDEX].oneOf.1.originalFromCurrencyAmount","typeLabel":"number\u003cdouble>"},"originalToCurrencyAmount":{"type":"number","format":"double","description":"The `toCurrencyAmount` the hedge was originally booked with, before any amendment.\nReturned only when `contractType` is present.","example":1500,"uniqueKey":"hedges.items.[INDEX].oneOf.1.originalToCurrencyAmount","typeLabel":"number\u003cdouble>"},"originalQuote":{"type":"number","format":"double","description":"The rate the hedge was originally booked with, before any amendment.\nReturned only when `contractType` is present.","example":20.6165,"uniqueKey":"hedges.items.[INDEX].oneOf.1.originalQuote","typeLabel":"number\u003cdouble>"},"originalEndAt":{"type":"string","example":"2023-02-23","format":"YYYY-MM-DD","description":"The settlement date the hedge was originally booked with, before any amendment,\ndenoted in `YYYY-MM-DD` format. Returned only when `contractType` is present.","pattern":"\\d{4}-\\d{2}-\\d{2}","uniqueKey":"hedges.items.[INDEX].oneOf.1.originalEndAt","typeLabel":"string\u003cYYYY-MM-DD>"},"collateralAmount":{"type":"number","format":"double","description":"Current remaining collateral — shrinks with each drawdown, distinct from\ninitialCollateralAmount, which never changes.","example":408.09,"uniqueKey":"hedges.items.[INDEX].oneOf.1.collateralAmount","typeLabel":"number\u003cdouble>"},"totalNumberOfDrawdowns":{"type":"number","format":"double","description":"Total number of drawdowns created against this hedge, across all statuses except Failed.\nReturned only when `contractType` is present.","example":3,"uniqueKey":"hedges.items.[INDEX].oneOf.1.totalNumberOfDrawdowns","typeLabel":"number\u003cdouble>"},"settlementAmount":{"type":"number","format":"double","description":"The total amount settled for the hedge. The amount can be positive or negative","example":10.99,"uniqueKey":"hedges.items.[INDEX].oneOf.1.settlementAmount","typeLabel":"number\u003cdouble>"},"settlementCurrency":{"type":"string","description":"The currency in which the settlement was processed","example":"USD","uniqueKey":"hedges.items.[INDEX].oneOf.1.settlementCurrency","typeLabel":"string"},"endDateQuote":{"type":"number","format":"double","description":"The rate used to calculate the hedge settlement amount","example":20.9236,"uniqueKey":"hedges.items.[INDEX].oneOf.1.endDateQuote","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"hedges.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"hedges.items.[INDEX]","typeLabel":"object"},"type":"array","description":"The individual hedges that make up this dual hedge.","example":[{"id":"8173b9a7-ee61-413e-b9e3-7c04b2a067c5","customerId":"87d8e330-2878-4742-a86f-dbbb3bf522ac","status":"Active","transactionId":"4d78ac65-2c3f-47e2-8bf3-3f76124e9d27","externalTransactionId":"780231b3ae0d7e9e5097nd89","fromCurrency":"MXN","toCurrency":"EUR","externalCustomerId":"630231b3ae0d7e9e5097ad35","toCurrencyAmount":1000,"fromCurrencyAmount":22850,"fixedSide":"fromCurrencyAmount","initialCollateralAmount":1142.5,"quote":22.85,"externalMarkupPct":null,"acceptedAtTs":1659625088,"issuedAt":"2023-01-18","endAt":"2023-02-20","updatedAt":"2023-02-20","cancelledAt":null,"initialCollateralReceivedAt":"2023-01-20","fundsReceivedAt":null,"completedAt":null,"completedAtTs":null,"overdueAt":"2023-02-20","settlementAt":"2023-02-20","settlementType":"full","adjustedMtmChangePct":1.25,"adjustedMtmChangeTs":1674057600,"spotRate":22.71},{"id":"5e89bd76-3d4f-58e3-9cf4-4f87235e0e38","customerId":"87d8e330-2878-4742-a86f-dbbb3bf522ac","status":"Active","transactionId":"4d78ac65-2c3f-47e2-8bf3-3f76124e9d27","externalTransactionId":"780231b3ae0d7e9e5097nd89","fromCurrency":"EUR","toCurrency":"USD","externalCustomerId":"630231b3ae0d7e9e5097ad35","toCurrencyAmount":1108.27,"fromCurrencyAmount":1000,"fixedSide":"toCurrencyAmount","initialCollateralAmount":50,"quote":0.9024,"externalMarkupPct":null,"acceptedAtTs":1659625088,"issuedAt":"2023-01-18","endAt":"2023-02-23","updatedAt":"2023-02-23","cancelledAt":null,"initialCollateralReceivedAt":"2023-01-20","fundsReceivedAt":null,"completedAt":null,"completedAtTs":null,"overdueAt":"2023-02-23","settlementAt":"2023-02-23","settlementType":"full","adjustedMtmChangePct":0.85,"adjustedMtmChangeTs":1674057600,"spotRate":0.9091}],"isRequired":true,"uniqueKey":"hedges","typeLabel":"object[]"}},"required":["id","issuedAt","customerId","functionalCurrency","fromCurrency","toCurrency","rate","hedges"],"type":"object","additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"bf77890b-17e2-48a1-9198-707df23eb127","issuedAt":"2023-01-18","customerId":"87d8e330-2878-4742-a86f-dbbb3bf522ac","functionalCurrency":"EUR","fromCurrency":"MXN","toCurrency":"USD","rate":20.616512,"hedges":[{"id":"8173b9a7-ee61-413e-b9e3-7c04b2a067c5","customerId":"87d8e330-2878-4742-a86f-dbbb3bf522ac","status":"Active","transactionId":"4d78ac65-2c3f-47e2-8bf3-3f76124e9d27","externalTransactionId":"780231b3ae0d7e9e5097nd89","fromCurrency":"MXN","toCurrency":"EUR","externalCustomerId":"630231b3ae0d7e9e5097ad35","toCurrencyAmount":1000,"fromCurrencyAmount":22850,"fixedSide":"fromCurrencyAmount","initialCollateralAmount":1142.5,"quote":22.85,"externalMarkupPct":null,"acceptedAtTs":1659625088,"issuedAt":"2023-01-18","endAt":"2023-02-20","updatedAt":"2023-02-20","cancelledAt":null,"initialCollateralReceivedAt":"2023-01-20","fundsReceivedAt":null,"completedAt":null,"completedAtTs":null,"overdueAt":"2023-02-20","settlementAt":"2023-02-20","settlementType":"full","adjustedMtmChangePct":1.25,"adjustedMtmChangeTs":1674057600,"spotRate":22.71},{"id":"5e89bd76-3d4f-58e3-9cf4-4f87235e0e38","customerId":"87d8e330-2878-4742-a86f-dbbb3bf522ac","status":"Active","transactionId":"4d78ac65-2c3f-47e2-8bf3-3f76124e9d27","externalTransactionId":"780231b3ae0d7e9e5097nd89","fromCurrency":"EUR","toCurrency":"USD","externalCustomerId":"630231b3ae0d7e9e5097ad35","toCurrencyAmount":1108.27,"fromCurrencyAmount":1000,"fixedSide":"toCurrencyAmount","initialCollateralAmount":50,"quote":0.9024,"externalMarkupPct":null,"acceptedAtTs":1659625088,"issuedAt":"2023-01-18","endAt":"2023-02-23","updatedAt":"2023-02-23","cancelledAt":null,"initialCollateralReceivedAt":"2023-01-20","fundsReceivedAt":null,"completedAt":null,"completedAtTs":null,"overdueAt":"2023-02-23","settlementAt":"2023-02-23","settlementType":"full","adjustedMtmChangePct":0.85,"adjustedMtmChangeTs":1674057600,"spotRate":0.9091}]}}},"exampleType":"generated"}},"exampleType":"generated"},"bdb74d99-da19-4250-b026-02f6ac277d4d":{"description":"Authentication failed due to missing authorization header, or invalid authentication credentials.","content":{"application/json":{"schema":{"description":"An API Error","properties":{"message":{"type":"string","description":"A short explanation of the error.","example":"Can't perform this action","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"type":"string","description":"A detailed description of the reason for the failure.","example":"Supplied object is in *Cancelled* state, which prevents performing this action","uniqueKey":"reason","typeLabel":"string"}},"required":["message"],"type":"object","additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Can't perform this action","reason":"Supplied object is in *Cancelled* state, which prevents performing this action"}}},"exampleType":"generated"}},"exampleType":"generated"},"953fe596-a302-4dc4-8cee-1e760ff5e05a":{"description":"The request failed because the caller has insufficient permissions.","content":{"application/json":{"schema":{"description":"An API Error","properties":{"message":{"type":"string","description":"A short explanation of the error.","example":"Can't perform this action","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"type":"string","description":"A detailed description of the reason for the failure.","example":"Supplied object is in *Cancelled* state, which prevents performing this action","uniqueKey":"reason","typeLabel":"string"}},"required":["message"],"type":"object","additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Can't perform this action","reason":"Supplied object is in *Cancelled* state, which prevents performing this action"}}},"exampleType":"generated"}},"exampleType":"generated"},"cfb0b0a6-bc49-4fc9-89cb-6f9412a5d824":{"description":"The request failed because the resource does not exist.","content":{"application/json":{"schema":{"description":"An API Error","properties":{"message":{"type":"string","description":"A short explanation of the error.","example":"Can't perform this action","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"type":"string","description":"A detailed description of the reason for the failure.","example":"Supplied object is in *Cancelled* state, which prevents performing this action","uniqueKey":"reason","typeLabel":"string"}},"required":["message"],"type":"object","additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Can't perform this action","reason":"Supplied object is in *Cancelled* state, which prevents performing this action"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2f79c7a8-a9ba-40d1-8629-1a5d89705bd6":{"api-key":{"type":"http","scheme":"basic","description":"Basic authentication using the partner API keys from https://console.grainfinance.co/keys","scopes":[],"schemeName":"api-key"}}},"servers":{"eeb09c90-1271-4ffb-8ae7-4776d42b8d94":{"url":"https://api.grainfinance.co/v1","description":"Grain API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"Basic authentication using the partner API keys from https://console.grainfinance.co/keys","scopes":[],"schemeName":"api-key"},"schema":{"title":"Basic Auth","type":"object","description":"Basic authentication using the partner API keys from https://console.grainfinance.co/keys","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"api-key","name":"Authorization"}],"title":"api-key"}]},"originalFileLocation":"https://grain-docs-assets.s3.us-east-1.amazonaws.com/openapi.yaml"},"subdomain":"grainfinance","siteName":"Grain Developer Portal","title":"Get Dual Hedge - Grain Developer Portal","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-10T11:33:30.421Z","originalFileLocation":"api-reference/dual-hedges/get-dual-hedge.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieves details of a specific dual hedge, including both underlying legs and their respective proposals.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Grain Developer Portal\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/grainfinance/OLtSo8SKRqQNdAkd/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/grainfinance/OLtSo8SKRqQNdAkd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/grainfinance/OLtSo8SKRqQNdAkd/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/grainfinance/OLtSo8SKRqQNdAkd/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/grainfinance/OLtSo8SKRqQNdAkd/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/grainfinance/OLtSo8SKRqQNdAkd/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/grainfinance/OLtSo8SKRqQNdAkd/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/grainfinance/OLtSo8SKRqQNdAkd/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/grainfinance/OLtSo8SKRqQNdAkd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Dual Hedge - Grain Developer Portal\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves details of a specific dual hedge, including both underlying legs and their respective proposals.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Grain Developer Portal\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.grainfinance.co/api-reference/dual-hedges/get-dual-hedge\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://grainfinance.mintlify.site/_mintlify/api/og/v2?division=Dual+Hedges\u0026amp;title=Get+Dual+Hedge\u0026amp;description=Retrieves+details+of+a+specific+dual+hedge%2C+including+both+underlying+legs+and+their+respective+proposals.\u0026amp;theme=8c9d9bd44ec042b2b291f319\u0026amp;signature=3d1f370bc652d9626c35b4dcd2a5082cd270030849a6e82580a8ca790bda50a5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Dual Hedge - Grain Developer Portal\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves details of a specific dual hedge, including both underlying legs and their respective proposals.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://grainfinance.mintlify.site/_mintlify/api/og/v2?division=Dual+Hedges\u0026amp;title=Get+Dual+Hedge\u0026amp;description=Retrieves+details+of+a+specific+dual+hedge%2C+including+both+underlying+legs+and+their+respective+proposals.\u0026amp;theme=8c9d9bd44ec042b2b291f319\u0026amp;signature=3d1f370bc652d9626c35b4dcd2a5082cd270030849a6e82580a8ca790bda50a5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/grainfinance/OLtSo8SKRqQNdAkd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Grain Developer Portal\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3D82F7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.grainfinance.co/api-reference/dual-hedges/get-dual-hedge\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/dual-hedges/get-dual-hedge.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.grainfinance.co/#organization\",\"name\":\"Grain Developer Portal\",\"url\":\"https://docs.grainfinance.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/grainfinance/C_1vcIAg0NPjbAeO/logo/light.svg?fit=max\u0026auto=format\u0026n=C_1vcIAg0NPjbAeO\u0026q=85\u0026s=b888c1903085edd1bc00cfa6adfdc039\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.grainfinance.co#website\",\"name\":\"Grain Developer Portal\",\"url\":\"https://docs.grainfinance.co\",\"publisher\":{\"@id\":\"https://docs.grainfinance.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.grainfinance.co/api-reference/dual-hedges/get-dual-hedge#webpage\",\"url\":\"https://docs.grainfinance.co/api-reference/dual-hedges/get-dual-hedge\",\"name\":\"Get Dual Hedge\",\"description\":\"Retrieves details of a specific dual hedge, including both underlying legs and their respective proposals.\",\"dateModified\":\"2026-05-10T11:33:30.421Z\",\"isPartOf\":{\"@id\":\"https://docs.grainfinance.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.grainfinance.co/api-reference/dual-hedges/get-dual-hedge#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.grainfinance.co/api-reference/dual-hedges/get-dual-hedge#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Dual Hedges\",\"item\":\"https://docs.grainfinance.co/api-reference/dual-hedges/get-offline-rates\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Dual Hedge\",\"item\":\"https://docs.grainfinance.co/api-reference/dual-hedges/get-dual-hedge\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.grainfinance.co/api-reference/dual-hedges/get-dual-hedge#apireference\",\"headline\":\"Get Dual Hedge\",\"name\":\"Get Dual Hedge\",\"description\":\"Retrieves details of a specific dual hedge, including both underlying legs and their respective proposals.\",\"url\":\"https://docs.grainfinance.co/api-reference/dual-hedges/get-dual-hedge\",\"mainEntityOfPage\":{\"@id\":\"https://docs.grainfinance.co/api-reference/dual-hedges/get-dual-hedge#webpage\"},\"dateModified\":\"2026-05-10T11:33:30.421Z\",\"publisher\":{\"@id\":\"https://docs.grainfinance.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.grainfinance.co#website\"}}]}\u003c/script>","agentPointerHref":"/api-reference/dual-hedges/get-dual-hedge.md","siteName":"Grain Developer Portal","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":""}]},{"tab":"Concepts","pages":[{"title":"Concepts","href":"/concepts/core-concepts"}]},{"tab":"API","groups":[{"group":"Basics","pages":[{"title":"Conventions","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Hedges","pages":[{"group":"Accept Realtime","expanded":true,"pages":[{"title":"Quote","playground":"simple","openapi":"POST /customers/{customerId}/hedges/quote","href":"/api-reference/hedges/get-quote"},{"title":"Accept","playground":"simple","openapi":"POST /customers/{customerId}/hedges/accept-quote","href":"/api-reference/hedges/accept-quote"}]},{"group":"Accept Offline","expanded":true,"pages":[{"title":"Rates","openapi":"GET /offline-rates","href":"/api-reference/hedges/get-offline-rates"},{"title":"Accept","playground":"simple","openapi":"POST /customers/{customerId}/hedges/accept-offline-quote","href":"/api-reference/hedges/accept-offline-quote"}]},{"title":"List Hedges","openapi":"GET /customers/{customerId}/hedges","href":"/api-reference/hedges/list-hedges"},{"title":"Get Hedge","openapi":"GET /customers/{customerId}/hedges/{hedgeId}","href":"/api-reference/hedges/get-hedge"},{"playground":"simple","title":"Cancel Hedge","openapi":"POST /customers/{customerId}/hedges/{hedgeId}/cancel","href":"/api-reference/hedges/cancel-hedge"},{"group":"Drawdown Hedge","pages":[{"title":"Quote","playground":"simple","openapi":"POST /customers/{customerId}/hedges/{hedgeId}/drawdown/quote","href":"/api-reference/hedges/drawdown-quote"},{"title":"Accept","playground":"simple","openapi":"POST /customers/{customerId}/hedges/{hedgeId}/drawdown/accept","href":"/api-reference/hedges/drawdown-accept"},{"title":"List","playground":"simple","openapi":"GET /customers/{customerId}/hedges/{hedgeId}/drawdown","href":"/api-reference/hedges/list-drawdowns"},{"title":"Get","playground":"simple","openapi":"GET /customers/{customerId}/hedges/{hedgeId}/drawdown/{drawdownId}","href":"/api-reference/hedges/get-drawdown"}]},{"group":"Extend Hedge","pages":[{"title":"Quote","playground":"simple","openapi":"POST /customers/{customerId}/hedges/{hedgeId}/extension/quote","href":"/api-reference/hedges/extension-quote"},{"title":"Accept","playground":"simple","openapi":"POST /customers/{customerId}/hedges/{hedgeId}/extension/accept","href":"/api-reference/hedges/extension-accept"},{"title":"List","playground":"simple","openapi":"GET /customers/{customerId}/hedges/{hedgeId}/extension","href":"/api-reference/hedges/list-extensions"},{"title":"Get","playground":"simple","openapi":"GET /customers/{customerId}/hedges/{hedgeId}/extension/{extensionId}","href":"/api-reference/hedges/get-extension"}]}]},{"group":"Dual Hedges","pages":[{"title":"Rates","openapi":"GET /dual-hedge-offline-rates","href":"/api-reference/dual-hedges/get-offline-rates"},{"playground":"simple","title":"Accept","openapi":"POST /customers/{customerId}/dual-hedges/accept-offline-quote","href":"/api-reference/dual-hedges/accept-offline-quote"},{"title":"List Dual Hedges","openapi":"GET /customers/{customerId}/dual-hedges","description":"Lists all dual hedge transactions for the partner, including both hedge legs. Supports filtering by creation or update date.","href":"/api-reference/dual-hedges/list-dual-hedges"},{"title":"Get Dual Hedge","openapi":"GET /customers/{customerId}/dual-hedges/{dualHedgeId}","href":"/api-reference/dual-hedges/get-dual-hedge"},{"playground":"simple","title":"Cancel Dual Hedge","openapi":"POST /customers/{customerId}/dual-hedges/{dualHedgeId}/cancel","description":"Cancels a dual hedge and its underlying customer and supplier legs.","href":"/api-reference/dual-hedges/cancel-dual-hedge"}]},{"group":"Customers","pages":[{"playground":"simple","title":"Create Customer","openapi":"POST /customers","href":"/api-reference/customers/create-customer"},{"title":"List Customers","openapi":"GET /customers","href":"/api-reference/customers/list-customers"},{"title":"Get Customer","openapi":"GET /customers/{customerId}","href":"/api-reference/customers/get-customer"},{"playground":"simple","title":"Update Customer","openapi":"POST /customers/{customerId}/update","href":"/api-reference/customers/update-customer"},{"playground":"simple","title":"Delete Customer","openapi":"DELETE /customers/{customerId}","href":"/api-reference/customers/delete-customer"}]},{"group":"Conversions","pages":[{"playground":"simple","title":"Quote","openapi":"POST /conversions/quote","href":"/api-reference/conversions/get-quote"},{"playground":"simple","title":"Accept","openapi":"POST /conversions/accept-quote","href":"/api-reference/conversions/accept-quote"},{"title":"List Conversions","openapi":"GET /conversions","href":"/api-reference/conversions/list-conversions"},{"title":"Get Conversion","openapi":"GET /conversions/{conversionId}","href":"/api-reference/conversions/get-conversion"}]},{"group":"Payouts","pages":[{"title":"Review Payout","openapi":"POST /payouts","href":"/api-reference/payouts/review-payout"},{"title":"Submit Payout","openapi":"POST /payouts/{proposalId}/submit","href":"/api-reference/payouts/submit-payout"},{"title":"List Payouts","openapi":"GET /payouts","href":"/api-reference/payouts/list-payouts"},{"title":"Get Payout","openapi":"GET /payouts/{payoutId}","href":"/api-reference/payouts/get-payout"}]},{"group":"Vendors","pages":[{"playground":"simple","title":"Create Vendor","openapi":"POST /vendors","href":"/api-reference/vendors/create-vendor"},{"title":"List Vendors","openapi":"GET /vendors","href":"/api-reference/vendors/list-vendors"},{"title":"Get Vendor","openapi":"GET /vendors/{vendorId}","href":"/api-reference/vendors/get-vendor"}]},{"group":"Wallets","pages":[{"title":"List Wallets","openapi":"GET /wallets","href":"/api-reference/wallets/list-wallets"},{"title":"Get Wallet","openapi":"GET /wallets/{walletId}","href":"/api-reference/wallets/get-wallet"},{"playground":"simple","title":"Withdraw","openapi":"POST /wallets/{walletId}/withdraw","href":"/api-reference/wallets/withdraw"}]},{"group":"Pricing","pages":[{"title":"Exchange Rate","openapi":"GET /rates/currency-pairs-exchange-rate","href":"/api-reference/pricing/get-exchange-rate"}]}]},{"tab":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks"}]}]},"basePath":"","title":"Get Dual Hedge - Grain Developer Portal","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}