How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Mastercard Gateway API Merchant API

The Merchant API from Mastercard Gateway API — 10 operation(s) for merchant.

Mastercard Gateway API Merchant API is one of 2 APIs that Mastercard Gateway API publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Merchant. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 14 operations across 10 paths. It is described by OpenAPI 3.1.0, at version 100.

Requests are made against 2 base URLs: https://ap-gateway.mastercard.com/api/rest/version/100, https://{gateway_host}/api/rest/version/100.

14 operations 10 paths 0 schemas 1 DELETE5 GET3 POST5 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
100
Base URL
https://ap-gateway.mastercard.com/api
Authentication
HTTP Basic, Mutual TLS
Resource Areas
1

Authentication & Security 2

Mastercard Gateway API Merchant API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (BasicAuth). It requires mutual TLS (CertificateAuth). By default, every request must be authenticated.

  • BasicAuth — HTTP Basic authentication using merchant. as the username and the API password (integration password) as the password.
  • CertificateAuth — Client-certificate (mutual TLS) authentication, available as an alternative to password-based merchant authentication.

Paths & Operations 14

Across 10 paths, the API surfaces 14 operations — 1 DELETE, 5 GET, 3 POST, 5 PUT. Each is listed below with its method, path, parameters, and response codes.

Merchant 14
PUT
/merchant/{merchantId}/order/{orderid}/transaction/{transactionid}
Submit a transaction on an order
transaction 3 params body → 201400401
GET
/merchant/{merchantId}/order/{orderid}/transaction/{transactionid}
Retrieve a transaction
retrieveTransaction 3 params → 200
GET
/merchant/{merchantId}/order/{orderid}
Retrieve an order and all its transactions
retrieveOrder 2 params → 200
POST
/merchant/{merchantId}/session
Create a session
createSession 1 param body → 201
PUT
/merchant/{merchantId}/session/{sessionId}
Update a session
updateSession 2 params body → 200
GET
/merchant/{merchantId}/session/{sessionId}
Retrieve a session
retrieveSession 2 params → 200
POST
/merchant/{merchantId}/token
Create a payment token
createToken 1 param body → 201
PUT
/merchant/{merchantId}/token/{tokenId}
Create or update a payment token at a specific identifier
createOrUpdateToken 2 params body → 200
GET
/merchant/{merchantId}/token/{tokenId}
Retrieve a payment token
retrieveToken 2 params → 200
DELETE
/merchant/{merchantId}/token/{tokenId}
Delete a payment token
deleteToken 2 params → 200
PUT
/merchant/{merchantId}/3DSecureId/{3DSecureId}
3-D Secure authentication operation
threeDSecure 2 params body → 200
POST
/merchant/{merchantId}/hostedCheckout
Hosted Checkout initiation helper
hostedCheckoutInitiate 1 param body → 200
PUT
/merchant/{merchantId}/batch/{batchId}
Submit or close a batch of operations
batch 2 params body → 200
GET
/merchant/{merchantId}/gatewayStatus
Check the gateway availability
checkGateway 1 param → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mastercard-gateway-api-merchant-api-openapi.yml Raw ↑

Other APIs Mastercard Gateway API publishes across the network.

Mastercard Gateway API
Where this information came from

This is an independent, third-party profile of Mastercard Gateway API Merchant API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.