Get Final Checkout Price - Revadike/InternalSteamWebAPI GitHub Wiki
GET /checkout/getfinalprice
Rate limits
No known rate limit
Request
Authenticated: Yes
Method:
GETHost:
store.steampowered.comPath:
/checkout/getfinalpriceQuery Parameters:
Name Type Required Description countstring Yes The number of items transidstring Yes The transaction ID purchasetypestring No TODOmicrotxnidstring No TODOcartstring No TODOgidReplayOfTransIDstring No The 64-bit ID of the transaction to replay
Response
200 OK
Name Type Description successnumber Whether the request was successful purchaseresultdetailnumber The purchase result detail code basestring TODOtaxstring The tax amount discountstring Whether the item is discounted shippingstring The shipping amount importfeestring TODOcurrencycodenumber TODOtaxtypenumber TODOproviderpaymentmethodnumber TODOwallettotalstring TODOwalletcreditchangednumber TODOhitminprovideramountnumber TODOrequirecvvnumber TODOtaxdetailsobject TODOtaxdetails.billingobject TODOtaxdetails.billing.countrystring The country code of the region (e.g. US)taxdetails.billing.statestring The state taxdetails.billing.postalstring The postal code taxdetails.shippingobject The shipping amount taxdetails.shipping.countrystring The country code of the region (e.g. US)taxdetails.shipping.statestring The state taxdetails.shipping.postalstring The postal code promotionsstring TODOlineitemsstring TODOwalletcreditlineitemsstring TODOuseexternalredirectnumber TODOtotalloyaltypointsnumber TODO
Example
GET https://store.steampowered.com/checkout/getfinalprice/?count=1&transid=3770265811108383083&purchasetype=selfµtxnid=-1&cart=4225938231351122551&gidReplayOfTransID=-1
{
"success": 2,
"purchaseresultdetail": 7,
"base": "0",
"tax": "0",
"discount": "0",
"shipping": "0",
"importfee": "0",
"currencycode": 0,
"taxtype": 0,
"providerpaymentmethod": 0,
"wallettotal": "0",
"walletcreditchanged": 0,
"hitminprovideramount": 0,
"requirecvv": 0,
"taxdetails": {
"billing": {
"country": "",
"state": "",
"postal": ""
},
"shipping": {
"country": "",
"state": "",
"postal": ""
}
},
"promotions": "",
"lineitems": "",
"walletcreditlineitems": "",
"useexternalredirect": 0,
"totalloyaltypoints": 473
}