# Mastercard
Mastercard (opens new window) is a financial services company that provides a payment network for electronic transactions. It enables secure transactions and is widely accepted by merchants globally, allowing customers to make payments efficiently.
# Prerequisites
Before using the Mastercard connector on Workato, you must have a Mastercard developers account. Complete the following steps to set up your account:
- Obtain a Mastercard developers account
- Create a new project in the Mastercard developer portal
- Configure environment and keys
- Export your signing key
# Obtain a Mastercard Developers account
Complete the following steps to obtain a Mastercard developers account:
Fill out the required fields and click Create account.
Activate your account through the link sent to your registered email address.
You can use your Mastercard Developer account to create projects, access APIs, and request production access.
# Create a new project in the Mastercard developer portal
Complete the following steps to create a new project in the Mastercard developer portal:
Create a project on your My Projects (opens new window) page.
Name your project.
Indicate whether you are creating a project on behalf of a client.
Provide the client company name and client company address (if applicable).
Select the API service you plan to integrate with.
Provide the Commercial countries for the project. This field represents where you are doing business.
Fill out additional details that the API service requires (if applicable).
# Configure your environment and keys.
Complete the following steps to configure your environment and keys:
Within your project, select Credentials.
Choose whether you are creating a Sandbox/Production key.
Click Add project key.
Enter your Sandbox key alias and keystore password.
Click Create key.
# Export your signing key.
Complete the following steps to export your key to .pem format. This is necessary to use the key in Workato.
To export your key to a PKCS#1 PEM file (BEGIN RSA PRIVATE KEY), run the following command:
openssl pkcs12 \-in key.p12 \-nodes | openssl rsa \-outform pem \-out pkcs1-key.pem
To export your key to a PKCS#8 PEM file (BEGIN PRIVATE KEY), run the following command:
openssl pkcs12 \-in key.p12 \-nodes | openssl pkcs8 \-topk8 \-nocrypt \-out pkcs8-key.pem
# How to connect to Mastercard on Workato
The Mastercard connector supports OAuth 1.0a authentication. Complete the following steps to establish a connection to Mastercard:
Click Create > Connection.
Search for and select Mastercard as your connection on the New Connection page.
Provide a name for your connection in the Connection name field.
Use the Location drop-down menu to select the project where you plan to store the connection.
Enter your consumer key in the Consumer key field.
Enter your private key in the Private key field.
Choose your environment in the Environment drop-down, if applicable.
Click Connect.
Mastercard connection
Last updated: 2/25/2025, 1:35:45 AM