# Tutorials and guides for Commercial Direct Payments
source: https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/tutorials-guides/tutorials-guides-cdp/index.md

## Tutorials {#tutorials}

### Enhanced Card Payment Initiation {#enhanced-card-payment-initiation}

In this tutorial, we explain the end-to-end process for enhanced card payment initiation through Commercial Direct Payments service.   


[View tutorial](https://developer.mastercard.com/mastercard-buyer-payment-agent/tutorial/card-pay-initiation/index.md)

### Retrieve Supplier details {#retrieve-supplier-details}

In this tutorial, we explain how to retrieve Supplier details in order to verify that you are doing business with the correct entity in the Commercial Direct Payments service.  


[View tutorial](https://developer.mastercard.com/mastercard-buyer-payment-agent/tutorial/retrieve-supplier-details-cdp/index.md)

### Manage Buyer registration {#manage-buyer-registration}

In this tutorial we explain how to register, update, delete, and retrieve Buyer registrations and payment profiles.  


[View tutorial](https://developer.mastercard.com/mastercard-buyer-payment-agent/tutorial/registration-cdp/index.md)

### Payment cancellation {#payment-cancellation}

In this tutorial we explain how to initiate and complete the payment cancellation process for the future dated transactions in CDP.  


[View tutorial](https://developer.mastercard.com/mastercard-buyer-payment-agent/tutorial/payment-cancellation/index.md)

### Generating and configuring a Mastercard API client {#generating-and-configuring-a-mastercard-api-client}

This tutorial walks you through how to generate a Mastercard API client by using the [OpenAPI Generator](https://openapi-generator.tech) with the provided [API reference](https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/api-reference/index.md), [client authentication libraries](https://developer.mastercard.com/platform/documentation/security-and-authentication/using-oauth-1a-to-access-mastercard-apis/), and if applicable, [the **latest** client encryption libraries](https://developer.mastercard.com/platform/documentation/security-and-authentication/securing-sensitive-data-using-payload-encryption/#client-libraries).  


[View tutorial](https://developer.mastercard.com/platform/documentation/security-and-authentication/generating-and-configuring-a-mastercard-api-client/)

## Guides {#guides}

### Quick start guide {#quick-start-guide}

Follow this guide to get started with Mastercard Developers by creating an account, accessing documentation, and creating a project.  


[View guide](https://developer.mastercard.com/platform/documentation/getting-started-with-mastercard-apis/quick-start-guide/)

### Getting your credentials {#getting-your-credentials}

This guide walks you through how to create a new Buyer Payment Agent API project and gain access to the Sandbox environment.  


[View guide](https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/tutorials_guides/guides/impl-guide/index.md)

### Moving to production {#moving-to-production}

This guide takes you through the steps needed to move your Mastercard Developers Sandbox project to the production environment.  


[View guide](https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/tutorials_guides/guide-1/index.md)
