Get deposit address
curl --request POST \
--url https://dev.bringin.xyz/api/v0/offramp/address \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"sourceCurrency": "<string>",
"sourceBlockchain": "<string>",
"ipAddress": "<string>"
}
'import requests
url = "https://dev.bringin.xyz/api/v0/offramp/address"
payload = {
"sourceCurrency": "<string>",
"sourceBlockchain": "<string>",
"ipAddress": "<string>"
}
headers = {
"api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sourceCurrency: '<string>',
sourceBlockchain: '<string>',
ipAddress: '<string>'
})
};
fetch('https://dev.bringin.xyz/api/v0/offramp/address', 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://dev.bringin.xyz/api/v0/offramp/address",
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([
'sourceCurrency' => '<string>',
'sourceBlockchain' => '<string>',
'ipAddress' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"api-key: <api-key>"
],
]);
$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://dev.bringin.xyz/api/v0/offramp/address"
payload := strings.NewReader("{\n \"sourceCurrency\": \"<string>\",\n \"sourceBlockchain\": \"<string>\",\n \"ipAddress\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api-key", "<api-key>")
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://dev.bringin.xyz/api/v0/offramp/address")
.header("api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"sourceCurrency\": \"<string>\",\n \"sourceBlockchain\": \"<string>\",\n \"ipAddress\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.bringin.xyz/api/v0/offramp/address")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sourceCurrency\": \"<string>\",\n \"sourceBlockchain\": \"<string>\",\n \"ipAddress\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"maximumDepositAmount": "1666667",
"minimumDepositAmount": "15",
"address": "0x7D162a2B5e88277F8b51D8548B2BC1a2E89558E7"
}
Top-up Debit Card
Get deposit address
POST
/
api
/
v0
/
offramp
/
address
Get deposit address
curl --request POST \
--url https://dev.bringin.xyz/api/v0/offramp/address \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"sourceCurrency": "<string>",
"sourceBlockchain": "<string>",
"ipAddress": "<string>"
}
'import requests
url = "https://dev.bringin.xyz/api/v0/offramp/address"
payload = {
"sourceCurrency": "<string>",
"sourceBlockchain": "<string>",
"ipAddress": "<string>"
}
headers = {
"api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sourceCurrency: '<string>',
sourceBlockchain: '<string>',
ipAddress: '<string>'
})
};
fetch('https://dev.bringin.xyz/api/v0/offramp/address', 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://dev.bringin.xyz/api/v0/offramp/address",
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([
'sourceCurrency' => '<string>',
'sourceBlockchain' => '<string>',
'ipAddress' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"api-key: <api-key>"
],
]);
$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://dev.bringin.xyz/api/v0/offramp/address"
payload := strings.NewReader("{\n \"sourceCurrency\": \"<string>\",\n \"sourceBlockchain\": \"<string>\",\n \"ipAddress\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api-key", "<api-key>")
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://dev.bringin.xyz/api/v0/offramp/address")
.header("api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"sourceCurrency\": \"<string>\",\n \"sourceBlockchain\": \"<string>\",\n \"ipAddress\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.bringin.xyz/api/v0/offramp/address")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sourceCurrency\": \"<string>\",\n \"sourceBlockchain\": \"<string>\",\n \"ipAddress\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"maximumDepositAmount": "1666667",
"minimumDepositAmount": "15",
"address": "0x7D162a2B5e88277F8b51D8548B2BC1a2E89558E7"
}
Creates an offramp order and returns a crypto deposit address. Once the user sends crypto to this address, it’s converted to EUR and loaded onto their Bringin debit card.
Requires a per-user api-key.
Supported combinations:
USDC, BTC, ETH, or USDTPOLYGON, BITCOIN, ETHEREUM, or LIGHTNINGUser’s IP address. Auto-extracted from headers for non-web apps.
{
"maximumDepositAmount": "1666667",
"minimumDepositAmount": "15",
"address": "0x7D162a2B5e88277F8b51D8548B2BC1a2E89558E7"
}
| Currency | Blockchains |
|---|---|
USDC | POLYGON, ETHEREUM |
BTC | BITCOIN, LIGHTNING |
ETH | ETHEREUM |
USDT | POLYGON, ETHEREUM |
⌘I