Skip to main content
POST
/
cards
Create Virtual Card
curl --request POST \
  --url https://sandbox.sturdytechnologies.com/v3/cards \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": {
    "city": "City",
    "country": "Country",
    "street": "123 Main St"
  },
  "card_balance": 10,
  "card_brand": "Visa",
  "card_type": "Lite",
  "currency": "USD",
  "user_id": "12345"
}
'
{
  "data": {
    "card_balance": 1000,
    "card_brand": "Visa",
    "card_id": "card_12345",
    "card_name": "John D. Card",
    "card_status": "Active",
    "card_type": "Lite",
    "currency": "USD",
    "cvv": "123",
    "expiration": "12/25",
    "first_six": "123456",
    "last_four": "7890"
  },
  "message": "<string>",
  "success": true
}

Body

application/json

Create Virtual Card payload

address
object
required
card_balance
number
required

Initial balance to load onto the card

Example:

10

card_brand
enum<string>
required

Brand of the card

Available options:
Visa,
Mastercard
card_type
enum<string>
required

Type of card to create

Available options:
Lite,
Multiuse-Lite,
Virtual,
Physical
currency
enum<string>
required

Currency of the card (Only USD is supported for virtual cards for now)

Available options:
USD,
NGN,
EUR,
GBP
user_id
string
required

Identifier of the user to whom the card will be issued

Example:

"12345"

Response

Created

data
object
message
string
success
boolean