cURL
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>" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
VISA
MASTERCARD
Card created successfully.
"success"
"Card created successfully!"
Show child attributes