Card issuing
Issue virtual and disposable cards to your users, each backed by an isolated account so balances are never pooled. Cards are USD-denominated.
Scope required: psp:nuvion-merchant
Issue a card
curl -X POST https://engine.swahilies.net/api/psp/nuvion/cards \
-H "Authorization: Bearer swh_live_<prefix>_<secret>" \
-H "Content-Type: application/json" \
-d '{
"name": "Erick Justin",
"card_type": "virtual"
}'| Field | Type | Notes |
|---|---|---|
name | string | Cardholder label, shown in listings. |
card_type | string | virtual (reusable) or disposable (single-merchant). |
{
"card_id": "01M59EF0VT36XRRGHBWAZFE0ZR",
"name": "Erick Justin",
"card_type": "virtual",
"status": "active",
"last4": "3981",
"currency": "USD"
}Provision a user's card
To create a dedicated account for your user and issue their card in one call,
use provisioning. This keeps ownership explicit (Swahilies → your merchant → your user) and ring-fences the user's funds.
curl -X POST https://engine.swahilies.net/api/psp/nuvion/provision \
-H "Authorization: Bearer swh_live_<prefix>_<secret>" \
-H "Content-Type: application/json" \
-d '{
"user_ref": "erick",
"name": "Erick Justin",
"card_type": "virtual"
}'Manage a card
# Card details
curl .../api/psp/nuvion/cards/<card_id> -H "Authorization: Bearer <key>"
# Sensitive PAN/CVV (decrypted)
curl .../api/psp/nuvion/cards/<card_id>/details -H "Authorization: Bearer <key>"
# Transactions
curl .../api/psp/nuvion/cards/<card_id>/transactions -H "Authorization: Bearer <key>"
# Freeze / unfreeze
curl -X POST .../api/psp/nuvion/cards/<card_id>/freeze -H "Authorization: Bearer <key>"
curl -X POST .../api/psp/nuvion/cards/<card_id>/unfreeze -H "Authorization: Bearer <key>"
# Delete
curl -X DELETE .../api/psp/nuvion/cards/<card_id> -H "Authorization: Bearer <key>"Full card numbers are returned only from the /details endpoint and are
sensitive — never log or cache them client-side. Everywhere else you get the
last4 only.