Cannot create virtual card

{“data”: null, “message”: “One or more field failed validation”, “status”: “error”}
i keep getting this error while using api to try creating virtual cards

Hi @John_Uguru

Thanks for sharing this experience with us,

Kindly share your request payload for this API request.

PS: Be sure to hide any sensitive information when sharing the payload.

                "currency": "NGN",
                "amount": 0,
                "first_name": "John",
                "last_name": "Uguru",
                "date_of_birth": "2003/12/18",
                "email": "johnuguru73@gmail.com",
                "phone": "07000000000",
                "title": "MR",
                "gender": "M"

can this be resolved

Hi @John_Uguru

Thank you for sharing this experience with us,

The request payload sent has an amount property set to 0 which will result to an error message of “One or more field failed validation”.

Kindly, note that the minimum amount for the creation of a Naira Virtual Card is 100 Naira, and the minimum amount for the creation of a Dollar Virtual Card is 1 dollars.

Feel free to reach out If you have further questions :handshake:

i’ve fixed that but i’m getting this error now {“data”: null, “message”: “Customer does not have sufficient funds”, “status”: “error”} do i need to funds in my flutterwave account to create virtual cards

don’t worry i’ve gotten it to work i just needed to fund my flutterwave account