Repository navigation
Init Checkout Transaction
Revadike edited this page Oct 16, 2026
·
1 revision
Initializes a checkout transaction on the legacy checkout flow, returning a transid that is used by the subsequent checkout steps (/checkout/getfinalprice/, /checkout/finalizetransaction/, /checkout/transactionstatus/).
No known rate limit
Authenticated: Yes
Method:
POSTHost:
checkout.steampowered.comPath:
/checkout/inittransactionForm Data:
Name Type Required Description gidShoppingCartnumber Yes The 64-bit ID of the cart gidReplayOfTransIDnumber No The 64-bit ID of a previous transaction to replay ( -1if none)bUseAccountCartnumber No When 1, uses the account cart instead of the legacy cartPaymentMethodstring Yes The payment method (e.g. visa,paypal,steamaccount)abortPendingTransactionsnumber No When 1, cancels any pending transactionsbHasCardInfonumber No When 1, the request includes credit card informationCardNumberstring No The credit card number (only for credit-card payment methods) CardExpirationYearnumber No The 4-digit credit card expiration year CardExpirationMonthnumber No The credit card expiration month FirstNamestring No The billing first name LastNamestring No The billing last name Addressstring No The billing street address AddressTwostring No The billing address line 2 Countrystring Yes The country code of the billing address Citystring No The billing city Statestring No The billing state/province PostalCodestring No The billing postal code Phonestring No The billing phone number ShippingFirstNamestring No The shipping first name ShippingLastNamestring No The shipping last name ShippingAddressstring No The shipping street address ShippingAddressTwostring No The shipping address line 2 ShippingCountrystring No The country code of the shipping address ShippingCitystring No The shipping city ShippingStatestring No The shipping state/province ShippingPostalCodestring No The shipping postal code ShippingPhonestring No The shipping phone number bIsGiftnumber No When 1, the purchase is a giftGifteeAccountIDnumber No The account ID of the gift recipient GifteeEmailstring No The email address of the gift recipient GifteeNamestring No The name of the gift recipient GiftMessagestring No The gift message Sentimentstring No The gift sentiment Signaturestring No The gift signature ScheduledSendOnDatenumber No Unix timestamp when the scheduled gift is sent BankAccountstring No The bank account number BankCodestring No The bank code BankIBANstring No The IBAN BankBICstring No The bank BIC/SWIFT code TPBankIDstring No The bank ID (e.g. for iDEAL bank selection) BankAccountIDstring No The bank account ID bSaveBillingAddressnumber No When 1, saves the billing address to the accountgidPaymentIDnumber No The 64-bit ID of the stored payment method bUseRemainingSteamAccountnumber No When 1, uses the remaining Steam Wallet balancebPreAuthOnlynumber No When 1, performs a pre-authorization only (update billing info)sessionidstring Yes The value of the sessionidcookie
Name Type Description successnumber Whether the request was successful ( 1on success)transidnumber The ID of the checkout transaction, used by the subsequent checkout requests purchaseresultdetailnumber The numeric error detail code ( 0on success)paymentmethodnumber The numeric payment method palpaltokenstring The PayPal token, set when the payment method is PayPal (checkout.js reads this as paypaltoken)specificerrortextstring The specific error message (only on failure)
POST https://checkout.steampowered.com/checkout/inittransaction { sessionid: "a0b1c2d3e4f5g6h7i8j9klmn" }
{
"success": 2,
"purchaseresultdetail": 0,
"paymentmethod": 0,
"palpaltoken": null,
"transid": null
}The example response was captured from an incomplete probe (empty form body, required fields omitted). No transaction was started.
