cURL
curl --request POST \ --url https://getmipay.com/api/v1/virtual-cards/action/card/{userId} \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "balance": 10, "currency": "USD", "card_type": "VISA", "category": "PERSONAL", "grade": "BASIC" } '
{ "success": true, "data": { "card_id": "CARD_123456", "user_id": "SP6VC", "card_number": "4111111111111111", "expiry_date": "12/2026", "cvv": "123", "balance": 10, "currency": "USD", "card_type": "VISA", "status": "active", "created_at": "2023-11-07T05:31:56Z" } }
Create a new virtual card for a specific user
User ID for whom to create the card
"SP6VC"
Virtual card creation details
x >= 0.01
10
USD
EUR
XAF
"USD"
VISA
MASTERCARD
"VISA"
PERSONAL
BUSINESS
"PERSONAL"
BASIC
PREMIUM
"BASIC"
Virtual card created successfully
true
Show child attributes