Skip to main content
POST
/
cards
Create a card
curl --request POST \
  --url https://api.cartevo.co/api/v1/cards \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "brand": "VISA",
  "name_on_card": "<string>",
  "amount": 123
}
'
{
  "status": "success",
  "message": "Card created successfully!",
  "card": {
    "id": "91b3c6d6-111b-44da-9f81-16f019bebe8c",
    "customer_id": "4d4dad81-7899-4612-a9f6-133ce56a4507",
    "status": "ACTIVE",
    "balance": 2,
    "masked_pan": "533758******1530",
    "brand": "VISA",
    "currency": "USD",
    "expiry_month": 8,
    "expiry_year": 30,
    "is_virtual": true,
    "is_physical": false,
    "created_at": "2023-11-07T05:31:56Z"
  },
  "autoFilledFields": [
    "<unknown>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
customer_id
string<uuid>
required
brand
enum<string>
required
Available options:
VISA,
MASTERCARD
name_on_card
string
required
amount
number
required

Response

Card created successfully.

status
string
Example:

"success"

message
string
Example:

"Card created successfully!"

card
object
autoFilledFields
any[]