Each card issued under a program inherits the rules, funding logic, and spending limits defined at the program level, creating operational consistency and significantly reducing manual overhead. Learn how to create card program via the Sudo Dashboard or API.

1. Using the API

This document defines the technical and operational specification for the Virtual AfriGo Credit Cards program. The program is designed to issue virtual credit cards under the AfriGo network, issued in Nigeria (NGA) and denominated in Naira (NGN). Optional spending controls are supported for enhanced security and card behavior customization. If not defined, a default control will be applied automatically.
curl --location --request POST 'https://api.sandbox.sudo.cards/card-programs' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ••••••••••••••••••••••••••••••••••••CREE1M0EwQjgyMjI0NUE3QUM=' \
--data-raw '{
"name": "Virtual AfriGo Credit Cards",
"reference": "250605-1051",
"description": "For Virtual AfriGo Credit Cards",
"status": "active",
"debitAccountId": "67974b365c184d20fc340889",
"fundingSourceId": "670cece725852ba485d745c7",
"issuerCountry": "NGA",
"currency": "NGN",
"cardBrand": "AfriGo",
"cardType": "virtual",
"spendingControls": {
  "channels": {
    "atm": true,
    "pos": true,
    "web": true,
    "mobile": true
  },
  "allowedCategories": [],
  "blockedCategories": [],
  "spendingLimits": [
    {
      "amount": 100000,
      "interval": "daily",
      "categories": []
    }
  ]
}
}'
A call to the card program’s endpoint returns information about the program that can be subsequently used to create a card.