GLOBAL TRANSFERS Copy Page
Create Global Transfer Quotation
POST https://api.dutchapi.dubiabank.com/v1/transfers/global/quotation
Lock the rate and fee for an international transfer. dutchFee is the Dutch API rate (1.65% for senders in the US, Europe and the UK), markup is your own margin.
Recent Requests Log in to see full request history No requests yet. Send one from the panel to see it here.
Body Params sourceWalletstring required
Defaults to USD
Wallet to debit
amountstring required
Defaults to 1000
Amount to send
destinationCountrystring required
Defaults to IN
ISO country code
markupPercentnumber optional
Defaults to 0.5
Your markup as a percentage of the amount. Optional. It is your profit.
markupFixednumber optional
Your fixed markup in the request currency. Optional. It is your profit.
Responses
200 400
{
"code": 200,
"success": true,
"token": "gq_63d",
"rate": "83.2",
"fees": {
"currency": "USD",
"rule": "percentage",
"ruleDetail": "1.65% of the amount",
"dutchFee": "16.50",
"markup": "5.00",
"totalFee": "21.50"
},
"expiresIn": 60
}
{
"code": 400,
"success": false,
"message": "Invalid request parameters"
}
Language Shell Node Ruby PHP Python
Credentials Bearer
curl --request POST \
--url https://api.dutchapi.dubiabank.com/v1/transfers/global/quotation \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"sourceWallet": "USD",
"amount": "1000",
"destinationCountry": "IN",
"markupPercent": "0.5",
"markupFixed": "string"
}'const res = await fetch("https://api.dutchapi.dubiabank.com/v1/transfers/global/quotation", {
method: "POST",
headers: {
Authorization: `Bearer ${token}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"sourceWallet": "USD",
"amount": "1000",
"destinationCountry": "IN",
"markupPercent": "0.5",
"markupFixed": "string"
})
});
console.log(await res.json());require "net/http"
require "json"
uri = URI("https://api.dutchapi.dubiabank.com/v1/transfers/global/quotation")
req = Net::HTTP::Post.new(uri)
req["Authorization"] = "Bearer #{token}"
req["Content-Type"] = "application/json"
req.body = {
"sourceWallet": "USD",
"amount": "1000",
"destinationCountry": "IN",
"markupPercent": "0.5",
"markupFixed": "string"
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |h| h.request(req) }
puts res.body<?php
$ch = curl_init("https://api.dutchapi.dubiabank.com/v1/transfers/global/quotation");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer $token", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode({
"sourceWallet": "USD",
"amount": "1000",
"destinationCountry": "IN",
"markupPercent": "0.5",
"markupFixed": "string"
})
]);
echo curl_exec($ch);import requests
res = requests.request(
"POST",
"https://api.dutchapi.dubiabank.com/v1/transfers/global/quotation",
headers={"Authorization": f"Bearer {token}"},
json={
"sourceWallet": "USD",
"amount": "1000",
"destinationCountry": "IN",
"markupPercent": "0.5",
"markupFixed": "string"
}
)
print(res.json())
Show example
Response Click `Show example` to see an example response. Nothing is sent from this page: endpoints are live, so run real requests from your own code with small amounts. Or choose an example:
200 - Result 400 - Result