# Offers for Publishers API source: https://developer.mastercard.com/presentment/documentation/index.md ## Overview {#overview} The Mastercard Offers for Publishers API enables Publishers to add card-linked, merchant-funded offers to their websites and mobile apps. Publishers include banks and fintechs. Merchants fund the rewards. Cardholders earn cashback, points, or discounts when they pay with an enrolled Mastercard or non-Mastercard card. The offers program can drive top-of-wallet preference, promote spending, and increase engagement. The API provides endpoints for offer presentment, helping Publishers manage an end-to-end offers program across digital channels, including websites and mobile apps, using all capabilities available through the Offers for Publishers product. Note: For business benefits and program details, see the [Offers for Publishers product page](https://www.mastercardservices.com/en/capabilities/offers-publishers). ## How it works {#how-it-works} A Publisher, such as a bank or fintech, adds an offers program to its website or mobile app. The Publisher enrolls cardholders, requests an access token for each cardholder session, and then calls the API to present, activate, and track offers. Offers for Publishers matches qualifying purchases and returns rewards and savings that the Publisher displays to the cardholder. For endpoint-level flows, see [Use Cases](https://developer.mastercard.com/presentment/documentation/use-cases/index.md). Diagram offersforpublishers ### Initial partner setup {#initial-partner-setup} Before the first call, the Publisher creates a Mastercard Developers project, generates Sandbox credentials, and receives a Financial Institution Identifier (`fiId`). Sandbox testing uses `fiId` 999999. Follow the [Quick Start Guide](https://developer.mastercard.com/presentment/documentation/quick-start-guide/index.md) to complete these steps. ### Technical context {#technical-context} * Offers for Publishers is a REST API that exchanges JSON over HTTPS. * Requests are authenticated with OAuth 1.0a. * Sandbox and Production use separate base URLs and keys. * Presentment calls start with `POST /access-tokens`, then pass the returned token in the `x-auth-token` header. For authentication and environment details, see [API Basics](https://developer.mastercard.com/presentment/documentation/api-basics/index.md). ### Participants {#participants} * **Cardholder**: Eligible consumers in an offers program can redeem offers when they make qualifying purchases and meet the minimum offer threshold at their preferred merchants. * **Publisher**: The entity, such as a bank or fintech, responsible for making merchant offers available to cardholders through its offers program. This includes providing access to these offers through digital channels or interfaces, such as websites or mobile applications, where cardholders can view, access, and interact with the offers. * **Offers for Publishers**: The REST API that processes HTTP requests for GET, PUT, and POST operations from the Publisher. ### Outcome of use {#outcome-of-use} * Publishers can provide a premium offers program and decide which cardholders or consumers should participate in the program and receive personalized offers. * Cardholders can view offers and offer details that are available to them, activate an offer, rate an offer and redeem offers. * Cardholders can view their accumulated and potential savings. * Operational and backend systems can retrieve all rewards and all the offers that were issued by the financial institution. ## Next steps {#next-steps} Now that you have an understanding of how Offers for Publishers works, proceed to: * Our [Experience Design Guide](https://developer.mastercard.com/presentment/documentation/experience-design-guide/index.md) for implementation guidance, best practices, and end-to-end Figma-based white-label experience flows that you can adapt for your environment. * The [Quick Start Guide](https://developer.mastercard.com/presentment/documentation/quick-start-guide/index.md) for instructions on setting up your account, creating a project, generating credentials, submitting a Sandbox test request, and preparing your project for Production access. * The [API Basics](https://developer.mastercard.com/presentment/documentation/api-basics/index.md) section for information about authentication, encryption, and environment configuration requirements.