Mastercard Merchant Enrollment API

Number of APIs: 2

API to add or delete the merchants into the DS Platform. All request and response payloads are sent in the JSON (JavaScript Object Notation) data-interchange format. Each endpoint in the API specifies the HTTP Method used to access it.
Authentication
Mastercard uses OAuth 1.0a with body hash extension for authenticating the API clients.
This requires every request that you send to Mastercard to be signed with an RSA private key.
A private-public RSA key pair must be generated consisting of
1. A private key for the OAuth signature for API requests. It is recommended to keep the private key in a password-protected or hardware keystore.
2. A public key is shared with Mastercard during the project setup process through either a certificate signing request (CSR) or the API Key Generator. Mastercard will use the public key to verify the OAuth signature that is provided on every API call.
An OAUTH1.0a signer library is available on GitHub
The Merchant Enrollment API is provided in two environments
1. Sandbox (https://sandbox.api.mastercard.com) - Pre-production test environment containing the latest pre-release version of the real APIs, intended for full integration testing prior to moving to production.
2. Production (https://api.mastercard.com) - Full production environment containing the latest production API release.

Contact Support: Name: Service API Team name Email: apisupport@mastercard.com

  1. MerchantEnrollment - API to add/delete the merchants POST {{baseUrl}}/merchants

  2. MerchantEnrollment - API to get the status of the enrollment GET {{baseUrl}}/merchants?transaction_id=c4c3a330-251f-42cd-8aef-662524215b84&offset=0&limit=4