# Quick Start Guide source: https://developer.mastercard.com/issuer-enrollment/documentation/quick-start-guide/index.md ## Overview {#overview} Use this guide to prepare a Sandbox environment for your program, choose a workflow, make your first request, and plan for Production access. ### Before you begin {#before-you-begin} Before making your first Sandbox request, confirm the prerequisites for your selected workflow: * Verify program eligibility and complete any required enrollment, consent, or cardholder-authentication prerequisites with your Mastercard representative. * Identify the Sandbox access process and requirements for your workflow. Obtain project credentials and identifiers in Steps 2 and 3; you do not need them before starting this guide. * Enroll in [Mastercard Digital Enablement Service (MDES)](https://developer.mastercard.com/product/mdes/#financial-institutions), if required by your program to activate payment cards and receive token requests from Mastercard Digital Experiences. * Review the selected operation's authentication and payload-encryption requirements in [API Basics](https://developer.mastercard.com/issuer-enrollment/documentation/api-basics/index.md) and the [API Reference](https://developer.mastercard.com/issuer-enrollment/documentation/api-reference/apis/index.md). ## Step 1: Choose a workflow {#step-1-choose-a-workflow} Review the [use cases](https://developer.mastercard.com/issuer-enrollment/documentation/use-cases/index.md) and choose the workflow that applies to your program. The requirements below are workflow-specific; follow the relevant guidance for your implementation. #### Auto-enablement {#auto-enablement} * Take responsibility for managing and updating consumer data in Mastercard Credential Services. See the [Lifecycle Management use case](https://developer.mastercard.com/issuer-enrollment/documentation/use-cases/auto-enrollment/life_cycle/index.md). * Make required updates in the Terms and Conditions between the Issuer and Consumer to present Mastercard Digital Experiences as a core banking product. * For a complete Sandbox request and response example, see the [single-credential enrollment test](https://developer.mastercard.com/issuer-enrollment/documentation/testing/auto-enablement/index.md#enroll-a-single-payment-credential). #### Push provisioning {#push-provisioning} * Implement the requirements and best practices for the Mastercard Digital Experience outlined under the [Issuer Requirements section](https://trc-techresource.mastercard.com/r/bundle/m_mc_c2p_pr_en-us/page/d/en-US/zri1606416364912.html). You must be logged into [Mastercard Connect](https://www.mastercardconnect.com/-/sign-in) to access the document. * Perform strong cardholder authentication before initiating push provisioning. Mastercard recommends not requesting additional cardholder authentication during push provisioning. * For workflow-specific request guidance, see the [Push provisioning use cases](https://developer.mastercard.com/issuer-enrollment/documentation/use-cases/push-provisioning/index.md). * For an encrypted-card request example, see the [encrypted-card workflow guide](https://developer.mastercard.com/issuer-enrollment/documentation/use-cases/push-provisioning/enroll-api/index.md). For a token-receipt request example, see the [token-receipt workflow guide](https://developer.mastercard.com/issuer-enrollment/documentation/use-cases/push-provisioning/mdes-token-connect/index.md). ## Step 2: Access program onboarding {#step-2-access-program-onboarding} Use the onboarding portal and access process required by your program. Consult the [Onboarding Checklist](https://developer.mastercard.com/issuer-enrollment/documentation/tutorials-and-guides/onboarding-checklist/index.md) or contact [Support](https://developer.mastercard.com/issuer-enrollment/documentation/support/index.md) if you need help identifying the correct process. ## Step 3: Complete Sandbox onboarding {#step-3-complete-sandbox-onboarding} 1. Complete the Sandbox enrollment and access steps for your selected program. 2. Create or configure a Sandbox project if your program requires one. 3. Obtain or associate the credentials and identifiers required by your selected workflow, following the program's prescribed order. 4. Store credentials securely and make the required project values available to your client. ## Step 4: Set up authentication and encryption {#step-4-set-up-authentication-and-encryption} Configure your client for the authentication scheme and payload-encryption requirements in [API Basics](https://developer.mastercard.com/issuer-enrollment/documentation/api-basics/index.md) and the relevant operation in the [API Reference](https://developer.mastercard.com/issuer-enrollment/documentation/api-reference/apis/index.md). ## Step 5: Make your first Sandbox request {#step-5-make-your-first-sandbox-request} Once your Sandbox project is provisioned, your credentials and required operation-specific identifiers are available (including `directoryId` for the example below), your Postman environment is configured, and your test data and required JWE are ready, aim to submit and validate your first request within approximately five minutes. This is a guide target, not a service-level commitment. The estimate excludes program onboarding, key provisioning or conversion, and test-data and JWE preparation. #### Sandbox URL {#sandbox-url} The standard Sandbox base URL is `https://sandbox.api.mastercard.com`. API paths and regional hosts can vary; use the full server URL from the selected operation in the [API Reference](https://developer.mastercard.com/issuer-enrollment/documentation/api-reference/apis/index.md). #### Example request: single-credential enrollment {#example-request-single-credential-enrollment} This representative example follows the [single-credential enrollment test](https://developer.mastercard.com/issuer-enrollment/documentation/testing/auto-enablement/index.md#enroll-a-single-payment-credential) and uses OAuth 1.0a request signing. Replace the placeholders with your Sandbox project values. Generate the OAuth signature for the final request method, URL, and body using your Consumer Key and private API Signing Key; see [API Basics](https://developer.mastercard.com/issuer-enrollment/documentation/api-basics/index.md). Generate a fresh JWE for your test data. Do not send placeholders literally. For other workflows, follow the selected operation's security definition. ##### Request values {#request-values} Use this table to locate the request-specific values for the example: | Request value | Where to get or generate it | |---------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `baseUrl` | Use the full Sandbox server URL for the selected operation in the [API Reference](https://developer.mastercard.com/issuer-enrollment/documentation/api-reference/apis/index.md). | | `{DIRECTORY_ID}` | This is the `directoryId` path value. For the representative Sandbox workflow, provide the `srcClientId` from your project dashboard to CIS to obtain it; see the [Sandbox onboarding instructions](https://developer.mastercard.com/issuer-enrollment/documentation/tutorials-and-guides/issuer-onboarding-click2pay-tutorial/index.md). Other programs may provide this identifier differently. | | `{SRC_CLIENT_ID}` | This becomes the `srcClientId` JSON body field. Record it from your Sandbox project dashboard and include it in API requests; see the [Sandbox onboarding instructions](https://developer.mastercard.com/issuer-enrollment/documentation/tutorials-and-guides/issuer-onboarding-click2pay-tutorial/index.md). | | `srcCorrelationId` | Optional for this example. Use a Mastercard-generated value or generate a unique ID matching the format in the operation schema; Mastercard returns one in the response by default. | | OAuth authorization value | Generate it with the operation's required signer using your Consumer Key and private API Signing Key; see [API Basics](https://developer.mastercard.com/issuer-enrollment/documentation/api-basics/index.md) and [Key Management](https://developer.mastercard.com/issuer-enrollment/documentation/tutorials-and-guides/key-management-click2pay-tutorial/index.md). | | Encrypted request fields | Create a fresh JWE from your Sandbox test data with the applicable key when the operation requires payload encryption; see [Perform Encryption](https://developer.mastercard.com/issuer-enrollment/documentation/tutorials-and-guides/perform-encryption-tutorial/index.md). | **Request URL** POST https://sandbox.api.mastercard.com/src/api/digital/payments/client-directories/{DIRECTORY_ID}/credentials **Headers** | Header | Value | |-----------------|------------------------------------------| | `Authorization` | `OAuth {OAUTH_PARAMETERS_AND_SIGNATURE}` | | `Content-Type` | `application/json` | **Body** ```json { "srcClientId": "{SRC_CLIENT_ID}", "srcCorrelationId": "{UNIQUE_CORRELATION_ID}", "encryptedEnrollmentData": "{JWE_ENCRYPTED_ENROLLMENT_DATA}" } ``` > **Before sending:** Replace every placeholder with your Sandbox project values, generate a new OAuth signature for the final method, URL, and body, and create a fresh JWE for your test data. The values are project-specific; use the Postman steps below for a runnable client path. #### Expected response and success criteria {#expected-response-and-success-criteria} Expect an HTTP `200 OK` response containing `srcCorrelationId` and `maskedCredential`. The response may also include `directoryId` and `maskedConsumer`. Confirm the credential matches your test data using masked fields such as `panLastFour` (the last four digits of the card's PAN), and verify that the full PAN is not exposed. See the linked test for the complete successful response. For other workflows, validate against their documented status and response schema. To execute this flow without manually constructing the authorization header, use the Postman steps below. #### Run this request in Postman {#run-this-request-in-postman} Use the pre-built [Postman Collection](https://developer.mastercard.com/issuer-enrollment/documentation/developer-tools/postman-collection/index.md) to send the representative request: 1. Fork the collection of your choice from the [Mastercard Issuer Enrollment Postman workspace](https://www.postman.com/mastercard/workspace/mastercard-issuer-enrollment-workspace/overview) and select the `Mastercard API Sandbox` environment. 2. Set `baseUrl` to the full Sandbox server URL listed for the selected operation in the [API Reference](https://developer.mastercard.com/issuer-enrollment/documentation/api-reference/apis/index.md). 3. Set the Postman `consumerKey` variable to the Consumer Key from your project. Convert your downloaded P12 keystore to an RSA private key and set the `privateKey` variable, following the workspace README and [Key Management](https://developer.mastercard.com/issuer-enrollment/documentation/tutorials-and-guides/key-management-click2pay-tutorial/index.md). Keep the environment private and secure. 4. In the selected request, set `directoryId` as the URL path value and `srcClientId` as the JSON body value. If the collection substitutes variables for these values, map them to the identifiers from your Sandbox project using the variable names shown in that collection. 5. Configure or generate encrypted fields as required by the operation, send the request, and compare its status and response with the linked workflow example and operation schema. For other testing methods and runnable examples, see the [Testing hub](https://developer.mastercard.com/issuer-enrollment/documentation/testing/index.md). You can also use the [Insomnia Collection](https://developer.mastercard.com/issuer-enrollment/documentation/developer-tools/insomnia-collection/index.md) or generate a client with [OpenAPI Generator](https://openapi-generator.tech/) and the [Mastercard API client guide](https://developer.mastercard.com/platform/documentation/security-and-authentication/generating-and-configuring-a-mastercard-api-client/). ## Step 6: Request Production access {#step-6-request-production-access} After completing Sandbox integration and testing, confirm Production eligibility and requirements with your Mastercard representative. Follow the shared [Onboarding Checklist](https://developer.mastercard.com/issuer-enrollment/documentation/tutorials-and-guides/onboarding-checklist/index.md) and your program's approved Production instructions. For programs with Production enablement, the checklist allows three business days for approval after all required artifacts are submitted; this is an approval-stage estimate, not an end-to-end time-to-live. Confirm applicable timelines with your representative and use the checklist's escalation path if an estimated date is exceeded. Confirm whether your program requires a separate Production project, credentials, or additional validation. ### Next Steps {#next-steps} Continue with the documentation that matches your next task: * [API Reference](https://developer.mastercard.com/issuer-enrollment/documentation/api-reference/index.md) for endpoint details. * [API Basics](https://developer.mastercard.com/issuer-enrollment/documentation/api-basics/index.md) for authentication, encryption, and client configuration. * [Testing](https://developer.mastercard.com/issuer-enrollment/documentation/testing/index.md) for additional request scenarios. * [Onboarding Checklist](https://developer.mastercard.com/issuer-enrollment/documentation/tutorials-and-guides/onboarding-checklist/index.md) for the full operational go-live process.