Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Set up Mastercard spoke

Integrate the ServiceNow instance with the Mastercard account using the OAuth protocol (version 1.0a) for secure authorization to authenticate ServiceNow requests.

Before you begin

  • Request an Integration Hub subscription.
  • Activate the Mastercard spoke.
  • Role required: admin.

Attach a Mastercard certificate

Use the certificate generated during the Mastercard account configuration to sign the request and payloads.

Before you begin

  • Valid Mastercard certificate
  • Role required: admin

Procedure

  1. Navigate to All > System Definition > Certificates.

  2. Select New.

  3. On the form, fill in the fields:

    FieldDescription
    NameEnter a name to identify the certificate.
    TypeType of the certificate. Select PKCS12 Key Store.
    Notify on expirationSelect the list of users to be notified when the certificate expires.
    Warn in days to expireEnter the number of days when a notification is sent to users before a certificate expires.
    Key store passwordPassword to access the certificate. Use the destination keystore password specified when creating the certificate.
    ActiveOption to make the client certificate active.
    Short descriptionShort description of the user client certificate.
  4. Select the manage attachments icon (

Image omitted: attachments-icon.png
Manage attachments icon.\) and attach a Mastercard certificate.
  1. Select Validate Stores/Certificates to validate the certificate.

  2. Select Submit.

Create a credential record for Mastercard spoke

Create a credential record for your Mastercard account configuration. The Mastercard spoke connection and the credential alias uses these credentials to authorize actions.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > Connections & Credentials > Credentials.

  2. Select New.

    The system displays this message: What type of Credentials would you like to create?

  3. Select Mastercard Credential.

    A Mastercard Credential form displays.

  4. Enter these values.

FieldValue required
NameEnter any name to uniquely identify the record. For example, `Mastercard Credentials`.
ActiveEnable
Key aliasKey alias associated with the Mastercard account.
Keystore passwordThe password associated with the certificate.
Consumer keyConsumer key that you generated during the Mastercard configuration.
CertificateSelect the newly created Mastercard certificate.
Authentication AlgorithmCustom authentication algorithm for outbound signing requests. Select Mastercard algorithm.Note: You are cautioned against directly modifying the default authentication algorithm.
  1. Select Submit.

Create a connection record for Mastercard spoke

Create a connection record for your Mastercard account configuration. The Mastercard spoke connection and credential aliases use these connections to perform actions in Mastercard.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > Connections & Credentials > Connections & Credentials Aliases.

  2. Open the record for Mastercard Connection.

  3. On the Connections tab, select New.

  4. On the form, fill these values.

    FieldValue required
    Connection URLBase URL to connect to your Mastercard instance. For example, https://sandbox.api.mastercard.com.
    CredentialCredential record you that created for Mastercard.
  5. Right-click the form header and select Save.

  6. Ensure that api_version is set V6 in the Attributes related list.