Update a customer

Updates the details of a customer.

PATCH https://api.ivorypay.io/v1/business-customers/:

Path Parameters

Request Body

{
    "success": true,
    "message": "Customer was updated successfully",
    "data": {
        "firstName": "Ifeanyi",
        "lastName": "Nwakasi",
        "email": "nwakasistephen@gmail.com",
        "userId": "3f795e70-3267-458d-9d45-4d66d01e118d",
        "businessId": "e0353a89-09dc-4304-ac1e-618b6f88f721",
        "context": "TEST",
        "refCode": "ssmE3nSoVc",
        "phoneNumber": "+2347012345678",
        "uuid": "3d507168-e808-4f3b-9c5a-dc947125e07d",
        "totalSpendInUSD": 0,
        "createdAt": "2022-10-03T08:18:05.653Z"
    }
}

Last updated