- Get collection agency by ID
Get collection agencies
Create collection agency
Delete collection agency
Update collection agency
Get collection agency by...
Security
oauth2(Required scopes: collection.agency:read) or bearerAuth or apiKeyHeader
GET
- oauth2
- bearerAuth
- apiKeyHeader
curl -i -X GET \
'https://sandboxapi.peach.finance/api/companies/{companyId}/collection-agencies/{collectionAgencyId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "message": "string", "status": 0, "data": { "createdAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z", "id": "string", "updatedAt": "2019-08-24T14:15:22Z", "externalId": "string", "companyId": "string", "contactEmail": "string", "contactPhone": "string", "legalName": "string", "mailingAddress": { … }, "isArchived": true } }