Retrieve Buyer Id

CPX Website

You can retrieve the buyerid from your buyer at www.cpxchange.com. Navigate to your buyer. From reviewing your buyer you should see a field marked "ID". That is your buyerid.

1366

API

You can also retrieve the buyer id through our API.

Get to https://sandbox-api.cpxenterprise.com/buyer/v1/buyer

{
    "totalRecords": 15,
    "recordCount": 10,
    "records": [
        {
            "status": "Approved",
            "acl": [
                "pps:cpx-acquiring",
                "buyer:xxxxxxx-xxxx-xxxx-xxx-fab6465e211c",
                "institution:xxxxxx-xxxxx-xxxxa-xxxxx-028073ba60d8",
                "network:xxxxxxx074496"
            ],
            "associatedInstitutionId": "xxxxxxx-xxxxxxx-xxxxxx-xxxxxx-028073ba60d8",
            "associatedInstitutionName": "Payments",
            "bid": "xxxxxxxx",
            "created": "2020-04-15T12:20:37.020Z"
            },

This endpoint will retrieve all buyers for your account. Within the details of each buyer, you can find the buyer id.

You can review our developer documentation for adding banks to your buyer here: https://developer.cpxchange.com/reference#apisearch-4