# Credit Agencies

## Get credit agencies

 - [GET /companies/{companyId}/credit-agencies](https://docs.peachfinance.com/api-docs/api-public/credit-agencies/peach.credit_reporting.handlers.credit_agencies_list.md)

## Create credit agency

 - [POST /companies/{companyId}/credit-agencies](https://docs.peachfinance.com/api-docs/api-public/credit-agencies/peach.credit_reporting.handlers.credit_agency_create.md): Creates a new credit agency.

## Get credit agency by ID

 - [GET /companies/{companyId}/credit-agencies/{creditAgencyId}](https://docs.peachfinance.com/api-docs/api-public/credit-agencies/peach.credit_reporting.handlers.credit_agency_get.md)

## Update credit agency

 - [PUT /companies/{companyId}/credit-agencies/{creditAgencyId}](https://docs.peachfinance.com/api-docs/api-public/credit-agencies/peach.credit_reporting.handlers.credit_agency_update.md)

## Regenerate SSH key pair for credit agency

 - [POST /companies/{companyId}/credit-agencies/{creditAgencyId}/regenerate-ssh-keys](https://docs.peachfinance.com/api-docs/api-public/credit-agencies/peach.credit_reporting.handlers.credit_agency_regenerate_ssh_keys.md): Generates a new RSA SSH key pair for the credit agency and returns the updated object.
The new sftpSSHPeachPublicKey must be added to the SFTP server's authorized_keys file —
the old public key will no longer work after this call.

