Approve, reject or cancel a held business transfer
curl --request POST \
--url https://api.sandbox.busha.so/v1/transfers/{id}/approval \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"decision": "approve",
"reason": "Approved for the supplier payment",
"code": "492817"
}
'import requests
url = "https://api.sandbox.busha.so/v1/transfers/{id}/approval"
payload = {
"decision": "approve",
"reason": "Approved for the supplier payment",
"code": "492817"
}
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({
decision: 'approve',
reason: 'Approved for the supplier payment',
code: '492817'
})
};
fetch('https://api.sandbox.busha.so/v1/transfers/{id}/approval', 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.sandbox.busha.so/v1/transfers/{id}/approval",
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([
'decision' => 'approve',
'reason' => 'Approved for the supplier payment',
'code' => '492817'
]),
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.sandbox.busha.so/v1/transfers/{id}/approval"
payload := strings.NewReader("{\n \"decision\": \"approve\",\n \"reason\": \"Approved for the supplier payment\",\n \"code\": \"492817\"\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.sandbox.busha.so/v1/transfers/{id}/approval")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"decision\": \"approve\",\n \"reason\": \"Approved for the supplier payment\",\n \"code\": \"492817\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.busha.so/v1/transfers/{id}/approval")
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 \"decision\": \"approve\",\n \"reason\": \"Approved for the supplier payment\",\n \"code\": \"492817\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "message for success",
"data": {
"id": "bus_123456789",
"quote_id": "bus_123456789",
"description": "Bought Bitcoin",
"sub_description": "With Naira",
"source_currency": "BTC",
"target_currency": "BTC",
"source_amount": "100",
"target_amount": "100",
"profile_id": "bus_123456789",
"rate": {
"product": "BTCUSDT",
"rate_explained": "1 BTC = 1000 USDT",
"source_currency": "BTC",
"target_currency": "BTC",
"rate": "100",
"side": "sell",
"type": "FIXED",
"base_rate": "100",
"discount": {
"percentage": "0.10",
"saved": {
"amount": "100",
"currency": "BTC"
},
"tier": {
"from": "10000",
"currency": "BTC"
}
}
},
"fees": [
{
"name": "processing_fee",
"amount": {
"amount": "100",
"currency": "BTC"
},
"type": "FIXED",
"converted_amount": {
"amount": "100",
"currency": "BTC"
}
}
],
"status": "pending",
"created_at": "2023-10-15T12:15:30Z",
"updated_at": "2023-10-15T12:20:45Z",
"reference": "QUO_123456abc",
"stages": [
"deposit",
"conversion"
],
"category": "buy",
"trade": "buy",
"pay_in": {
"type": "address",
"recipient_id": "64f00000000000000000000a",
"address": "tb1qj4263506wyu8khrz2dwce0agk8lhyjgy269rxr",
"network": "BTC",
"memo": "address memo",
"narration": "Payment for services",
"payment_invoice_url": "https://cdn.busha.co/invoices/INV-2026-001.pdf",
"profile_id": "profile-id-1234",
"recipient_details": {
"account_name": "<string>",
"bank_name": "<string>",
"account_number": "<string>",
"country_code": "NG",
"provider": "<string>",
"iban": "NG12345678901234567890",
"currency": "<string>",
"phone_number": "<string>",
"name": "<string>",
"email": "recipient@example.com",
"bank_code": "100020"
},
"blockchain_hash": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"blockchain_url": "https://explorer.com/tx/31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"session_id": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"from_address": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"expires_at": "2023-10-15T12:15:30Z",
"payer_details": {
"account_name": "<string>",
"bank_name": "<string>",
"account_number": "<string>",
"country_code": "NG",
"provider": "<string>",
"iban": "NG12345678901234567890",
"currency": "<string>",
"phone_number": "<string>",
"name": "<string>",
"email": "recipient@example.com",
"bank_code": "100020"
}
},
"pay_out": {
"type": "address",
"recipient_id": "64f00000000000000000000a",
"address": "tb1qj4263506wyu8khrz2dwce0agk8lhyjgy269rxr",
"network": "BTC",
"memo": "address memo",
"narration": "Payment for services",
"payment_invoice_url": "https://cdn.busha.co/invoices/INV-2026-001.pdf",
"profile_id": "profile-id-1234",
"recipient_details": {
"account_name": "<string>",
"bank_name": "<string>",
"account_number": "<string>",
"country_code": "NG",
"provider": "<string>",
"iban": "NG12345678901234567890",
"currency": "<string>",
"phone_number": "<string>",
"name": "<string>",
"email": "recipient@example.com",
"bank_code": "100020"
},
"blockchain_hash": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"blockchain_url": "https://explorer.com/tx/31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"session_id": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"from_address": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"expires_at": "2023-10-15T12:15:30Z"
},
"timeline": {
"total_steps": 123,
"current_step": 123,
"transfer_status": "<string>",
"events": [
{
"step": 1,
"done": true,
"status": "pending",
"title": "Transfer started",
"description": "Transfer started",
"timestamp": "2023-10-15T12:15:30Z"
}
]
},
"expires_at": "2023-12-01T15:04:05Z",
"liveness": {
"required": true
},
"notice": {
"type": "liveness_expired",
"stage": "approval",
"text": "The selfie wasn't taken in time. Transfer cancelled."
},
"owner_approval": {
"required": true,
"status": "pending",
"requested_by": "6f1c2a8e-4c1b-4f0a-9d3e-2b7a1c9e0f11",
"requested_by_name": "Ada Palm",
"via_api": false,
"expires_at": "2026-11-20T17:30:00Z",
"decided_by": "0b6a2f1e-7c3d-4e5f-8a9b-1c2d3e4f5a6b",
"decided_by_name": "Kemi Palm",
"decided_at": "2026-11-20T12:05:00Z",
"reason": "Wrong supplier account",
"policy": {
"policy_type": "threshold",
"amount": "1000",
"currency": "USD"
}
},
"initiated_by": {
"type": "member",
"user_id": "6f1c2a8e-4c1b-4f0a-9d3e-2b7a1c9e0f11",
"name": "Ada Palm",
"api_key_id": "0b6a2f1e-7c3d-4e5f-8a9b-1c2d3e4f5a6b",
"api_key_label": "Payouts server"
}
}
}Transfers
Approve, reject or cancel a held business transfer
An approver decides a transfer held for approval. Approving requires the approver’s authenticator code in
code; a wrong or missing code answers invalid_auth_code and leaves the transfer pending. Rejecting moves
no money, so it needs no code. An approved transfer converts at the market price when it runs. Nobody may
decide a transfer they started (403), and an API key may not decide one (403); the policy’s approver roles,
not a scope, decide who may. The member who started it may cancel it before a decision. The
window is 24 hours, or until the pay-in closes for a transfer paid by deposit: a decision after it answers
409 resource_state_conflict, and the transfer is cancelled.
POST
/
v1
/
transfers
/
{id}
/
approval
Approve, reject or cancel a held business transfer
curl --request POST \
--url https://api.sandbox.busha.so/v1/transfers/{id}/approval \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"decision": "approve",
"reason": "Approved for the supplier payment",
"code": "492817"
}
'import requests
url = "https://api.sandbox.busha.so/v1/transfers/{id}/approval"
payload = {
"decision": "approve",
"reason": "Approved for the supplier payment",
"code": "492817"
}
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({
decision: 'approve',
reason: 'Approved for the supplier payment',
code: '492817'
})
};
fetch('https://api.sandbox.busha.so/v1/transfers/{id}/approval', 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.sandbox.busha.so/v1/transfers/{id}/approval",
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([
'decision' => 'approve',
'reason' => 'Approved for the supplier payment',
'code' => '492817'
]),
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.sandbox.busha.so/v1/transfers/{id}/approval"
payload := strings.NewReader("{\n \"decision\": \"approve\",\n \"reason\": \"Approved for the supplier payment\",\n \"code\": \"492817\"\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.sandbox.busha.so/v1/transfers/{id}/approval")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"decision\": \"approve\",\n \"reason\": \"Approved for the supplier payment\",\n \"code\": \"492817\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.busha.so/v1/transfers/{id}/approval")
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 \"decision\": \"approve\",\n \"reason\": \"Approved for the supplier payment\",\n \"code\": \"492817\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "message for success",
"data": {
"id": "bus_123456789",
"quote_id": "bus_123456789",
"description": "Bought Bitcoin",
"sub_description": "With Naira",
"source_currency": "BTC",
"target_currency": "BTC",
"source_amount": "100",
"target_amount": "100",
"profile_id": "bus_123456789",
"rate": {
"product": "BTCUSDT",
"rate_explained": "1 BTC = 1000 USDT",
"source_currency": "BTC",
"target_currency": "BTC",
"rate": "100",
"side": "sell",
"type": "FIXED",
"base_rate": "100",
"discount": {
"percentage": "0.10",
"saved": {
"amount": "100",
"currency": "BTC"
},
"tier": {
"from": "10000",
"currency": "BTC"
}
}
},
"fees": [
{
"name": "processing_fee",
"amount": {
"amount": "100",
"currency": "BTC"
},
"type": "FIXED",
"converted_amount": {
"amount": "100",
"currency": "BTC"
}
}
],
"status": "pending",
"created_at": "2023-10-15T12:15:30Z",
"updated_at": "2023-10-15T12:20:45Z",
"reference": "QUO_123456abc",
"stages": [
"deposit",
"conversion"
],
"category": "buy",
"trade": "buy",
"pay_in": {
"type": "address",
"recipient_id": "64f00000000000000000000a",
"address": "tb1qj4263506wyu8khrz2dwce0agk8lhyjgy269rxr",
"network": "BTC",
"memo": "address memo",
"narration": "Payment for services",
"payment_invoice_url": "https://cdn.busha.co/invoices/INV-2026-001.pdf",
"profile_id": "profile-id-1234",
"recipient_details": {
"account_name": "<string>",
"bank_name": "<string>",
"account_number": "<string>",
"country_code": "NG",
"provider": "<string>",
"iban": "NG12345678901234567890",
"currency": "<string>",
"phone_number": "<string>",
"name": "<string>",
"email": "recipient@example.com",
"bank_code": "100020"
},
"blockchain_hash": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"blockchain_url": "https://explorer.com/tx/31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"session_id": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"from_address": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"expires_at": "2023-10-15T12:15:30Z",
"payer_details": {
"account_name": "<string>",
"bank_name": "<string>",
"account_number": "<string>",
"country_code": "NG",
"provider": "<string>",
"iban": "NG12345678901234567890",
"currency": "<string>",
"phone_number": "<string>",
"name": "<string>",
"email": "recipient@example.com",
"bank_code": "100020"
}
},
"pay_out": {
"type": "address",
"recipient_id": "64f00000000000000000000a",
"address": "tb1qj4263506wyu8khrz2dwce0agk8lhyjgy269rxr",
"network": "BTC",
"memo": "address memo",
"narration": "Payment for services",
"payment_invoice_url": "https://cdn.busha.co/invoices/INV-2026-001.pdf",
"profile_id": "profile-id-1234",
"recipient_details": {
"account_name": "<string>",
"bank_name": "<string>",
"account_number": "<string>",
"country_code": "NG",
"provider": "<string>",
"iban": "NG12345678901234567890",
"currency": "<string>",
"phone_number": "<string>",
"name": "<string>",
"email": "recipient@example.com",
"bank_code": "100020"
},
"blockchain_hash": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"blockchain_url": "https://explorer.com/tx/31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"session_id": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"from_address": "31b99c79e2fb7554d0a9421867a53a80e6810cdfd2b06826eec1b2a22974b171",
"expires_at": "2023-10-15T12:15:30Z"
},
"timeline": {
"total_steps": 123,
"current_step": 123,
"transfer_status": "<string>",
"events": [
{
"step": 1,
"done": true,
"status": "pending",
"title": "Transfer started",
"description": "Transfer started",
"timestamp": "2023-10-15T12:15:30Z"
}
]
},
"expires_at": "2023-12-01T15:04:05Z",
"liveness": {
"required": true
},
"notice": {
"type": "liveness_expired",
"stage": "approval",
"text": "The selfie wasn't taken in time. Transfer cancelled."
},
"owner_approval": {
"required": true,
"status": "pending",
"requested_by": "6f1c2a8e-4c1b-4f0a-9d3e-2b7a1c9e0f11",
"requested_by_name": "Ada Palm",
"via_api": false,
"expires_at": "2026-11-20T17:30:00Z",
"decided_by": "0b6a2f1e-7c3d-4e5f-8a9b-1c2d3e4f5a6b",
"decided_by_name": "Kemi Palm",
"decided_at": "2026-11-20T12:05:00Z",
"reason": "Wrong supplier account",
"policy": {
"policy_type": "threshold",
"amount": "1000",
"currency": "USD"
}
},
"initiated_by": {
"type": "member",
"user_id": "6f1c2a8e-4c1b-4f0a-9d3e-2b7a1c9e0f11",
"name": "Ada Palm",
"api_key_id": "0b6a2f1e-7c3d-4e5f-8a9b-1c2d3e4f5a6b",
"api_key_label": "Payouts server"
}
}
}Body
application/json