List Provider Accounts Method

Use this endpoint to list carrier/provider accounts associated with a customer.

REST Endpoint

GET /restapi/v1/customers/:customerId/provider-accounts

Response Status Code

200 OK

Response Content Type

application/json

Response JSON Example

{
    "providerAccounts": [
        {
            "id":"4787392",
            "providerCode":"fedex",
            "accountFields": {
                "accountNumber": "***",
                "key": "***",
                "password": "***",
                "meterNumber": "***"
            }
        },
        {
            "id":"4787399",
            "providerCode":"ups",
            "accountFields": {
                "accountNumber": "***",
                "userId": "***",
                "password": "***",
                "accessLicenceNumber": "***"
            }
        }
    ]
}

Explanation of Response

The providerAccounts object in the response will contain a list of provider accounts. The accountFields object will contain provider specific account information.