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: