Generate Quote to Breb

View as Markdown
Generates a payment quote for an off-ramp transaction to a **Bre-B** destination. Calculates the conversion from **USDT (Tron network)** to **COP** for the specified amount and recipient identified by their Bre-B key. The quote must be accepted before the payment is processed. **Authentication:** Bearer token (`{{JWT_LOGIN}}`) + `x-api-key` header. **Key body fields** - `transactionId`: Unique identifier for the transaction. - `baseCurrency` / `quoteCurrency`: Source and target currencies (e.g. `USDT` → `COP`). - `amount`: Amount in the base currency to convert. - `blockchainNetwork`: Blockchain used to fund the payment (e.g. `Tron`). - `recipient.paymentMethod`: Must be `Breb`. - `recipient.key.value`: The recipient's Bre-B alias or key (e.g. `@alias`).

Headers

x-api-keystringOptional

Request

This endpoint expects an object.
transactionIdstringRequiredformat: "uuid"
descriptionstringRequired
baseCurrencystringRequired
quoteCurrencystringRequired
amountintegerRequired
blockchainNetworkstringRequired
recipientobjectRequired

Response headers

x-amzn-RequestIdstringOptional
Access-Control-Allow-OriginstringOptional
x-amz-apigw-idstringOptional
X-Amzn-Trace-IdstringOptional

Response

OK
transactionIdstringformat: "uuid"
addressstring
blockchainNetworkstring
quoteobject
recipientobject