Get transfer funding details
curl --request GET \
--url https://api.yara.cash/v1/transfers/{id}/funding \
--header 'X-Yara-API-Key: <api-key>'import requests
url = "https://api.yara.cash/v1/transfers/{id}/funding"
headers = {"X-Yara-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Yara-API-Key': '<api-key>'}};
fetch('https://api.yara.cash/v1/transfers/{id}/funding', 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/{id}/funding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.yara.cash/v1/transfers/{id}/funding"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Yara-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.yara.cash/v1/transfers/{id}/funding")
.header("X-Yara-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.yara.cash/v1/transfers/{id}/funding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Yara-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"funding": {
"expires_at": "2026-06-16T03:05:00Z",
"fee": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"method": "BANK_TRANSFER",
"rate": {
"base_currency": "USD",
"quote_currency": "NGN",
"value": "1600"
},
"required_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
}
},
"intent": {
"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"
},
"transfer_id": "76179a66-8695-47fd-bca4-310eaa816077",
"transfer_status": "AWAITING_MERCHANT_FUNDING"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}Transfers
Get transfer funding details
Returns the immutable funding economics and the transfer-specific bank or crypto instructions. A pending intent without instructions is still being provisioned and may be polled.
GET
/
v1
/
transfers
/
{id}
/
funding
Get transfer funding details
curl --request GET \
--url https://api.yara.cash/v1/transfers/{id}/funding \
--header 'X-Yara-API-Key: <api-key>'import requests
url = "https://api.yara.cash/v1/transfers/{id}/funding"
headers = {"X-Yara-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Yara-API-Key': '<api-key>'}};
fetch('https://api.yara.cash/v1/transfers/{id}/funding', 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/{id}/funding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.yara.cash/v1/transfers/{id}/funding"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Yara-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.yara.cash/v1/transfers/{id}/funding")
.header("X-Yara-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.yara.cash/v1/transfers/{id}/funding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Yara-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"funding": {
"expires_at": "2026-06-16T03:05:00Z",
"fee": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
},
"method": "BANK_TRANSFER",
"rate": {
"base_currency": "USD",
"quote_currency": "NGN",
"value": "1600"
},
"required_amount": {
"asset": "USDC",
"currency": "USD",
"network": "BASE",
"value": "100.00"
}
},
"intent": {
"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"
},
"transfer_id": "76179a66-8695-47fd-bca4-310eaa816077",
"transfer_status": "AWAITING_MERCHANT_FUNDING"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}⌘I