Fund a betting wallet 🔒
curl --request POST \
--url https://api.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund \
--header 'Content-Type: application/json' \
--header 'X-Numero-Api-Key: <api-key>' \
--header 'X-Numero-Signature: <api-key>' \
--data '
{
"reference": "<string>",
"type": "<string>",
"customerId": "<string>",
"amount": 123,
"name": "<string>",
"validationCode": "<string>",
"transactionPin": "<string>"
}
'import requests
url = "https://api.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund"
payload = {
"reference": "<string>",
"type": "<string>",
"customerId": "<string>",
"amount": 123,
"name": "<string>",
"validationCode": "<string>",
"transactionPin": "<string>"
}
headers = {
"X-Numero-Api-Key": "<api-key>",
"X-Numero-Signature": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Numero-Api-Key': '<api-key>',
'X-Numero-Signature': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
reference: '<string>',
type: '<string>',
customerId: '<string>',
amount: 123,
name: '<string>',
validationCode: '<string>',
transactionPin: '<string>'
})
};
fetch('https://api.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund', 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.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund",
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([
'reference' => '<string>',
'type' => '<string>',
'customerId' => '<string>',
'amount' => 123,
'name' => '<string>',
'validationCode' => '<string>',
'transactionPin' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Numero-Api-Key: <api-key>",
"X-Numero-Signature: <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.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund"
payload := strings.NewReader("{\n \"reference\": \"<string>\",\n \"type\": \"<string>\",\n \"customerId\": \"<string>\",\n \"amount\": 123,\n \"name\": \"<string>\",\n \"validationCode\": \"<string>\",\n \"transactionPin\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Numero-Api-Key", "<api-key>")
req.Header.Add("X-Numero-Signature", "<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.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund")
.header("X-Numero-Api-Key", "<api-key>")
.header("X-Numero-Signature", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"reference\": \"<string>\",\n \"type\": \"<string>\",\n \"customerId\": \"<string>\",\n \"amount\": 123,\n \"name\": \"<string>\",\n \"validationCode\": \"<string>\",\n \"transactionPin\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Numero-Api-Key"] = '<api-key>'
request["X-Numero-Signature"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reference\": \"<string>\",\n \"type\": \"<string>\",\n \"customerId\": \"<string>\",\n \"amount\": 123,\n \"name\": \"<string>\",\n \"validationCode\": \"<string>\",\n \"transactionPin\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"message": "Funding successful",
"reference": "BET-20240115-001",
"data": {
"customerId": "12345678",
"amount": 2000
}
},
"error": null,
"meta": {
"request_id": "req_365123ebc73323f1482508560ce6400e",
"pagination": null
}
}Betting
Fund a betting wallet 🔒
Deposit funds into a validated betting account.
POST
/
business
/
vas
/
betting
/
fund
Fund a betting wallet 🔒
curl --request POST \
--url https://api.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund \
--header 'Content-Type: application/json' \
--header 'X-Numero-Api-Key: <api-key>' \
--header 'X-Numero-Signature: <api-key>' \
--data '
{
"reference": "<string>",
"type": "<string>",
"customerId": "<string>",
"amount": 123,
"name": "<string>",
"validationCode": "<string>",
"transactionPin": "<string>"
}
'import requests
url = "https://api.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund"
payload = {
"reference": "<string>",
"type": "<string>",
"customerId": "<string>",
"amount": 123,
"name": "<string>",
"validationCode": "<string>",
"transactionPin": "<string>"
}
headers = {
"X-Numero-Api-Key": "<api-key>",
"X-Numero-Signature": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Numero-Api-Key': '<api-key>',
'X-Numero-Signature': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
reference: '<string>',
type: '<string>',
customerId: '<string>',
amount: 123,
name: '<string>',
validationCode: '<string>',
transactionPin: '<string>'
})
};
fetch('https://api.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund', 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.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund",
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([
'reference' => '<string>',
'type' => '<string>',
'customerId' => '<string>',
'amount' => 123,
'name' => '<string>',
'validationCode' => '<string>',
'transactionPin' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Numero-Api-Key: <api-key>",
"X-Numero-Signature: <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.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund"
payload := strings.NewReader("{\n \"reference\": \"<string>\",\n \"type\": \"<string>\",\n \"customerId\": \"<string>\",\n \"amount\": 123,\n \"name\": \"<string>\",\n \"validationCode\": \"<string>\",\n \"transactionPin\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Numero-Api-Key", "<api-key>")
req.Header.Add("X-Numero-Signature", "<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.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund")
.header("X-Numero-Api-Key", "<api-key>")
.header("X-Numero-Signature", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"reference\": \"<string>\",\n \"type\": \"<string>\",\n \"customerId\": \"<string>\",\n \"amount\": 123,\n \"name\": \"<string>\",\n \"validationCode\": \"<string>\",\n \"transactionPin\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usenumero.com/numeroaccount/api/v1/business/vas/betting/fund")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Numero-Api-Key"] = '<api-key>'
request["X-Numero-Signature"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reference\": \"<string>\",\n \"type\": \"<string>\",\n \"customerId\": \"<string>\",\n \"amount\": 123,\n \"name\": \"<string>\",\n \"validationCode\": \"<string>\",\n \"transactionPin\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"message": "Funding successful",
"reference": "BET-20240115-001",
"data": {
"customerId": "12345678",
"amount": 2000
}
},
"error": null,
"meta": {
"request_id": "req_365123ebc73323f1482508560ce6400e",
"pagination": null
}
}Authorizations
Your business API key (live_key_...). Issued on approval; managed in Dashboard → Settings → Developer.
Base64(HMAC-SHA256(publicApiKey, input)) over the raw request body (POST) or canonicalized
query string (signed GET). Also send X-Numero-Signature-Version: v2. Required on
money-movement / state-changing endpoints (marked 🔒).
The HMAC key is your Public Key as raw UTF-8 bytes — a SECRET despite the name, and a
different value from the X-Numero-Api-Key authentication header. Signing with the API key
will never produce a valid signature.
Body
application/json
⌘I