API Overview

This is an overview of the important resources and what​ they do.

🚧

Understand what resources to use

Please read Acquiring a Card to understand which resources to call

API CallSummaryDetails
Get Supported Product LinesSummaryProvides which brands can be acquired through channel. Can be polled at each transaction or periodically
RequiredContract ID
OptionalFirst, Limit, sort order, sort key
ResponseProductLineID, Name, Min accepted value, Max accepted value, discount
Get Quote SummaryBased on the card information provided, confirms whether GiftDeals will acquire this card and at what price (but not whether we will acquire it from a specific consumer)
RequiredMerchant (ProductLineID), GC #
OptionalPIN (conditional)
ResponseError Code OR face value, Offer, TranID, isCompleted
Fraud Check SummaryBased on the card and consumer information, BHN determines if the consumer passes fraud check and that BHN is willing to acquire that card from that customer
RequiredRequestID, ContractID, Location, Card (ProductLineID, GC #, PIN (conditional)), CardHolder/Seller (Name, Email, ID# OR CC# hash), Payout (eGift, Open Loop, Closed Loop, Cash)
Optional"PIN (conditional),
Cardholder/Seller:
{Phone, CC data encrypted (CC CVV, CC Exp MO, CC Exp YR, CC Zip (required if card collected)},
ID {ID#, ID Type (required if collected), Issue date, expire date, issuer city, issuer state, issuer country}"
Responsecansell?, isCompleted, Transaction ID, Reason Code
Acquire Card SummaryConfirms acquisition of the card
RequiredTransaction ID
OptionalLocation
ResponseTransaction ID, Face Value, Offer, isCompleted