# 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:

  1. Obtain a Mastercard developers account
  2. Create a new project in the Mastercard developer portal
  3. Configure environment and keys
  4. Export your signing key

# Obtain a Mastercard Developers account

Complete the following steps to obtain a Mastercard developers account:

2

Fill out the required fields and click Create account.

3

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:

1

Create a project on your My Projects (opens new window) page.

2

Name your project.

3

Indicate whether you are creating a project on behalf of a client.

4

Provide the client company name and client company address (if applicable).

5

Select the API service you plan to integrate with.

6

Provide the Commercial countries for the project. This field represents where you are doing business.

7

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:

1

Within your project, select Credentials.

2

Choose whether you are creating a Sandbox/Production key.

3

Click Add project key.

4

Enter your Sandbox key alias and keystore password.

5

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.

1

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

2

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:

1

Click Create > Connection.

2

Search for and select Mastercard as your connection on the New Connection page.

3

Provide a name for your connection in the Connection name field.

4

Use the Location drop-down menu to select the project where you plan to store the connection.

5

Enter your consumer key in the Consumer key field.

6

Enter your private key in the Private key field.

7

Choose your environment in the Environment drop-down, if applicable.

8

Click Connect.

Mastercard connectionMastercard connection


Last updated: 2/25/2025, 1:35:45 AM