Fund Card
curl --request POST \
--url https://api.usezentra.com/api/v1/cards/{card_id}/fund \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.usezentra.com/api/v1/cards/{card_id}/fund"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.usezentra.com/api/v1/cards/{card_id}/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.usezentra.com/api/v1/cards/{card_id}/fund",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.usezentra.com/api/v1/cards/{card_id}/fund"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.usezentra.com/api/v1/cards/{card_id}/fund")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usezentra.com/api/v1/cards/{card_id}/fund")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyFund Card
POST /api/v1/cards//fund - Add balance to a card
POST
/
api
/
v1
/
cards
/
{card_id}
/
fund
Fund Card
curl --request POST \
--url https://api.usezentra.com/api/v1/cards/{card_id}/fund \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.usezentra.com/api/v1/cards/{card_id}/fund"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.usezentra.com/api/v1/cards/{card_id}/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.usezentra.com/api/v1/cards/{card_id}/fund",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.usezentra.com/api/v1/cards/{card_id}/fund"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.usezentra.com/api/v1/cards/{card_id}/fund")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usezentra.com/api/v1/cards/{card_id}/fund")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyAdd funds to an issued card.
Endpoint
POST /api/v1/cards/{card_id}/fund
Path Parameters
string
required
The card identifier returned during card creation or listing.
Request Body
The reviewed public contract accepts a flexible JSON payload here. In practice, a safe funding request should include:amount_minorcurrencytransaction_referenceidempotency_key
reference may still be accepted by some downstream services, but new integrations should prefer transaction_reference.
Example Request
curl -X POST https://api.usezentra.com/api/v1/cards/card_123/fund \
-H "Authorization: Bearer YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount_minor": 500000,
"currency": "NGN",
"transaction_reference": "card_fund_card_123_001",
"idempotency_key": "card_fund_card_123_001"
}'
Response Notes
- The reviewed public OpenAPI models this as an accepted async-style operation.
- Use stable business references and idempotency keys for retries and reconciliation.
Next Steps
Card Balance
Check the current funded balance
Funding History
Review historical funding events
Was this page helpful?