Withdraw funds
curl --request POST \
--url https://api.circle.com/v1/match/withdrawals \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotencyKey": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"amount": {
"amount": "1000.00",
"currency": "USD"
},
"fiatAccountId": "550e8400-e29b-41d4-a716-446655440001"
}
'import requests
url = "https://api.circle.com/v1/match/withdrawals"
payload = {
"idempotencyKey": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"amount": {
"amount": "1000.00",
"currency": "USD"
},
"fiatAccountId": "550e8400-e29b-41d4-a716-446655440001"
}
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({
idempotencyKey: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
amount: {amount: '1000.00', currency: 'USD'},
fiatAccountId: '550e8400-e29b-41d4-a716-446655440001'
})
};
fetch('https://api.circle.com/v1/match/withdrawals', 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.circle.com/v1/match/withdrawals",
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([
'idempotencyKey' => '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
'amount' => [
'amount' => '1000.00',
'currency' => 'USD'
],
'fiatAccountId' => '550e8400-e29b-41d4-a716-446655440001'
]),
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.circle.com/v1/match/withdrawals"
payload := strings.NewReader("{\n \"idempotencyKey\": \"9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d\",\n \"amount\": {\n \"amount\": \"1000.00\",\n \"currency\": \"USD\"\n },\n \"fiatAccountId\": \"550e8400-e29b-41d4-a716-446655440001\"\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.circle.com/v1/match/withdrawals")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"idempotencyKey\": \"9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d\",\n \"amount\": {\n \"amount\": \"1000.00\",\n \"currency\": \"USD\"\n },\n \"fiatAccountId\": \"550e8400-e29b-41d4-a716-446655440001\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.circle.com/v1/match/withdrawals")
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 \"idempotencyKey\": \"9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d\",\n \"amount\": {\n \"amount\": \"1000.00\",\n \"currency\": \"USD\"\n },\n \"fiatAccountId\": \"550e8400-e29b-41d4-a716-446655440001\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "7a2b3c4d-5e6f-7890-abcd-ef1234567890",
"status": "pending"
}
}{
"code": 137001,
"message": "Insufficient available balance"
}{
"code": 137001,
"message": "Insufficient available balance"
}{
"code": 138003,
"message": "No Circle Match wallet found"
}Withdraw funds
Converts your Circle-Match-only USDC balance to USD and wires it to the specified fiat account. This exit path is for mint-side participants only; burn-side USDC releases automatically when orders fill or are cancelled. No Circle Mint burn fee applies.
POST
/
v1
/
match
/
withdrawals
Withdraw funds
curl --request POST \
--url https://api.circle.com/v1/match/withdrawals \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotencyKey": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"amount": {
"amount": "1000.00",
"currency": "USD"
},
"fiatAccountId": "550e8400-e29b-41d4-a716-446655440001"
}
'import requests
url = "https://api.circle.com/v1/match/withdrawals"
payload = {
"idempotencyKey": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"amount": {
"amount": "1000.00",
"currency": "USD"
},
"fiatAccountId": "550e8400-e29b-41d4-a716-446655440001"
}
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({
idempotencyKey: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
amount: {amount: '1000.00', currency: 'USD'},
fiatAccountId: '550e8400-e29b-41d4-a716-446655440001'
})
};
fetch('https://api.circle.com/v1/match/withdrawals', 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.circle.com/v1/match/withdrawals",
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([
'idempotencyKey' => '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
'amount' => [
'amount' => '1000.00',
'currency' => 'USD'
],
'fiatAccountId' => '550e8400-e29b-41d4-a716-446655440001'
]),
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.circle.com/v1/match/withdrawals"
payload := strings.NewReader("{\n \"idempotencyKey\": \"9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d\",\n \"amount\": {\n \"amount\": \"1000.00\",\n \"currency\": \"USD\"\n },\n \"fiatAccountId\": \"550e8400-e29b-41d4-a716-446655440001\"\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.circle.com/v1/match/withdrawals")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"idempotencyKey\": \"9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d\",\n \"amount\": {\n \"amount\": \"1000.00\",\n \"currency\": \"USD\"\n },\n \"fiatAccountId\": \"550e8400-e29b-41d4-a716-446655440001\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.circle.com/v1/match/withdrawals")
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 \"idempotencyKey\": \"9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d\",\n \"amount\": {\n \"amount\": \"1000.00\",\n \"currency\": \"USD\"\n },\n \"fiatAccountId\": \"550e8400-e29b-41d4-a716-446655440001\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "7a2b3c4d-5e6f-7890-abcd-ef1234567890",
"status": "pending"
}
}{
"code": 137001,
"message": "Insufficient available balance"
}{
"code": 137001,
"message": "Insufficient available balance"
}{
"code": 138003,
"message": "No Circle Match wallet found"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Unique UUID v4 per withdrawal request
Example:
"9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"
Amount to withdraw. Must be positive with currency USD.
Show child attributes
Show child attributes
Fiat account that receives the USD wire
Example:
"550e8400-e29b-41d4-a716-446655440001"
Response
Withdrawal submitted
Show child attributes
Show child attributes
Was this page helpful?