PUT
/
institutions
/
cards
/
{cardId}
/
customer
Update Card Customer
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"
  }
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cardId
string
required

Path parameter: cardId.

Body

application/json
firstName
string
required
middleName
string
required
lastName
string
required
emailAddress
string
required
phoneNumber
string
required
dateOfBirth
string<date-time>
required
address
object
required

Response

200 - application/json

Update Card Customer completed successfully.

The response is of type object.