Fetch customers

Fetch a paginated list of business customers.

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

Query Parameters

{
    "success": true,
    "message": "Query successful",
    "data": {
        "records": [
            {
                "uuid": "3d507168-e808-4f3b-9c5a-dc947125e07d",
                "refCode": "ssmE3nSoVc",
                "firstName": "Ifeanyi",
                "lastName": "Nwakasi",
                "email": "nwakasistephen@gmail.com",
                "phoneNumber": null,
                "totalSpendInUSD": 0,
                "businessId": "e0353a89-09dc-4304-ac1e-618b6f88f721",
                "userId": "3f795e70-3267-458d-9d45-4d66d01e118d",
                "context": "TEST",
                "createdAt": "2022-10-03T08:18:05.653Z",
                "business": {
                    "uuid": "e0353a89-09dc-4304-ac1e-618b6f88f721",
                    "name": "Odogwu Compass",
                    "description": null,
                    "logoImagePath": null,
                    "email": "nwakasistephenify@gsdmail.com",
                    "phoneNumber": "+2347856934587",
                    "address": null,
                    "countryId": "86666304-7d8e-42ca-8007-413570dd6ce9",
                    "industryId": null,
                    "staffSize": null,
                    "website": null,
                    "supportEmail": null,
                    "twitter": null,
                    "facebook": null,
                    "instagram": null,
                    "webhookUrl": "https://api.zendesk.ng/webhook",
                    "userId": "3f795e70-3267-458d-9d45-4d66d01e118d",
                    "isVerified": false,
                    "type": "registered",
                    "status": "active",
                    "suspensionReason": null,
                    "testPublicAddress": "DDTpcfsvqoa2zCNm5HLBg5g9xX3GVs6z94FPAwW7xxcP",
                    "livePublicAddress": null,
                    "context": "TEST",
                    "createdAt": "2022-09-09T05:33:16.595Z"
                }
            },
            {
                "uuid": "da2ccb52-10d7-46a0-ac3f-265eae141af8",
                "refCode": "cPbiXHICSs",
                "firstName": null,
                "lastName": null,
                "email": "nwakasistephen2@gmail.com",
                "phoneNumber": null,
                "totalSpendInUSD": 1.3593000000000002,
                "businessId": "e0353a89-09dc-4304-ac1e-618b6f88f721",
                "userId": "3f795e70-3267-458d-9d45-4d66d01e118d",
                "context": "TEST",
                "createdAt": "2022-09-09T05:34:58.301Z",
                "business": {
                    "uuid": "e0353a89-09dc-4304-ac1e-618b6f88f721",
                    "name": "Odogwu Compass",
                    "description": null,
                    "logoImagePath": null,
                    "email": "nwakasistephenify@gsdmail.com",
                    "phoneNumber": "+2347856934587",
                    "address": null,
                    "countryId": "86666304-7d8e-42ca-8007-413570dd6ce9",
                    "industryId": null,
                    "staffSize": null,
                    "website": null,
                    "supportEmail": null,
                    "twitter": null,
                    "facebook": null,
                    "instagram": null,
                    "webhookUrl": "https://api.zendesk.ng/webhook",
                    "userId": "3f795e70-3267-458d-9d45-4d66d01e118d",
                    "isVerified": false,
                    "type": "registered",
                    "status": "active",
                    "suspensionReason": null,
                    "testPublicAddress": "DDTpcfsvqoa2zCNm5HLBg5g9xX3GVs6z94FPAwW7xxcP",
                    "livePublicAddress": null,
                    "context": "TEST",
                    "createdAt": "2022-09-09T05:33:16.595Z"
                }
            }
        ],
        "count": 2
    }
}

Last updated