Create a quote
curl --request POST \
--url https://engine-api.shiga.io/v1/quotes \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"amount": "100.50",
"destination_currency": "<string>",
"source_currency": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: '100.50',
destination_currency: '<string>',
source_currency: '<string>'
})
};
fetch('https://engine-api.shiga.io/v1/quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: '100.50',
destination_currency: '<string>',
source_currency: '<string>'
})
};
fetch('https://engine-api.shiga.io/v1/quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://engine-api.shiga.io/v1/quotes")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": \"100.50\",\n \"destination_currency\": \"<string>\",\n \"source_currency\": \"<string>\"\n}")
.asString();{
"destination_amount": "138305",
"expires_at": "<string>",
"id": "<string>",
"rate": "1383.05",
"source_amount": "100.50"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}Quotes
Create a quote
POST
/
v1
/
quotes
Create a quote
curl --request POST \
--url https://engine-api.shiga.io/v1/quotes \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"amount": "100.50",
"destination_currency": "<string>",
"source_currency": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: '100.50',
destination_currency: '<string>',
source_currency: '<string>'
})
};
fetch('https://engine-api.shiga.io/v1/quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: '100.50',
destination_currency: '<string>',
source_currency: '<string>'
})
};
fetch('https://engine-api.shiga.io/v1/quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://engine-api.shiga.io/v1/quotes")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": \"100.50\",\n \"destination_currency\": \"<string>\",\n \"source_currency\": \"<string>\"\n}")
.asString();{
"destination_amount": "138305",
"expires_at": "<string>",
"id": "<string>",
"rate": "1383.05",
"source_amount": "100.50"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}Authorizations
API key authentication
Body
application/json
Create quote request
⌘I