Skip to content

Get Cost Accounts

Request

This operation gets cost account details

Security
bearerAuth
Query
pagestring

This indicates the page of the Cost account result list.

Example:page=1
sizestring

This indicates the size/count of the searched result list.

Example:size=10
Headers
X-PB-Developer-Partner-IDstring

This is the Developer Partner ID. When the developer is the only partner, this field is not required.

Example:
curl -i -X GET \
  'https://api-sandbox.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/costAccounts?page=1&size=10' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'X-PB-Developer-Partner-ID: '

Responses

Cost Accounts Fetched Successfully

Bodyapplication/json
dataArray of objects

it displays all the cost accounts

Response
{ "data": [ { "accountID": "absh7830", "name": "name", "code": "code", "parent": "", "description": "description", "status": true, "passwordEnabled": true, "passwordCode": "test", "billable": true, "advanceOption": {} } ] }