Initiate a transfer
curl --request POST \
--url https://api.yara.cash/v1/transfers \
--header 'Content-Type: application/json' \
--header 'X-Idempotency-Key: <x-idempotency-key>' \
--header 'X-Yara-API-Key: <api-key>' \
--data '
{
"quote_id": "0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3",
"reference": "merchant-transfer-001"
}
'import requests
url = "https://api.yara.cash/v1/transfers"
payload = {
"quote_id": "0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3",
"reference": "merchant-transfer-001"
}
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"X-Yara-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Idempotency-Key': '<x-idempotency-key>',
'X-Yara-API-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
quote_id: '0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3',
reference: 'merchant-transfer-001'
})
};
fetch('https://api.yara.cash/v1/transfers', 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.yara.cash/v1/transfers",
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([
'quote_id' => '0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3',
'reference' => 'merchant-transfer-001'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Idempotency-Key: <x-idempotency-key>",
"X-Yara-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://api.yara.cash/v1/transfers"
payload := strings.NewReader("{\n \"quote_id\": \"0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3\",\n \"reference\": \"merchant-transfer-001\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Idempotency-Key", "<x-idempotency-key>")
req.Header.Add("X-Yara-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://api.yara.cash/v1/transfers")
.header("X-Idempotency-Key", "<x-idempotency-key>")
.header("X-Yara-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"quote_id\": \"0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3\",\n \"reference\": \"merchant-transfer-001\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.yara.cash/v1/transfers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Idempotency-Key"] = '<x-idempotency-key>'
request["X-Yara-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"quote_id\": \"0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3\",\n \"reference\": \"merchant-transfer-001\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"created_at": "2026-06-16T03:00:00Z",
"destination_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"destination_rail": "US_BANK_ACCOUNT",
"funding": {
"bank_transfer": {
"account_name": "Yara",
"account_number": "1234567890",
"bank_code": "035",
"bank_name": "Wema Bank",
"narration": "funding-76179a66869547fdbca4310eaa816077",
"reference": "funding-76179a66869547fdbca4310eaa816077"
},
"crypto_deposit": {
"address": "0x1234",
"asset": "USDC",
"memo": "<string>",
"network": "BASE",
"reference": "funding-76179a66869547fdbca4310eaa816077"
},
"expires_at": "<string>",
"flag": {
"code": "AMOUNT_MISMATCH",
"message": "Funding amount does not match the expected amount"
},
"id": "<string>",
"method": "BANK_TRANSFER",
"required_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"status": "PENDING"
},
"funding_method": "BALANCE",
"funding_receipts": [
{
"expected_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"fee_usd": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"flag": {
"code": "AMOUNT_MISMATCH",
"message": "Funding amount does not match the expected amount"
},
"gross_usd": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"id": "<string>",
"method": "CRYPTO_DEPOSIT",
"net_usd": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"provider_transaction_id": "<string>",
"received_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"received_at": "<string>",
"status": "CREDITED",
"variance_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
}
}
],
"id": "76179a66-8695-47fd-bca4-310eaa816077",
"quote_id": "0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3",
"recipient_id": "3bf24579-a35a-4ba9-a936-5df9c1d809f9",
"reference": "merchant-transfer-001",
"status": "RESERVED",
"total_debit": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"transfer_fee": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"updated_at": "2026-06-16T03:01:00Z"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}Transfers
Initiate a transfer
Creates a merchant-principal transfer from a valid quote. Balance-funded transfers reserve immediately; bank/crypto-funded transfers return intent-specific funding instructions and wait for an exact receipt. The request contract has no customer or on-behalf-of field.
POST
/
v1
/
transfers
Initiate a transfer
curl --request POST \
--url https://api.yara.cash/v1/transfers \
--header 'Content-Type: application/json' \
--header 'X-Idempotency-Key: <x-idempotency-key>' \
--header 'X-Yara-API-Key: <api-key>' \
--data '
{
"quote_id": "0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3",
"reference": "merchant-transfer-001"
}
'import requests
url = "https://api.yara.cash/v1/transfers"
payload = {
"quote_id": "0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3",
"reference": "merchant-transfer-001"
}
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"X-Yara-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Idempotency-Key': '<x-idempotency-key>',
'X-Yara-API-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
quote_id: '0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3',
reference: 'merchant-transfer-001'
})
};
fetch('https://api.yara.cash/v1/transfers', 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.yara.cash/v1/transfers",
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([
'quote_id' => '0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3',
'reference' => 'merchant-transfer-001'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Idempotency-Key: <x-idempotency-key>",
"X-Yara-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://api.yara.cash/v1/transfers"
payload := strings.NewReader("{\n \"quote_id\": \"0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3\",\n \"reference\": \"merchant-transfer-001\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Idempotency-Key", "<x-idempotency-key>")
req.Header.Add("X-Yara-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://api.yara.cash/v1/transfers")
.header("X-Idempotency-Key", "<x-idempotency-key>")
.header("X-Yara-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"quote_id\": \"0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3\",\n \"reference\": \"merchant-transfer-001\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.yara.cash/v1/transfers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Idempotency-Key"] = '<x-idempotency-key>'
request["X-Yara-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"quote_id\": \"0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3\",\n \"reference\": \"merchant-transfer-001\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"created_at": "2026-06-16T03:00:00Z",
"destination_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"destination_rail": "US_BANK_ACCOUNT",
"funding": {
"bank_transfer": {
"account_name": "Yara",
"account_number": "1234567890",
"bank_code": "035",
"bank_name": "Wema Bank",
"narration": "funding-76179a66869547fdbca4310eaa816077",
"reference": "funding-76179a66869547fdbca4310eaa816077"
},
"crypto_deposit": {
"address": "0x1234",
"asset": "USDC",
"memo": "<string>",
"network": "BASE",
"reference": "funding-76179a66869547fdbca4310eaa816077"
},
"expires_at": "<string>",
"flag": {
"code": "AMOUNT_MISMATCH",
"message": "Funding amount does not match the expected amount"
},
"id": "<string>",
"method": "BANK_TRANSFER",
"required_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"status": "PENDING"
},
"funding_method": "BALANCE",
"funding_receipts": [
{
"expected_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"fee_usd": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"flag": {
"code": "AMOUNT_MISMATCH",
"message": "Funding amount does not match the expected amount"
},
"gross_usd": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"id": "<string>",
"method": "CRYPTO_DEPOSIT",
"net_usd": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"provider_transaction_id": "<string>",
"received_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"received_at": "<string>",
"status": "CREDITED",
"variance_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
}
}
],
"id": "76179a66-8695-47fd-bca4-310eaa816077",
"quote_id": "0e0f7b9c-f47b-4f42-b56e-991b8f7a1cb3",
"recipient_id": "3bf24579-a35a-4ba9-a936-5df9c1d809f9",
"reference": "merchant-transfer-001",
"status": "RESERVED",
"total_debit": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"transfer_fee": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"updated_at": "2026-06-16T03:01:00Z"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}Authorizations
Public merchant API key. You can also send Authorization: ApiKey .
Headers
Idempotency key
Body
application/json
Transfer creation request
Response
Accepted
Show child attributes
Show child attributes
⌘I