Process Sale

process a sale using a gift card

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Parameters

The following parameters are available to process a gift card sale.

parameterdescriptionrequired
midthe Merchant ID (MID) assigned by USER.COMPANY_NAME or your merchant service provider (MSP)YES
amountthe total amount to processYES
creditcardthe gift card track dataYES
giftcardinteger value
1 = full redemption
8 = partial redemption
YES
invoiceidthe merchant invoice id associated with the saleYES
orderidunique merchant order tracking numberNO
ipaddressThe IP address of the client or server sending the requestNO
JSON Example

The following JSON example provides test values to process a gift card sale. You can copy and paste these values in the Body Params section above to be used by the Try It feature

{
  "transaction_data": {
    "mid": "887728202",
    "amount": "2.75",
    "creditcard": "6678249877878121",
    "giftcard": 1,
    "invoiceid": "INV-123332",
    "orderid": "193383",
    "ipaddress": "0.0.0.0"
  }
}

References

Body Params
transaction_data
object
required
Headers
string
required
length ≤ 24
Defaults to T6554252567241061980

The unique key identifying the app making this request.

NOTE: If testing use T6554252567241061980 for the Qor-App-Key header key.

string
required
Defaults to 01dffeb784c64d098c8c691ea589eb82

The Client key represents an authorized merchant account and is assigned by QorCommerce or your merchant service account provider.

NOTE: If testing use 01dffeb784c64d098c8c691ea589eb82 for the Qor-Client-Key header key.

string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json