curl --request PUT \
--url https://sandbox-api.cardcore.cloud/institutions/cards/{cardId}/customer \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"firstName": "John",
"middleName": "Robert",
"lastName": "Doe",
"emailAddress": "[email protected]",
"phoneNumber": "+2341234567890",
"dateOfBirth": "1990-01-01T00:00:00.000Z",
"address": {
"line1": "123 Main Street",
"line2": "Apt 4B",
"city": "Lagos",
"state": "Lagos",
"country": "Nigeria",
"postalCode": "100001"
}
}
'