getTokenInfo

getTokenInfo

 

description: given the checkout token, returns the order information

ParameterTypeDescriptionRequired
api_tokenstringAPI TokenYES
checkout_tokenstringCheckout Token that was returned when using getCouponYES

Output:

VariableTypeDescription
statusstringOK or Error
messagestringError message
coupon_codestringCoupon Code associated with checkout token
product_codestringProduct Code that was sent
original_pricedecimaloriginal price of item that was received
discounted_pricedecimaldiscounted price of the item
discount_amountdecimalamount discounted
order_completedstringYES or NO if the order was completed
Was this article helpful to you? Yes No

How can we help?