Create Card Program
curl --request POST \
--url https://api.sandbox.sudo.cards/card-programs \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Virtual Verve Debit Cards",
"description": "For Virtual Verve Debit Cards",
"status": "active",
"debitAccountId": "67974b365c184d20fc340889",
"fundingSourceId": "670cece725852ba485d745c7",
"issuerCountry": "NGA",
"currency": "NGN",
"cardBrand": "Verve",
"cardType": "virtual",
"spendingControls": {
"channels": {
"atm": true,
"pos": true,
"web": true,
"mobile": true
},
"allowedCategories": [],
"blockedCategories": [],
"spendingLimits": [
{
"amount": 1500000,
"interval": "daily",
"categories": []
}
]
}
}
'import requests
url = "https://api.sandbox.sudo.cards/card-programs"
payload = {
"name": "Virtual Verve Debit Cards",
"description": "For Virtual Verve Debit Cards",
"status": "active",
"debitAccountId": "67974b365c184d20fc340889",
"fundingSourceId": "670cece725852ba485d745c7",
"issuerCountry": "NGA",
"currency": "NGN",
"cardBrand": "Verve",
"cardType": "virtual",
"spendingControls": {
"channels": {
"atm": True,
"pos": True,
"web": True,
"mobile": True
},
"allowedCategories": [],
"blockedCategories": [],
"spendingLimits": [
{
"amount": 1500000,
"interval": "daily",
"categories": []
}
]
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Virtual Verve Debit Cards',
description: 'For Virtual Verve Debit Cards',
status: 'active',
debitAccountId: '67974b365c184d20fc340889',
fundingSourceId: '670cece725852ba485d745c7',
issuerCountry: 'NGA',
currency: 'NGN',
cardBrand: 'Verve',
cardType: 'virtual',
spendingControls: {
channels: {atm: true, pos: true, web: true, mobile: true},
allowedCategories: [],
blockedCategories: [],
spendingLimits: [{amount: 1500000, interval: 'daily', categories: []}]
}
})
};
fetch('https://api.sandbox.sudo.cards/card-programs', 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.sudo.cards/card-programs",
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([
'name' => 'Virtual Verve Debit Cards',
'description' => 'For Virtual Verve Debit Cards',
'status' => 'active',
'debitAccountId' => '67974b365c184d20fc340889',
'fundingSourceId' => '670cece725852ba485d745c7',
'issuerCountry' => 'NGA',
'currency' => 'NGN',
'cardBrand' => 'Verve',
'cardType' => 'virtual',
'spendingControls' => [
'channels' => [
'atm' => true,
'pos' => true,
'web' => true,
'mobile' => true
],
'allowedCategories' => [
],
'blockedCategories' => [
],
'spendingLimits' => [
[
'amount' => 1500000,
'interval' => 'daily',
'categories' => [
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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.sudo.cards/card-programs"
payload := strings.NewReader("{\n \"name\": \"Virtual Verve Debit Cards\",\n \"description\": \"For Virtual Verve Debit Cards\",\n \"status\": \"active\",\n \"debitAccountId\": \"67974b365c184d20fc340889\",\n \"fundingSourceId\": \"670cece725852ba485d745c7\",\n \"issuerCountry\": \"NGA\",\n \"currency\": \"NGN\",\n \"cardBrand\": \"Verve\",\n \"cardType\": \"virtual\",\n \"spendingControls\": {\n \"channels\": {\n \"atm\": true,\n \"pos\": true,\n \"web\": true,\n \"mobile\": true\n },\n \"allowedCategories\": [],\n \"blockedCategories\": [],\n \"spendingLimits\": [\n {\n \"amount\": 1500000,\n \"interval\": \"daily\",\n \"categories\": []\n }\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<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.sandbox.sudo.cards/card-programs")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Virtual Verve Debit Cards\",\n \"description\": \"For Virtual Verve Debit Cards\",\n \"status\": \"active\",\n \"debitAccountId\": \"67974b365c184d20fc340889\",\n \"fundingSourceId\": \"670cece725852ba485d745c7\",\n \"issuerCountry\": \"NGA\",\n \"currency\": \"NGN\",\n \"cardBrand\": \"Verve\",\n \"cardType\": \"virtual\",\n \"spendingControls\": {\n \"channels\": {\n \"atm\": true,\n \"pos\": true,\n \"web\": true,\n \"mobile\": true\n },\n \"allowedCategories\": [],\n \"blockedCategories\": [],\n \"spendingLimits\": [\n {\n \"amount\": 1500000,\n \"interval\": \"daily\",\n \"categories\": []\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.sudo.cards/card-programs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Virtual Verve Debit Cards\",\n \"description\": \"For Virtual Verve Debit Cards\",\n \"status\": \"active\",\n \"debitAccountId\": \"67974b365c184d20fc340889\",\n \"fundingSourceId\": \"670cece725852ba485d745c7\",\n \"issuerCountry\": \"NGA\",\n \"currency\": \"NGN\",\n \"cardBrand\": \"Verve\",\n \"cardType\": \"virtual\",\n \"spendingControls\": {\n \"channels\": {\n \"atm\": true,\n \"pos\": true,\n \"web\": true,\n \"mobile\": true\n },\n \"allowedCategories\": [],\n \"blockedCategories\": [],\n \"spendingLimits\": [\n {\n \"amount\": 1500000,\n \"interval\": \"daily\",\n \"categories\": []\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"message": "Card program created successfully.",
"data": {
"name": "Physical Verve Prepaid Cards",
"description": "For Physical Verve Prepaid Cards",
"reference": "250604-2156",
"status": "active",
"business": "670cec9d25852ba485d74273",
"debitAccount": "67974b365c184d20fc340889",
"fundingSource": "670cec9d25852ba485d74286",
"currency": "NGN",
"design": null,
"cardBrand": "Verve",
"cardType": "physical",
"spendingControls": {
"channels": {
"atm": true,
"pos": true,
"web": true,
"mobile": true
},
"allowedCategories": [],
"blockedCategories": [],
"spendingLimits": [
{
"amount": 1500000,
"interval": "daily",
"categories": []
}
]
},
"isDeleted": false,
"createdAt": "2025-06-04T21:05:26.115Z",
"updatedAt": null,
"deletedAt": null,
"_id": "6840b5161443c90831ba07a5",
"__v": 0
}
}{
"statusCode": 401,
"message": "Unauthorized. Provide a valid API key in the Authorization header.",
"data": null
}Card Programs
Create Card Program
POST
/
card-programs
Create Card Program
curl --request POST \
--url https://api.sandbox.sudo.cards/card-programs \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Virtual Verve Debit Cards",
"description": "For Virtual Verve Debit Cards",
"status": "active",
"debitAccountId": "67974b365c184d20fc340889",
"fundingSourceId": "670cece725852ba485d745c7",
"issuerCountry": "NGA",
"currency": "NGN",
"cardBrand": "Verve",
"cardType": "virtual",
"spendingControls": {
"channels": {
"atm": true,
"pos": true,
"web": true,
"mobile": true
},
"allowedCategories": [],
"blockedCategories": [],
"spendingLimits": [
{
"amount": 1500000,
"interval": "daily",
"categories": []
}
]
}
}
'import requests
url = "https://api.sandbox.sudo.cards/card-programs"
payload = {
"name": "Virtual Verve Debit Cards",
"description": "For Virtual Verve Debit Cards",
"status": "active",
"debitAccountId": "67974b365c184d20fc340889",
"fundingSourceId": "670cece725852ba485d745c7",
"issuerCountry": "NGA",
"currency": "NGN",
"cardBrand": "Verve",
"cardType": "virtual",
"spendingControls": {
"channels": {
"atm": True,
"pos": True,
"web": True,
"mobile": True
},
"allowedCategories": [],
"blockedCategories": [],
"spendingLimits": [
{
"amount": 1500000,
"interval": "daily",
"categories": []
}
]
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Virtual Verve Debit Cards',
description: 'For Virtual Verve Debit Cards',
status: 'active',
debitAccountId: '67974b365c184d20fc340889',
fundingSourceId: '670cece725852ba485d745c7',
issuerCountry: 'NGA',
currency: 'NGN',
cardBrand: 'Verve',
cardType: 'virtual',
spendingControls: {
channels: {atm: true, pos: true, web: true, mobile: true},
allowedCategories: [],
blockedCategories: [],
spendingLimits: [{amount: 1500000, interval: 'daily', categories: []}]
}
})
};
fetch('https://api.sandbox.sudo.cards/card-programs', 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.sudo.cards/card-programs",
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([
'name' => 'Virtual Verve Debit Cards',
'description' => 'For Virtual Verve Debit Cards',
'status' => 'active',
'debitAccountId' => '67974b365c184d20fc340889',
'fundingSourceId' => '670cece725852ba485d745c7',
'issuerCountry' => 'NGA',
'currency' => 'NGN',
'cardBrand' => 'Verve',
'cardType' => 'virtual',
'spendingControls' => [
'channels' => [
'atm' => true,
'pos' => true,
'web' => true,
'mobile' => true
],
'allowedCategories' => [
],
'blockedCategories' => [
],
'spendingLimits' => [
[
'amount' => 1500000,
'interval' => 'daily',
'categories' => [
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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.sudo.cards/card-programs"
payload := strings.NewReader("{\n \"name\": \"Virtual Verve Debit Cards\",\n \"description\": \"For Virtual Verve Debit Cards\",\n \"status\": \"active\",\n \"debitAccountId\": \"67974b365c184d20fc340889\",\n \"fundingSourceId\": \"670cece725852ba485d745c7\",\n \"issuerCountry\": \"NGA\",\n \"currency\": \"NGN\",\n \"cardBrand\": \"Verve\",\n \"cardType\": \"virtual\",\n \"spendingControls\": {\n \"channels\": {\n \"atm\": true,\n \"pos\": true,\n \"web\": true,\n \"mobile\": true\n },\n \"allowedCategories\": [],\n \"blockedCategories\": [],\n \"spendingLimits\": [\n {\n \"amount\": 1500000,\n \"interval\": \"daily\",\n \"categories\": []\n }\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<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.sandbox.sudo.cards/card-programs")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Virtual Verve Debit Cards\",\n \"description\": \"For Virtual Verve Debit Cards\",\n \"status\": \"active\",\n \"debitAccountId\": \"67974b365c184d20fc340889\",\n \"fundingSourceId\": \"670cece725852ba485d745c7\",\n \"issuerCountry\": \"NGA\",\n \"currency\": \"NGN\",\n \"cardBrand\": \"Verve\",\n \"cardType\": \"virtual\",\n \"spendingControls\": {\n \"channels\": {\n \"atm\": true,\n \"pos\": true,\n \"web\": true,\n \"mobile\": true\n },\n \"allowedCategories\": [],\n \"blockedCategories\": [],\n \"spendingLimits\": [\n {\n \"amount\": 1500000,\n \"interval\": \"daily\",\n \"categories\": []\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.sudo.cards/card-programs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Virtual Verve Debit Cards\",\n \"description\": \"For Virtual Verve Debit Cards\",\n \"status\": \"active\",\n \"debitAccountId\": \"67974b365c184d20fc340889\",\n \"fundingSourceId\": \"670cece725852ba485d745c7\",\n \"issuerCountry\": \"NGA\",\n \"currency\": \"NGN\",\n \"cardBrand\": \"Verve\",\n \"cardType\": \"virtual\",\n \"spendingControls\": {\n \"channels\": {\n \"atm\": true,\n \"pos\": true,\n \"web\": true,\n \"mobile\": true\n },\n \"allowedCategories\": [],\n \"blockedCategories\": [],\n \"spendingLimits\": [\n {\n \"amount\": 1500000,\n \"interval\": \"daily\",\n \"categories\": []\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"message": "Card program created successfully.",
"data": {
"name": "Physical Verve Prepaid Cards",
"description": "For Physical Verve Prepaid Cards",
"reference": "250604-2156",
"status": "active",
"business": "670cec9d25852ba485d74273",
"debitAccount": "67974b365c184d20fc340889",
"fundingSource": "670cec9d25852ba485d74286",
"currency": "NGN",
"design": null,
"cardBrand": "Verve",
"cardType": "physical",
"spendingControls": {
"channels": {
"atm": true,
"pos": true,
"web": true,
"mobile": true
},
"allowedCategories": [],
"blockedCategories": [],
"spendingLimits": [
{
"amount": 1500000,
"interval": "daily",
"categories": []
}
]
},
"isDeleted": false,
"createdAt": "2025-06-04T21:05:26.115Z",
"updatedAt": null,
"deletedAt": null,
"_id": "6840b5161443c90831ba07a5",
"__v": 0
}
}{
"statusCode": 401,
"message": "Unauthorized. Provide a valid API key in the Authorization header.",
"data": null
}Authorizations
Body
application/json
⌘I
