Creates a new virtual card with the specified limits and cardholder information. Requires an API key with access level 2 or higher.
Body
Email address for card notifications.
Transaction approval method. Possible values: NONE, WEBHOOK, TOP_UP, DEFI.
Phone country code for OTP authentication.
Phone number for OTP authentication (without country code).
Daily spending limit in USD.
Weekly spending limit in USD.
Monthly spending limit in USD.
Additional metadata key-value pairs for the card.
Response
Last 4 digits of the card number.
Transaction approval method.
Daily spending limit in USD.
Weekly spending limit in USD.
Monthly spending limit in USD.
curl -X POST "https://api.cryptomate.me/cards/virtual-cards/create" \
-H "X-API-KEY: $CRYPTOMATE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"card_holder_name": "John Doe",
"email": "cardholder@example.com",
"approval_method": "TOP_UP",
"phone_country_code": 1,
"phone": "5551234567",
"daily_limit": 1000.00,
"weekly_limit": 5000.00,
"monthly_limit": 20000.00,
"metadata": {
"department": "engineering"
}
}'
{
"id": "card_6f1e2a30-4a3c-4b2e-9a1d-5e8c9b7a1f23",
"card_holder_name": "John Doe",
"type": "VIRTUAL",
"last4": "4242",
"status": "ACTIVE",
"approval_method": "TOP_UP",
"daily_limit": 1000.00,
"weekly_limit": 5000.00,
"monthly_limit": 20000.00
}