curl --request POST \
--url https://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender \
--header 'Content-Type: application/json' \
--data '
{
"custody": {
"type": "self",
"country": "BRA",
"custodian-name": "Binance"
},
"owner": {
"type": "third-party",
"name": "Acme Trading LLC"
},
"label": "Main exchange wallet"
}
'import requests
url = "https://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender"
payload = {
"custody": {
"type": "self",
"country": "BRA",
"custodian-name": "Binance"
},
"owner": {
"type": "third-party",
"name": "Acme Trading LLC"
},
"label": "Main exchange wallet"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
custody: {type: 'self', country: 'BRA', 'custodian-name': 'Binance'},
owner: {type: 'third-party', name: 'Acme Trading LLC'},
label: 'Main exchange wallet'
})
};
fetch('https://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender', 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://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender",
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([
'custody' => [
'type' => 'self',
'country' => 'BRA',
'custodian-name' => 'Binance'
],
'owner' => [
'type' => 'third-party',
'name' => 'Acme Trading LLC'
],
'label' => 'Main exchange wallet'
]),
CURLOPT_HTTPHEADER => [
"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://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender"
payload := strings.NewReader("{\n \"custody\": {\n \"type\": \"self\",\n \"country\": \"BRA\",\n \"custodian-name\": \"Binance\"\n },\n \"owner\": {\n \"type\": \"third-party\",\n \"name\": \"Acme Trading LLC\"\n },\n \"label\": \"Main exchange wallet\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender")
.header("Content-Type", "application/json")
.body("{\n \"custody\": {\n \"type\": \"self\",\n \"country\": \"BRA\",\n \"custodian-name\": \"Binance\"\n },\n \"owner\": {\n \"type\": \"third-party\",\n \"name\": \"Acme Trading LLC\"\n },\n \"label\": \"Main exchange wallet\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"custody\": {\n \"type\": \"self\",\n \"country\": \"BRA\",\n \"custodian-name\": \"Binance\"\n },\n \"owner\": {\n \"type\": \"third-party\",\n \"name\": \"Acme Trading LLC\"\n },\n \"label\": \"Main exchange wallet\"\n}"
response = http.request(request)
puts response.read_body{
"result": "released",
"deposit": {
"amount": "100.500000000000000000",
"coordinates": {
"source-chain": "eth-base",
"source-address": "0x742d35Cc6635C0532925a3b8D295FD6C6e7e2c2c",
"target-address": "0xdDa4775Ed1d0c831B006FD4061Edb1b30693a44c"
},
"tx-hash": "0x1234567890abcdef1234567890abcdef12345678",
"type": "token",
"processed-at": "2024-01-15T10:30:00Z",
"status": "confirmed",
"id": "660e8400-e29b-41d4-a716-446655440001",
"created-at": "2024-01-15T10:30:00Z",
"asset": "eth-base/usdc"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}Confirm Deposit Sender
Registers the quarantined deposit’s source address as a trusted sender for the account, subject to compliance screening. Confirmation is per sender, not per deposit: when approved immediately, every quarantined deposit from that sender is released and credited (result ‘released’) and future deposits from it are auto-confirmed; when manual review is required, the request stays pending (result ‘pending-approval’) and deposits remain quarantined until review completes. Retrying a confirmation for the same sender is idempotent. If the sender was rejected by a previous review, re-confirmation returns a business error and reconsideration is handled by Crown operations. Applies to token deposits only (‘usdc’ or ‘usdt’).
curl --request POST \
--url https://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender \
--header 'Content-Type: application/json' \
--data '
{
"custody": {
"type": "self",
"country": "BRA",
"custodian-name": "Binance"
},
"owner": {
"type": "third-party",
"name": "Acme Trading LLC"
},
"label": "Main exchange wallet"
}
'import requests
url = "https://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender"
payload = {
"custody": {
"type": "self",
"country": "BRA",
"custodian-name": "Binance"
},
"owner": {
"type": "third-party",
"name": "Acme Trading LLC"
},
"label": "Main exchange wallet"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
custody: {type: 'self', country: 'BRA', 'custodian-name': 'Binance'},
owner: {type: 'third-party', name: 'Acme Trading LLC'},
label: 'Main exchange wallet'
})
};
fetch('https://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender', 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://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender",
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([
'custody' => [
'type' => 'self',
'country' => 'BRA',
'custodian-name' => 'Binance'
],
'owner' => [
'type' => 'third-party',
'name' => 'Acme Trading LLC'
],
'label' => 'Main exchange wallet'
]),
CURLOPT_HTTPHEADER => [
"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://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender"
payload := strings.NewReader("{\n \"custody\": {\n \"type\": \"self\",\n \"country\": \"BRA\",\n \"custodian-name\": \"Binance\"\n },\n \"owner\": {\n \"type\": \"third-party\",\n \"name\": \"Acme Trading LLC\"\n },\n \"label\": \"Main exchange wallet\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender")
.header("Content-Type", "application/json")
.body("{\n \"custody\": {\n \"type\": \"self\",\n \"country\": \"BRA\",\n \"custodian-name\": \"Binance\"\n },\n \"owner\": {\n \"type\": \"third-party\",\n \"name\": \"Acme Trading LLC\"\n },\n \"label\": \"Main exchange wallet\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.crown-brlv.com/api/v1/accounts/{account-id}/assets/{asset}/deposits/{id}/confirm-sender")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"custody\": {\n \"type\": \"self\",\n \"country\": \"BRA\",\n \"custodian-name\": \"Binance\"\n },\n \"owner\": {\n \"type\": \"third-party\",\n \"name\": \"Acme Trading LLC\"\n },\n \"label\": \"Main exchange wallet\"\n}"
response = http.request(request)
puts response.read_body{
"result": "released",
"deposit": {
"amount": "100.500000000000000000",
"coordinates": {
"source-chain": "eth-base",
"source-address": "0x742d35Cc6635C0532925a3b8D295FD6C6e7e2c2c",
"target-address": "0xdDa4775Ed1d0c831B006FD4061Edb1b30693a44c"
},
"tx-hash": "0x1234567890abcdef1234567890abcdef12345678",
"type": "token",
"processed-at": "2024-01-15T10:30:00Z",
"status": "confirmed",
"id": "660e8400-e29b-41d4-a716-446655440001",
"created-at": "2024-01-15T10:30:00Z",
"asset": "eth-base/usdc"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}Path Parameters
Sender confirmation applies to token deposits only
usdc, usdt ID of the quarantined deposit
Body
Response
Sender confirmation processed
Immediate outcome: 'released' when the quarantined deposits from this sender were confirmed and credited; 'pending-approval' when the confirmation awaits review
released, pending-approval "released"
Show child attributes
Show child attributes