Create Payee/Supplier via API

Example of successfully creating a supplier via API to accept check

POST: https://sandbox-api.cpxenterprise.com/payee/v1/payee

{
  "name": "{supplier's name}",//Any name works in this field
  "payeeType": "Supplier"
  "address": {
    "street1": "2001 WestSide",
    "street2": "1234 testStreet",
    "city": "Test City",
    "state": "CA",
    "postalCode": "300003"
  },
  "paymentTypes": [
    {
      "type": "Check Issuing",
      "address": {
        "street1": "2001 WestSide",
        "street2": "1234 teststreet",
        "city": "tucker",
        "state": "GA",
        "postalCode": "30003"
      },
      "enabled": true,
      "emails": "[email protected]",
      "payableTo": "TestT"
    }
  ],
  "addedRelationshipBuyerIds": [
    {
      "id": "{Your BuyerId}", //Your buyer's id
      "sid": "{Unique name for supplier}" //This name is unique to the Buyer and generated by you
    }
  ],
  "status": "Approved",
  "externalStatus": "Active",
  "acceptsCheck": true, 
  "acceptsCard": false,
  "acceptsACH": false,
  "requiresLodged": false,
  "expirePreAuths": false
}
"{{SupplierId}}"

You can review our developer documentation for creating a supplier here: https://developer.cpxchange.com/reference#apicreate-payee