Yiftee-sandbox

FREE
By emgeee
Updated 4 months ago
Social
-/10
Popularity Score
-
Latency
-
Success Rate

Yiftee-sandbox API Documentation

Send gift cards through a single, simple REST API. Access thousands of local and national merchants (USA) through our Gifting Platform. From customer love to internal employee rewards, developers are using the API to create solutions that could only be accomplished before by physically buying and shipping plastic gift cards. Gifts can be tied to a specific location, perfect for converting online engagement to in-store traffic via measurable marketing campaigns. We are always looking for new use cases and case studies to feature so if you have any questions, comments, or general feedback drop us a line at [email protected]!

This API points to our sandbox server and no real gifts will be issues

View API Details
GETBalance
GETGift status
POSTGive a gift
Merchant
GETMerchant by city and state
GETMerchant by lat/lon
GETMerchant by zipcode
GETMerchant by id
GETNational Brands
GETOnline Merchants
GETMerchants by ids
GETBalance

retrieve account balance

Authorization:

description

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
api_tokenQUERY
REQUIREDYour API Token
api_secretQUERY
REQUIREDYour API Secret
Code Snippet
unirest.get("https://yiftee.p.rapidapi.com/account/balance")
.header("X-RapidAPI-Host", "yiftee.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://yiftee.p.rapidapi.com/account/balance
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://yiftee.p.rapidapi.com/account/balance")
.header("X-RapidAPI-Host", "yiftee.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication