# Creditor Profiles
source: https://developer.mastercard.com/payment-acceptance-api/documentation/use-cases/creditor-profiles/index.md

This section explains how a Creditor Agent can create, update, and delete creditor payment profiles using the Creditor profile APIs.

## Create a Creditor payment profile {#create-a-creditor-payment-profile}

Creditor Agent can create a payment profile for registered Creditors in Commercial Direct Payments (CDP).
Diagram createbuyerprofile

1. The Creditor Agent submits a Create Creditor Payment Profile request to CDP.
   API Reference: `POST /creditor-agents/{ica}/creditors/{creditor_id}/payment-profiles`

2. CDP returns a 201 Created response to the Creditor Agent.

## Update a Creditor payment profile {#update-a-creditor-payment-profile}

The following Creditor profile details can be updated using the update Creditor payment profile endpoint.

* Creditor profile email
* Pay to address
* Payment methods

Diagram updatesupplierprofile

1. The Creditor Agent submits an Update Creditor Payment Profile request to CDP.
   API Reference: `PUT /creditor-agents/{ica}/creditors/{creditor_id}/payment-profiles/{creditor_profile_id}`

2. CDP returns a 204 No Content response to the Creditor Agent.

## Delete a Creditor payment profile {#delete-a-creditor-payment-profile}

Diagram deleteprofile

1. The Creditor Agent submits a Delete Creditor Payment Profile request to CDP.
   API Reference: `DELETE /creditor-agents/{ica}/creditors/{creditor_id}/payment-profiles/{creditor_profile_id}`

2. CDP returns a 204 No Content response to the Creditor Agent.

Note: If there is any transaction activity, the Creditor Agent must deactivate the Creditor registration and its associated Creditor payment profile instead of deleting. Contact your Mastercard representative to deactivate.
