Process Sale

process a sale using a gift card

Parameters

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

parameterdescriptionrequired

mid

the Merchant ID (MID) assigned by {user.company_name} or your merchant service provider (MSP)

YES

amount

the total amount to process

YES

creditcard

the gift card track data

YES

giftcard

integer value
1 = full redemption
8 = partial redemption

YES

invoiceid

the merchant invoice id associated with the sale

YES

orderid

unique merchant order tracking number

NO

ipaddress

The IP address of the client or server sending the request

NO

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

Language
Click Try It! to start a request and see the response here!