Create an NGN withdrawal
curl --request POST \
--url https://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/withdrawals \
--header 'Content-Type: application/json' \
--header 'X-Key-Id: <api-key>' \
--data '
{
"recipient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "1000",
"currency": "NGN",
"client_reference": "<string>"
}
'import requests
url = "https://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/withdrawals"
payload = {
"recipient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "1000",
"currency": "NGN",
"client_reference": "<string>"
}
headers = {
"X-Key-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Key-Id': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
recipient_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
amount: '1000',
currency: 'NGN',
client_reference: '<string>'
})
};
fetch('https://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/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://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/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([
'recipient_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'amount' => '1000',
'currency' => 'NGN',
'client_reference' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Key-Id: <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://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/withdrawals"
payload := strings.NewReader("{\n \"recipient_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"amount\": \"1000\",\n \"currency\": \"NGN\",\n \"client_reference\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Key-Id", "<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://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/withdrawals")
.header("X-Key-Id", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"recipient_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"amount\": \"1000\",\n \"currency\": \"NGN\",\n \"client_reference\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/withdrawals")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Key-Id"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"recipient_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"amount\": \"1000\",\n \"currency\": \"NGN\",\n \"client_reference\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "<string>",
"currency": "<string>",
"status": "screening",
"fee_amount": "<string>",
"fee_currency": "<string>",
"net_amount": "<string>",
"client_reference": "<string>"
}{
"statusCode": 123,
"code": "<string>",
"message": "<unknown>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"code": "<string>",
"message": "<unknown>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}Withdrawals
Create withdrawal
Submit an NGN withdrawal to a registered recipient.
POST
/
v2
/
ramp
/
{storeId}
/
banking
/
withdrawals
Create an NGN withdrawal
curl --request POST \
--url https://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/withdrawals \
--header 'Content-Type: application/json' \
--header 'X-Key-Id: <api-key>' \
--data '
{
"recipient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "1000",
"currency": "NGN",
"client_reference": "<string>"
}
'import requests
url = "https://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/withdrawals"
payload = {
"recipient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "1000",
"currency": "NGN",
"client_reference": "<string>"
}
headers = {
"X-Key-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Key-Id': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
recipient_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
amount: '1000',
currency: 'NGN',
client_reference: '<string>'
})
};
fetch('https://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/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://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/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([
'recipient_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'amount' => '1000',
'currency' => 'NGN',
'client_reference' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Key-Id: <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://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/withdrawals"
payload := strings.NewReader("{\n \"recipient_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"amount\": \"1000\",\n \"currency\": \"NGN\",\n \"client_reference\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Key-Id", "<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://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/withdrawals")
.header("X-Key-Id", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"recipient_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"amount\": \"1000\",\n \"currency\": \"NGN\",\n \"client_reference\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.bullring.finance/v2/ramp/{storeId}/banking/withdrawals")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Key-Id"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"recipient_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"amount\": \"1000\",\n \"currency\": \"NGN\",\n \"client_reference\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "<string>",
"currency": "<string>",
"status": "screening",
"fee_amount": "<string>",
"fee_currency": "<string>",
"net_amount": "<string>",
"client_reference": "<string>"
}{
"statusCode": 123,
"code": "<string>",
"message": "<unknown>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"code": "<string>",
"message": "<unknown>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}Withdrawals may enter
screening before provider settlement.Authorizations
Headers
Body
application/json