Simulate a deposit
curl --request POST \
--url https://api.fastcac.com/v1/test_helpers/deposits \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "350000.00"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({amount: '350000.00'})
};
fetch('https://api.fastcac.com/v1/test_helpers/deposits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fastcac.com/v1/test_helpers/deposits"
payload = { "amount": "350000.00" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fastcac.com/v1/test_helpers/deposits"
payload := strings.NewReader("{\n \"amount\": \"350000.00\"\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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fastcac.com/v1/test_helpers/deposits",
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([
'amount' => '350000.00'
]),
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;
}{
"object": "wallet_transaction",
"id": "wtx_7cPW9q8slkcCOA6jSYlINy",
"type": "deposit",
"amount": "350000.00",
"balance_after": "1245000.00",
"currency": "NGN",
"registration_id": null,
"sender_name": "TEST DEPOSIT",
"sender_bank": null,
"description": "Simulated bank transfer (test mode).",
"created_at": "2026-10-25T05:53:50Z"
}{
"error": {
"type": "invalid_request_error",
"code": "parameter_invalid",
"message": "amount must be more than 0 and at most 10,000,000.",
"param": "amount",
"request_id": "req_rXcvnjQYa2QDErQ1au3a7bSp"
}
}{
"error": {
"type": "authentication_error",
"code": "api_key_missing",
"message": "Send your API key as `Authorization: Bearer <key>`.",
"param": null,
"request_id": "req_YJt2gM0BsAkpffXMBqyXSlRl"
}
}{
"error": {
"type": "permission_error",
"code": "test_mode_only",
"message": "Deposits can only be simulated with a test key.",
"param": null,
"request_id": "req_24MFSvmC9xpsqmAuJ2W61Z9b"
}
}{
"error": {
"type": "not_found_error",
"code": "resource_missing",
"message": "No such registration: reg_0000000000000000000000.",
"param": "id",
"request_id": "req_gbQw9iB4MBVzQzZgN79RVjdz"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}Test helpers
Simulate a deposit
Test keys only: as if a bank transfer reached your funding account. Credits the test wallet and sends balance.funded.
POST
/
test_helpers
/
deposits
Simulate a deposit
curl --request POST \
--url https://api.fastcac.com/v1/test_helpers/deposits \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "350000.00"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({amount: '350000.00'})
};
fetch('https://api.fastcac.com/v1/test_helpers/deposits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fastcac.com/v1/test_helpers/deposits"
payload = { "amount": "350000.00" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fastcac.com/v1/test_helpers/deposits"
payload := strings.NewReader("{\n \"amount\": \"350000.00\"\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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fastcac.com/v1/test_helpers/deposits",
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([
'amount' => '350000.00'
]),
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;
}{
"object": "wallet_transaction",
"id": "wtx_7cPW9q8slkcCOA6jSYlINy",
"type": "deposit",
"amount": "350000.00",
"balance_after": "1245000.00",
"currency": "NGN",
"registration_id": null,
"sender_name": "TEST DEPOSIT",
"sender_bank": null,
"description": "Simulated bank transfer (test mode).",
"created_at": "2026-10-25T05:53:50Z"
}{
"error": {
"type": "invalid_request_error",
"code": "parameter_invalid",
"message": "amount must be more than 0 and at most 10,000,000.",
"param": "amount",
"request_id": "req_rXcvnjQYa2QDErQ1au3a7bSp"
}
}{
"error": {
"type": "authentication_error",
"code": "api_key_missing",
"message": "Send your API key as `Authorization: Bearer <key>`.",
"param": null,
"request_id": "req_YJt2gM0BsAkpffXMBqyXSlRl"
}
}{
"error": {
"type": "permission_error",
"code": "test_mode_only",
"message": "Deposits can only be simulated with a test key.",
"param": null,
"request_id": "req_24MFSvmC9xpsqmAuJ2W61Z9b"
}
}{
"error": {
"type": "not_found_error",
"code": "resource_missing",
"message": "No such registration: reg_0000000000000000000000.",
"param": "id",
"request_id": "req_gbQw9iB4MBVzQzZgN79RVjdz"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}Authorizations
Your secret API key: fc_test_… in test mode, fc_live_… in live mode.
Body
application/json
Naira, as a decimal string, e.g. "350000.00". Test money; at most 10,000,000.
Response
Successful Response
wtx_…
Available options:
deposit, deposit_held, deposit_released, registration_charge, adjustment, test_credit Signed, in naira: positive in, negative out.
The spendable balance after it, in naira.
reg_… for a registration_charge.
Who sent a deposit, as their bank reports it.
Allowed value:
"wallet_transaction"Allowed value:
"NGN"