Skip to main content

Gift card API for automated digital rewards and payouts

Integrate once to send digital gift cards and prepaid cards from your product, platform, or workflow. Configure the reward experience, automate delivery, and track what happens after every send.

Not sure where to start? Explore the Developer Hub → 

Send digital payouts and incentives quick and easy with a multi-brand gift card and prepaid card API

One integration to send 1,500+ gift card brands across 40+ countries, plus Visa® or Mastercard® prepaid cards to 150+ countries

  No API usage fees + free sandbox access

  99.95% uptime commitment

SOC 2 Type II compliant

Ask us anything

Questions for a developer, or anything else? We're here to help.

Fast integration

Sandbox tokens work instantly. Devs can often build a program out within days (or even hours), not weeks.

Reliable

Backed by 99.95%+ uptime and SOC 2 Type II compliance, so your reward program stays online when you need it.

White label

Direct Links keep your brand front and center, so recipients get a clean, professional experience with every reward.

Better pricing

Pay only face value with no fees to integrate or send, so your program stays cost-efficient at any scale.

Everything a developer needs, in one place

From your first API call to production launch, the Developer Hub walks you through quick start guides, delivery method options, and a pre-launch checklist so you and your team can move fast without guesswork. 

Flexible email, link, and in-app reward delivery

Send a wide range of denominations, from a few cents to a few thousand dollars, depending on the selected reward. Offer one brand, a select set of curated brands, or access to the full global catalog.

Send standard or promotional rewards, emailed with a set template. Or use flexible Direct Links for a complete reward experience in a single URL.

Learn more about all of the catalog features here.

Giftbit API docs

An API built for production operations

Production-ready API capabilities without fees

Leverage the full functionality of the Giftbit API right away, with no cost or barriers to access the sandbox environment.

RESTful API with JSON responses
Bearer-token authentication
Free Testbed environment
Client-supplied order IDs for idempotent retries
Adaptive rate limiting and recommended retry handling
Order, delivery and redemption records
Open-source API documentation

🛡️ Note before you build: Giftbit follows a standard Know Your Business (KYB) review for all new accounts. Reach out to sales@giftbit.com if you have any questions about eligibility.

Hassle-free access to the global catalog

With minimal dev hours and simple API keys, Giftbit’s open environment ensures smooth rewards integration across a wide range of approved use cases, including employee and customer incentives, mircro-rewards, and gamification platforms.  

Brands and retailers in the catalog include best-in-class favorites like Amazon, Starbucks, Walmart, and Dunkin’, along with prepaid cards from Visa and Mastercard.

Bryan Dwyer, Giftbit Chief Product Officer

Giftbit's API quickly delivers rewards that work how you need them to.

We built our API for easy, reliable integration. It gives your system access to our global catalog of digital gift cards and prepaid cards, delivered as rewards which can be customized just how you need.

Stability and uptime are also exceptional, expanding your capabilities without adding ongoing costs or complexity.

Bryan Dwyer, Chief Product Officer | Giftbit

Fully customized automation

With Giftbit’s RESTful API, you (or your developer) will unlock access to 1,500+ digital gift cards and prepaid cards from the world’s top brands, like Starbucks, Amazon, and Mastercard®.

Embed a customized global incentive solution in just a few hours, with reliable support throughout. Plus, SOC 2 compliance ensures smooth approval from leadership and IT security teams.

Direct link API call for a single brand, Starbucks. Direct link API call for a single brand, Starbucks.
Tracking and reporting on digital gift card  API program. Tracking and reporting on digital gift card  API program.

On-demand reporting and 360° clarity

Robust reporting features give you insights into customer behavior, plus clarity on operations and ROI. Track and monitor redemption, delivery, financials, and more. Then use this data to prevent fraud, track success, and iterate and scale your program. 

Learn more about reporting features here.

 Redemption

 Delivery

 Financial

 Operations

No fee gift card API.

Flexible pricing with no integration fees

Build the delivery experience you need without API integration or sending fees. Set optional claim deadlines free-of-charge, so a portion of credits from unclaimed promotional rewards return to your account. Transparent reporting lets you see exactly what's happening to your program, even after you click 'send.'

Planning to send a high volume? We offer revenue sharing and discounts.

Consistent recipient experience.

A consistent recipient experience

Deliver a consistent, fully customized reward experience your recipients will love. Our Partnerships team sources the smoothest redemption processes available. And with industry-leading recipient support, your audience is always in good hands.

Real API programs, measurable results

From saving 10 hours a week to expanding a reward offering by 30%, real teams rely on Giftbit's API to automate rewards at scale.
Market research incentives.
Market research incentives.

Market research

See how one project manager saves 10 hours after integrating Giftbit's API with Sawtooth to automate market research rewards.

Automated incentives for drivers.
Automated incentives for drivers.

Driver incentives

See how streamlined gift card distribution and a global catalog support this company's international expansion.

Points-to-rewards API gift card program.
Points-to-rewards API gift card program.

Points-to-rewards

See how a simple call to Giftbit's API increased this company's  reward offering by 30% and strengthened its points-to-rewards redemption program.

How the Giftbit gift card API works

Build and test your complete reward workflow in Giftbit's free Testbed environment before moving into production.

Need support or help with strategy? An API expert is just a chat, email, or call away.

Or prefer a guided walkthrough? Follow the Quick Start Guide to generate your first token and send your first test reward

checkmark graphic checkmark graphic

Step 1: Authenticate in Testbed

Review the API docs,  create a Testbed account, generate your API token and authenticate requests using a Bearer token. 

Set up your Testbed account →

checkmark graphic checkmark graphic

Step 2: Find eligible rewards

Use GET /brands to retrieve the gift cards and prepaid rewards available for the recipient’s region, currency and reward value.

checkmark graphic checkmark graphic

Step 3: Choose and deliver the reward

Choose the workflow that fits your recipient experience:

  • Have Giftbit send a customized reward email.
  • Return a Direct Link for delivery through your own email, SMS or messaging system.
  • Embed reward selection and delivery within your application.

Compare API reward delivery methods → 

checkmark graphic checkmark graphic

Step 4: Track and manage the reward

Associate orders with your own transaction, campaign or user identifier. Retrieve processing, delivery and redemption information through Giftbit’s API, and reattempt eligible email deliveries when needed.

View the API documentation →

checkmark graphic checkmark graphic

Step 5: Ready to go live?

Use the Production Checklist to test error handling, funding, delivery and other production requirements to harden your integration. Then submit an access request for approval.

When you’re ready to move from Testbed to Giftbit’s production API, follow the final steps in our API documentation. You’ll be sending rewards automatically in no time.

Frequently Asked Questions

Getting started

What is a gift card API?

A gift card API (Application Programming Interface) is a tool used by developers to integrate the ordering and sending of gift cards directly into their own software, app, or platform. It lets businesses deliver digital gift cards either in-app or via other channels, and ideally also gives them access to tracking features and a wide global catalog of gift cards.

A good gift card API provider will also let you send prepaid cards like those from Visa® and Mastercard.®

How do I get started?

Developers can start using the Giftbit gift card API by reading the API documentation, and then setting up their free Sandbox account. There are no API usage fees - just a fast and flexible start with gift card API software. 

If you are a program manager or other stakeholder, simply direct your developer to this Giftbit API page.

Everyone is also free to book time with Matt Brossard, our integration specialist. Our team has dedicated technical and business resources to help you determine the best path to get started.

How long does it take to integrate with Giftbit's gift card API?

Gifbit’s developer-friendly gift card and prepaid card API is designed to integrate quickly. Interactions with Giftbit endpoints are straightforward, so most developers only need a few hours to get functions like ordering gift cards working. 

That said, the amount of time it takes to build and test an integration will depend on the scope of work involved. For example, if you intend to embed link-based rewards in a recipient portal, you may need to spend additional development time to create a suitable front-end experience. 

When it’s time to go live, most integrations are granted API access the same day they signal production readiness.

Is there a sandbox environment for testing the API?

Yes, you can sign up for free access to the Sandbox environment at testbed.giftbit.com. Your Testbed account will give you a large virtual account balance that you can use to try out both placing test orders and redeeming test cards using our API gift card system. 

Account & eligibility

What is KYB and what businesses are eligible?

Giftbit conducts a standard Know Your Business (KYB) review and use-case assessment for all new accounts.

KYB is the mandatory due diligence process financial institutions use to verify the legal identity, ownership structure, and beneficial owners of a business entity.

Broadly, the criteria for Giftbit is:

  • Established presence: your business and website should be active and in good standing for at least 12 months.
  • Regional requirements: we primarily serve entities formed in or with a business presence in the U.S. or Canada.
  • Use-case alignment: your program must align with approved rewards and incentive use cases.

If you have concerns about the eligibility of your program, please reach out to sales@giftbit.com for review.

 

What is the average uptime for the Giftbit gift card API?

Giftbit uses commercially reasonable efforts to make services available with a monthly uptime percentage of at least 99.95%. The actual uptime over the last two years is closer to 99.99%.

Using the API

How do I use API keys?

API keys and tokens are used to authenticate and authorize access to an API. In this case, you’ll use your API key to enable your application to securely interact with Giftbit’s gift card API. Then you’ll use your API key for tasks like ordering, tracking, and sending digital gift cards or prepaid cards.

To access your key, log in to your account and navigate to Account → API Keys.

How do I access the API key?

To access an API token for the Giftbit Testbed environment, sign up for your Testbed account and visit the Account → API keys section.

When you’re ready to set your integration live, you'll need a new key for the live account. Fill out this form or contact sales@giftbit.com to signal production readiness. We’ll enable permissions so you can generate an API token in your production account.

Access is typically granted within 24 hours but can take longer if more information is required. 

Can I pull order history or reward status from the API?

Yes, you can pull order history and status from the API.

Specifically, you can access order processing status and delivery information using the /campaign endpoint. 

You can pull campaign records using either your request ID, or the system generated UUID provided by Giftbit when you create a reward. 

Similarly, you can pull individual reward records using either your request ID, or the UUID provided by Giftbit. 

And you can access redemption status from the /gifts endpoint. 

Refer to the API documentation  for more instructions on how to utilize appropriate record identifiers in GET requests, or email hello@giftbit.com

Can I customize the choice of reward brands using the API?

Yes, everyone who uses Giftbit can choose to give their recipients a customized selection of brands, or a single brand per reward. You also have the option to give your recipients access to the full global catalog.

To send a single brand, your API request will contain only one brand code.

To send a customized choice of brands, your API request will contain a list of brand codes.

To send a reward with the full catalog, your API request will contain a region and a price, but you will omit the brand code(s).

Refer to the API documentation for more detail about constructing working requests.

What information can I attach to an API order?

You can attach any custom information you want to associate with a reward, such as time stamps, transaction numbers, campaign IDs, or user identifiers by embedding those details in the user supplied ID. The ID parameter is a custom identifier used in your API requests that accepts a long string. 

Each request ID is idempotent, meaning every value needs to be unique from request to request. Keep this in mind when designing the ID you will include in your API requests.

How can I retrieve a list of reward brands from the API?

GET /brands returns a list of reward brands available from Giftbit, including detailed information like the brand_code and an allowed price to include in your API calls. Some brands only allow certain fixed values, while others have an allowed range. 

You can restrict the results list with any combination of price, currency, region, or search terms.

How do I create a non-expiring reward using the API?

By default, all rewards delivered using the API are non-expiring. You’ll also have the option to provide an expiration date in your API call, to limit the period in which your recipients can choose a reward or reveal a card.

Learn more about catalog features like Standard and Promotional reward options here.

How do I create gift card links using the API?

The Giftbit gift card and prepaid card API allow for link-based reward delivery. There are two types of links you can use here: direct_link or shortlink.

Direct links go straight to the reward itself, so you don’t need to add extra messaging or branding. They’re best for tasks like merging into emails delivered by a system other than Giftbit, where you don’t need to provide your recipients much added context.

Use the /direct_links endpoint to request direct link rewards.

Alternatively, shortlinks will first direct your recipients to a landing page which includes your company logo, as well as your custom message. These are often used for delivering shorter messages via SMS or social channels, or any time you need to provide your recipients more context.

Use the /campaign endpoint along with the delivery_type: SHORTLINK property to request shortlink rewards.

How do I trigger an email delivery reattempt using the API?

To trigger an email delivery reattempt, make a PUT request to the /gifts endpoint to manage the reward lifecycle and fulfilment functions.

Is there a white label format available from the API?

Many developers use the Giftbit API specifically because they need white label options. To create a white label experience, we recommend using direct links, which are fully embeddable, have neutral looking presentation, and contain minimal instances of references to Giftbit. 

Reach out if you have any more questions.