From 0a86f261f6ffed928665c996af0e052c35636d5f Mon Sep 17 00:00:00 2001 From: Meir Rotstein Date: Sun, 15 Mar 2026 15:13:35 +0200 Subject: [PATCH] FA-5815 limit order schema --- v2/openapi/fb-provider-ramp-api.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/v2/openapi/fb-provider-ramp-api.yaml b/v2/openapi/fb-provider-ramp-api.yaml index 071eb484..0e9ff2bd 100644 --- a/v2/openapi/fb-provider-ramp-api.yaml +++ b/v2/openapi/fb-provider-ramp-api.yaml @@ -893,6 +893,7 @@ components: executionDetails: oneOf: - $ref: "#/components/schemas/OrderQuote" + - $ref: "#/components/schemas/OrderLimit" - type: object properties: participantsIdentification: @@ -981,6 +982,7 @@ components: executionDetails: oneOf: - $ref: "#/components/schemas/OrderQuote" + - $ref: "#/components/schemas/OrderLimit" expiresAt: description: Ramp expiration time. type: string @@ -1129,6 +1131,24 @@ components: - $ref: "#/components/schemas/Retry" - $ref: "#/components/schemas/Market" + OrderLimit: + type: object + required: + - type + - price + - slippage + properties: + type: + type: string + enum: + - Limit + price: + $ref: '#/x-schemas/PositiveAmount' + description: Limit price in quote asset per unit of base asset. The order will not execute at a worse price than this. + slippage: + type: number + description: Slippage tolerance in basis points (bps) — 1 is 0.01% and 10000 is 100%. Defines acceptable deviation from the limit price. + Retry: type: object required: