curl --request POST \
--url https://api.jenzy.com/v2/orders/quotes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from_asset": "USDT",
"to_asset": "BIF",
"from_amount": "1000",
"to_amount": "2850500"
}
'import requests
url = "https://api.jenzy.com/v2/orders/quotes"
payload = {
"from_asset": "USDT",
"to_asset": "BIF",
"from_amount": "1000",
"to_amount": "2850500"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({from_asset: 'USDT', to_asset: 'BIF', from_amount: '1000', to_amount: '2850500'})
};
fetch('https://api.jenzy.com/v2/orders/quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.jenzy.com/v2/orders/quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'from_asset' => 'USDT',
'to_asset' => 'BIF',
'from_amount' => '1000',
'to_amount' => '2850500'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.jenzy.com/v2/orders/quotes"
payload := strings.NewReader("{\n \"from_asset\": \"USDT\",\n \"to_asset\": \"BIF\",\n \"from_amount\": \"1000\",\n \"to_amount\": \"2850500\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.jenzy.com/v2/orders/quotes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"from_asset\": \"USDT\",\n \"to_asset\": \"BIF\",\n \"from_amount\": \"1000\",\n \"to_amount\": \"2850500\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jenzy.com/v2/orders/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"from_asset\": \"USDT\",\n \"to_asset\": \"BIF\",\n \"from_amount\": \"1000\",\n \"to_amount\": \"2850500\"\n}"
response = http.request(request)
puts response.read_body{
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from_asset": "USDT",
"to_asset": "BIF",
"from_amount": "1000",
"to_amount": "2850500",
"rate": "2850.5",
"expires_at": "2026-09-22T10:01:00.000Z"
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}Quote a desk order
Pin a rate for one order. One side is a stablecoin and the other a corridor currency; the stablecoin side decides the direction (stablecoin → currency is a to-bank order paid to a beneficiary; currency → stablecoin is a from-bank order credited to your balance). Fix either amount; the other is derived at the corridor rate and rounded to the asset’s decimals (currency down, stablecoin up). A quote is short-lived — expires_at is authoritative, normally 60 seconds after issue — is consumed by exactly one order, reserves no balance and is not listed. No Idempotency-Key.
curl --request POST \
--url https://api.jenzy.com/v2/orders/quotes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from_asset": "USDT",
"to_asset": "BIF",
"from_amount": "1000",
"to_amount": "2850500"
}
'import requests
url = "https://api.jenzy.com/v2/orders/quotes"
payload = {
"from_asset": "USDT",
"to_asset": "BIF",
"from_amount": "1000",
"to_amount": "2850500"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({from_asset: 'USDT', to_asset: 'BIF', from_amount: '1000', to_amount: '2850500'})
};
fetch('https://api.jenzy.com/v2/orders/quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.jenzy.com/v2/orders/quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'from_asset' => 'USDT',
'to_asset' => 'BIF',
'from_amount' => '1000',
'to_amount' => '2850500'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.jenzy.com/v2/orders/quotes"
payload := strings.NewReader("{\n \"from_asset\": \"USDT\",\n \"to_asset\": \"BIF\",\n \"from_amount\": \"1000\",\n \"to_amount\": \"2850500\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.jenzy.com/v2/orders/quotes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"from_asset\": \"USDT\",\n \"to_asset\": \"BIF\",\n \"from_amount\": \"1000\",\n \"to_amount\": \"2850500\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jenzy.com/v2/orders/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"from_asset\": \"USDT\",\n \"to_asset\": \"BIF\",\n \"from_amount\": \"1000\",\n \"to_amount\": \"2850500\"\n}"
response = http.request(request)
puts response.read_body{
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from_asset": "USDT",
"to_asset": "BIF",
"from_amount": "1000",
"to_amount": "2850500",
"rate": "2850.5",
"expires_at": "2026-09-22T10:01:00.000Z"
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}Authorizations
Your Jenzy API key: Authorization: Bearer jz_live_…
Body
The asset you pay. One side is a stablecoin and the other a corridor currency from GET /v2/orders/corridors; the stablecoin side decides the direction. Any other pair is unsupported_pair (422).
1"USDT"
The asset you receive (on a to-bank order) or that is credited to your balance (on a from-bank order).
1"BIF"
Fix what you pay; to_amount is derived. Send exactly one of from_amount and to_amount.
"1000"
Fix what the beneficiary receives (or what you are credited); from_amount is derived.
"2850500"
Response
The quote. Both amounts are frozen on it.
Pass this to POST /v2/orders. Consumed by exactly one order.
An asset code as GET /v2/assets lists it — uppercase, never compound (KES, USDT; never USDT-TRON). Network and rail live on the payment object.
1"USDT"
An asset code as GET /v2/assets lists it — uppercase, never compound (KES, USDT; never USDT-TRON). Network and rail live on the payment object.
1"BIF"
What you will pay, in from_asset.
"1000"
What the beneficiary receives (to-bank order) or you are credited (from-bank order), in to_asset. The derived side is rounded to the asset’s decimals: the corridor currency down, the stablecoin up.
"2850500"
Corridor currency per one stablecoin, all-in, as a trimmed decimal string. Frozen on the quote.
"2850.5"
ISO 8601. The moment this quote dies — normally 60 seconds after issue; always read this field rather than assuming a window. Create the order before it or take a new quote; an expired quote is quote_expired (422).
"2026-09-22T10:01:00.000Z"