# API Reference
source: https://developer.mastercard.com/account-to-account-commerce-for-csp/documentation/api-reference/index.md

The following table summarizes Account to Account Commerce APIs that facilitate different operations for the creditor service provider.

## **[CSP to Mastercard](https://developer.mastercard.com/account-to-account-commerce-for-csp/documentation/api-reference/csp-to-mastercard/index.md)** {#csp-to-mastercarddocumentationapi-referencecsp-to-mastercard}

|                                  |                                                |                 |                                                                                                                        |
|----------------------------------|------------------------------------------------|-----------------|------------------------------------------------------------------------------------------------------------------------|
| **Feature**                      | **APIs**                                       | **HTTP Method** | **Description**                                                                                                        |
| **Payment Requests**             | **Payment Request Creation**                   | POST            | Enables creditor to present a payment request to a debtor who hasn't linked their account.​                            |
|                                  | **Payment Request Status Retrieval Request**   | POST            | Enables creditor service provider to retrieve the status of a payment.                                                 |
| **Agreements**                   | **Agreement creation**                         | POST            | Enables the creditor service provider to present a request for agreement creation.                                     |
|                                  | **Update Agreement**                           | POST            | Enables creditor service provider to update the agreement status to deleted.                                           |
|                                  | **Agreement Request Status Retrieval Request** | POST            | Enables creditor service provider to retrieve agreement status from the debtor service provider.                       |
| **Refunds**                      | **Refund Account Request**                     | POST            | Creditor service providers can request refund account details from a debtor service provider on behalf of a creditor.​ |
|                                  | **Refund Payment Confirmation**                | POST            | Enables creditor service provider to confirm the status of an active refund transaction.                               |
| **Information Exchange Service** | **Alias Resolution Update**                    | POST            | Enables a CSP to provide resolved creditor (recipient) alias details to Mastercard.​                                   |

## **[Mastercard To CSP](https://developer.mastercard.com/account-to-account-commerce-for-csp/documentation/api-reference/mastercard-to-csp/index.md)** {#mastercard-to-cspdocumentationapi-referencemastercard-to-csp}

|                                  |                                             |                 |                                                                                                                                                                                                                                                                                                                                                         |
|----------------------------------|---------------------------------------------|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Feature**                      | **APIs**                                    | **HTTP Method** | **Description**                                                                                                                                                                                                                                                                                                                                         |
| **Payment Requests**             | **Payment Confirmation**                    | POST            | Enables creditor service provider to receive payment status information for the request for payment message.                                                                                                                                                                                                                                            |
|                                  | **Step-up Notification**                    | POST            | Enables creditor service provider to receive step-up notification requests from debtor service provider.                                                                                                                                                                                                                                                |
| **Agreements**                   | **Agreement Update**                        | POST            | Enables Mastercard to notify the creditor service provider about updates to the agreement from the debtor service provider. - Update Status- Status can be updated from in progress to approved or rejected. - Update Nickname- AgreementId and nickname have be to be supplied. - Delete Agreement- Status can be updated from approved to be deleted. |
| **Refunds**                      | **Refund Account Advice**                   | POST            | Enables Mastercard to initiate refund advice via creditor service provider using the original transaction identifier and provide the refund status.                                                                                                                                                                                                     |
|                                  | **Refund Request Status Retrieval Request** | POST            | Enables creditor service provider to provide the status of a refund.                                                                                                                                                                                                                                                                                    |
| **Information Exchange Service** | **Request Alias Resolution**                | POST            | Enables Mastercard to request creditor(recipient) account alias resolution from the CSP.                                                                                                                                                                                                                                                                |

