# Move a Project to Production source: https://developer.mastercard.com/payment-account-reference-inquiry/documentation/tutorials/move-project/index.md ## Overview {#overview} This tutorial guides you through the complete sandbox-to-production journey for the Payment Account Reference Inquiry API --- from initial sandbox validation through MTF certification, Production access request, go-live, and post-production support. It covers entry and exit criteria for each phase, the portal steps required to generate Production credentials, SLA expectations, and escalation procedures. ### APIs used in this tutorial {#apis-used-in-this-tutorial} * [Payment Account Reference Inquiry](https://developer.mastercard.com/payment-account-reference-inquiry/documentation/api-reference/index.md) ### What you'll learn {#what-youll-learn} * The complete process flow from Sandbox through Production * Entry and exit criteria for each phase * How to generate and configure Production OAuth signing keys and encryption keys * How to complete Production onboarding with your CIS Implementation Manager * What to do when promotion timelines are missed *** ** * ** *** ## Sandbox to Production Journey {#sandbox-to-production-journey} ```text Phase 1: Sandbox Development Owner: API Consumer ↓ Phase 2: MTF Integration Testing Owner: API Consumer + CIS Implementation Manager ↓ Phase 3: Production Access Request Owner: API Consumer (submits) + Mastercard Approval Team (reviews) ↓ Phase 4: Production Credential Setup Owner: API Consumer + CIS Implementation Manager ↓ Phase 5: Go-Live Owner: API Consumer + Mastercard Support ↓ Phase 6: Post-Production Support Owner: API Consumer + Mastercard CIS / Support Team ``` *** ** * ** *** ## Roles and Responsibilities {#roles-and-responsibilities} | Role | Responsibilities | |-----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------| | **API Consumer** | Sandbox development, MTF testing, submitting Production access request, generating Production credentials, application updates for Production | | **CIS Implementation Manager (CIS IM)** | Opening the CIS project, enabling MTF and Production access, receiving Consumer Key and fingerprint from the API Consumer, coordinating go-live approval | | **Mastercard Approval Team** | Reviewing and approving Production access requests, validating credential configuration | | **Mastercard Support Team** | Post-production issue resolution, escalation handling for critical service issues | Note: Your CIS Implementation Manager is assigned when you open a CIS project with your Mastercard Customer Delivery contact. Contact your Customer Delivery representative if you do not yet have a CIS IM assigned. *** ** * ** *** ## Phase Checklists {#phase-checklists} ### Phase 1: Sandbox {#phase-1-sandbox} #### Entry Criteria {#entry-criteria} * Mastercard Developers account created * Project created with Payment Account Reference Inquiry service added * Sandbox Signing Key (`.p12`) downloaded * Sandbox Encryption Certificate and Decryption Key downloaded * OAuth 1.0a signing library installed and configured * Field-level encryption (FLE) library installed and configured * Network connectivity to `sandbox.api.mastercard.com` verified #### Exit Criteria {#exit-criteria} * At least one successful `POST /getPaymentAccountReference` call returning HTTP `200 OK` * `paymentAccountReference` in response is 29 characters beginning with `5001` * FLE encrypt (request) and decrypt (response) confirmed working end-to-end * Core business use cases validated against Sandbox static responses * Error handling implemented and tested for all `reasonCode` values * Request rate does not exceed 20 TPS under test load **Related Documentation:** [Quick Start Guide](https://developer.mastercard.com/payment-account-reference-inquiry/documentation/getting-started/index.md) · [Integration and Testing](https://developer.mastercard.com/payment-account-reference-inquiry/documentation/integration-and-testing/index.md) *** ** * ** *** ### Phase 2: MTF Integration Testing {#phase-2-mtf-integration-testing} #### Entry Criteria {#entry-criteria-1} * Sandbox exit criteria all met * CIS project opened with Mastercard Customer Delivery contact * CIS project number received (format: `CIS-xxxx-zzzzz`) * MTF access enabled by CIS Implementation Manager #### Exit Criteria {#exit-criteria-1} * All business use cases validated in MTF with real (non-static) test data * PAR consistency verified across multiple form factors (PAN and associated MDES tokens return same PAR) * Error scenarios validated in MTF * All open defects resolved or accepted Note: MTF uses the same Sandbox Consumer Key, signing key, and encryption keys as the Sandbox. Production uses separate keys that you generate when you request Production access. *** ** * ** *** ### Phase 3: Production Access Request {#phase-3-production-access-request} #### Entry Criteria {#entry-criteria-2} * MTF exit criteria all met * CIS project number confirmed with CIS Implementation Manager * Customer Name and requestor type confirmed #### Exit Criteria {#exit-criteria-2} * Production access request submitted via the Mastercard Developers portal * Production OAuth Signing Key generated and downloaded * Production encryption credentials (Client Encryption Key, Mastercard Encryption Key) generated and downloaded * Production access approval notification received Warning: Production Keys are generated instantaneously, but they still need to be reviewed and approved before you can go live. You will receive a notification confirming whether your access has been approved or denied. *** ** * ** *** ### Phase 4: Go-Live {#phase-4-go-live} #### Entry Criteria {#entry-criteria-3} * Production access approved * Production Consumer Key and `publicKeyFingerprint` provided to CIS Implementation Manager * Production credentials loaded into application configuration * Application `basePath` updated to Production base URL: `https://api.mastercard.com/par/paymentaccountreference/1/0` * Production smoke test plan prepared #### Exit Criteria {#exit-criteria-3} * CIS Implementation Manager confirms Production is enabled * Smoke test against Production returns HTTP `200 OK` * Monitoring and alerting active for Production traffic * Runbook for production issues documented *** ** * ** *** ## Request Production Access (Portal Steps) {#request-production-access-portal-steps} Follow these steps in the Mastercard Developers portal to submit the Production access request. 1. [**Log in**](https://developer.mastercard.com/account/log-in) to your Mastercard Developers account. 2. On the **My Projects** dashboard, locate your Payment Account Reference Inquiry project. 3. Click the project title to view project details. 4. On the project Summary page, click **Request Production Access**. ![Project dashboard summary screen](https://static.developer.mastercard.com/content/payment-account-reference-inquiry/documentation/tutorials/creating-a-new-project/img/create-project-7.png) ## Service Details {#service-details} 1. Select the appropriate requestor access as **Acquirer** , **Merchant** , or **Wallet Provider**. 2. Select Projected Volume 3. Enter the **CIS Project Number**. ![Enter additional service details](https://static.developer.mastercard.com/content/payment-account-reference-inquiry/documentation/tutorials/creating-a-new-project/img/req-prod-access-1.png) ## OAuth 1.0a Project Keys {#oauth-10a-project-keys} Mastercard uses [OAuth 1.0a](https://oauth.net/core/1.0a/) for authenticating and authorizing client applications. Every request must be digitally signed. The OAuth protocol requires a Consumer Key and a request signing key. When your Production access request is submitted, these keys (Consumer Key and Signing Key) will be generated for the Production environment. 1. Enter the **Keyalias** and **Keystore password** to create these credentials. 2. Click **Proceed**. ![Confirm Production OAuth key will be generated](https://static.developer.mastercard.com/content/payment-account-reference-inquiry/documentation/tutorials/creating-a-new-project/img/req-prod-access-2.png) ## Additional Credentials {#additional-credentials} You must generate encryption credentials that your server will use to communicate with the API in the Production environment. The Payment Account Reference Inquiry service encrypts fields containing sensitive data. Client encryption libraries are available on [Mastercard's GitHub](https://github.com/search?q=topic%3Afield-level-encryption+org%3AMastercard&type=Repositories). For further details, refer to [Securing Sensitive Data](https://developer.mastercard.com/platform/documentation/securing-sensitive-data-using-payload-encryption/). You require one key to encrypt data in requests, and a second to decrypt data in responses. 1. Enter the **Keyalias** and **Keystore Password** to create these additional credentials. 2. Click **Update Project**. ![Confirm Production client and Mastercard encryption key will be generated](https://static.developer.mastercard.com/content/payment-account-reference-inquiry/documentation/tutorials/creating-a-new-project/img/req-prod-access-3.png) ## Updating Your Project {#updating-your-project} Save the key file in a safe place --- this is your only opportunity to download this file. 1. Click **Download key file**. 2. Click **Open project**. ![Add API loading icons and download keys button](https://static.developer.mastercard.com/content/payment-account-reference-inquiry/documentation/tutorials/creating-a-new-project/img/req-prod-access-4.png) If you wish to create credentials using CSRs, return to your project dashboard to add a new key. This method involves creating your Production signing key and response decryption key offline and sending them to Mastercard. Refer to detailed instructions in Method 2 [here](https://developer.mastercard.com/platform/documentation/security-and-authentication/securing-sensitive-data-using-payload-encryption/#method-2). Note: Project credentials expire after a set period. Renewal notification emails are sent to the project team 90 days before expiry. Failure to renew credentials before expiry will cause requests to fail. Refer to [Renewing Your Keys](https://developer.mastercard.com/platform/documentation/getting-started-with-mastercard-apis/renewing-your-keys/) for instructions. ## Production Onboarding {#production-onboarding} The final step before going live involves working with your Mastercard Customer Implementation Services Manager (CIS IM). You must provide your Production Consumer Key and `publicKeyFingerprint` to your CIS IM to enable Production access. 1. Provide your Client ID to your CIS Implementation Manager: 1. From the Mastercard Developers project summary page, go to the **Production Keys** section, click the **Actions** dropdown, and select **Copy Consumer key**. > The first 48 characters of the key value (up to the exclamation mark) are your Client ID. For example, with Client ID in bold: **l6dXa1PkV03‑hTDlFwHY2tMzd4ermMIKzy574sc‑577dcc9e**!c6caf58a58ea432f92a1bc54a73e26660000000000000000 1. The `publicKeyFingerprint` of each Mastercard Encryption Key (Production) can be obtained from the **Project Summary** page. Go to the **Mastercard Encryption Keys** section, click **Actions** , and select **Copy fingerprint**. > The API will send a `publicKeyFingerprint` in each response. Use this to identify the certificate (private key) to use to decrypt the `encryptedKey` in API response payloads. 2. Send the Consumer Key value(s) and fingerprint(s) to your CIS IM. *** ** * ** *** ## SLA Expectations {#sla-expectations} The following timelines are typical for each stage. Actual timelines may vary based on the complexity of your implementation and current queue volumes. Confirm specific SLAs with your CIS Implementation Manager. | Activity | Estimated Timeline | Owner | |------------------------------------|----------------------------------------------------------------|----------------------------| | Sandbox access (self-service) | Immediate | API Consumer | | CIS project opening | 3--5 business days after submission | Customer Delivery / CIS IM | | MTF access enablement | Confirmed with CIS IM after CIS project open | CIS IM | | Production access request review | Typically 5--10 business days after submission | Mastercard Approval Team | | Production credential provisioning | At time of Production access approval | API Consumer (portal) | | CIS IM key exchange completion | 1--3 business days after Consumer Key and fingerprint provided | CIS IM | | Go-live confirmation | After CIS IM confirms Production enabled | CIS IM | Note: These are indicative timelines only. Your CIS Implementation Manager is the authoritative source for program-specific SLAs applicable to your engagement. Confirm expected timelines early in the CIS project kickoff. *** ** * ** *** ## Escalation Guidance {#escalation-guidance} ### When to Escalate {#when-to-escalate} Escalate when a stage has not progressed within the typical SLA window and initial contact has not produced a response. | Situation | Escalation Trigger | |----------------------------------------|-----------------------------------------------------------------------------------------| | No CIS IM assigned | More than 5 business days after Customer Delivery contact confirmed CIS project opening | | Production access request not reviewed | More than 10 business days after submission with no status update | | Key exchange not completed by CIS IM | More than 5 business days after providing Consumer Key and fingerprint | | Production not enabled after approval | More than 3 business days after go-live confirmation received | ### Escalation Levels {#escalation-levels} #### Level 1 --- Contact CIS Implementation Manager {#level-1--contact-cis-implementation-manager} **When:** SLA window has passed and no update has been received. **Action:** 1. Contact your CIS IM directly by email or phone. 2. Reference your CIS project number (`CIS-xxxx-zzzzz`) in all communications. 3. Include the specific activity that is delayed and the date it was initiated. 4. Request a revised completion date. **Expected response:** Acknowledgment within 1 business day. #### Level 2 --- Escalate to Customer Delivery Contact {#level-2--escalate-to-customer-delivery-contact} **When:** No response from CIS IM within 2 business days of Level 1 escalation. **Action:** 1. Contact your original Mastercard Customer Delivery contact. 2. Provide: CIS project number, description of delay, dates of all prior contact attempts, and business impact. 3. Request escalation to the CIS IM's management. **Expected response:** Acknowledgment within 1 business day; resolution commitment within 2 business days. #### Level 3 --- Mastercard Developer Support {#level-3--mastercard-developer-support} **When:** No resolution after Level 2 escalation, or for critical production service issues requiring immediate attention. **Action:** 1. Submit a support ticket at [developer.mastercard.com/support](https://developer.mastercard.com/support). 2. Classify the ticket as **Production** severity. 3. Include all information from the escalation section below. ### What to Include in an Escalation Request {#what-to-include-in-an-escalation-request} Provide all of the following to minimize back-and-forth: * CIS project number (`CIS-xxxx-zzzzz`) * Your organization name and contact information * Description of the delayed activity and expected completion date * Timeline of all prior contact attempts (dates, names, method of contact) * Business impact statement (e.g., scheduled go-live date at risk) * Current status of your integration (Sandbox complete / MTF complete / awaiting Production) * API Consumer Key (Client ID only --- never include private keys or credentials) *** ** * ** *** ## Frequently Asked Questions {#frequently-asked-questions} #### How long does the production promotion process take? {#how-long-does-the-production-promotion-process-take} End-to-end production onboarding typically takes **8--10 weeks** from initial Sandbox setup to go-live. This includes Sandbox development and testing, CIS project setup, MTF certification, Production access request review, and Production credential exchange. Your CIS Implementation Manager will provide a project-specific schedule during the CIS project kickoff. *** ** * ** *** #### What approvals are required before going live? {#what-approvals-are-required-before-going-live} 1. **CIS project approval** --- Customer Delivery contact confirms CIS project is open. 2. **MTF certification** --- Your integration must pass MTF validation (confirmed with CIS IM). 3. **Production access request approval** --- Mastercard Approval Team reviews and approves your portal submission. 4. **CIS IM go-live confirmation** --- CIS IM confirms Production is enabled after key exchange. *** ** * ** *** #### Who should I contact for onboarding issues? {#who-should-i-contact-for-onboarding-issues} | Issue | Contact | |-------------------------------------------------------------|--------------------------------------------------------------------------| | Opening a CIS project | Your Mastercard Customer Delivery contact | | MTF access, key exchange, go-live | Your assigned CIS Implementation Manager | | Portal technical issues (key generation, project dashboard) | [Mastercard Developer Support](https://developer.mastercard.com/support) | | Production service issues post go-live | [Mastercard Developer Support](https://developer.mastercard.com/support) | | No CIS IM assigned | Your Mastercard Customer Delivery contact | *** ** * ** *** #### What if my production access request exceeds the stated SLA? {#what-if-my-production-access-request-exceeds-the-stated-sla} Follow the [Escalation Guidance](https://developer.mastercard.com/payment-account-reference-inquiry/documentation/tutorials/move-project/index.md#escalation-guidance) process above. At Level 1, contact your CIS IM with the CIS project number and the date the request was submitted. If no response within 2 business days, escalate to your Customer Delivery contact (Level 2). *** ** * ** *** #### Can I use my Sandbox credentials in Production? {#can-i-use-my-sandbox-credentials-in-production} No. Sandbox and Production use separate credentials: * **Sandbox/MTF:** Sandbox Consumer Key and Sandbox encryption keys * **Production:** Production Consumer Key and Production encryption keys (generated through the portal Production access request flow) Using Sandbox credentials against Production will result in `AUTHORIZATION_FAILED`. *** ** * ** *** #### Do I need a separate CIS project for each API? {#do-i-need-a-separate-cis-project-for-each-api} Confirm with your CIS Implementation Manager, as CIS project scope varies by engagement. In many cases one CIS project covers a set of related APIs. Your Customer Delivery contact can advise on the scope needed for your specific use case. *** ** * ** *** ## Next Steps {#next-steps} * **[Integration Tutorial](https://developer.mastercard.com/payment-account-reference-inquiry/documentation/tutorials/integrate/index.md)** --- SDK generation, FLE configuration, and Happy Path / Negative Testing validation before requesting Production access. * **[Integration and Testing --- Production Readiness Checklist](https://developer.mastercard.com/payment-account-reference-inquiry/documentation/integration-and-testing/index.md)** --- Verify all production readiness criteria are met before submitting the Production access request. * **[API Basics](https://developer.mastercard.com/payment-account-reference-inquiry/documentation/api-basics/index.md)** --- Environment base URLs, authentication, and encryption key reference for all environments. * **[Support](https://developer.mastercard.com/payment-account-reference-inquiry/documentation/support/index.md)** --- Self-service troubleshooting guide and contact information.