Skip to main content

Available Purchase

Available Purchase

PropertyTypeiOSAndComment
productIdstringThe product ID for the product.
transactionReceiptstringiOS: The receipt. Android: Stringified JSON of the original purchase object.
transactionIdstringA unique order identifier for the transaction.
transactionDatenumberThe time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).
quantityIOSnumberThe number of items purchased.
originalTransactionDateIOSnumberFor a transaction that restores a previous transaction, the date of the original transaction.
originalTransactionIdentifierIOSstringFor a transaction that restores a previous transaction, the transaction identifier of the original transaction.
purchaseTokenstringA token that uniquely identifies a purchase for a given item and user pair.
autoRenewingAndroidbooleanIndicates whether the subscription renews automatically. If true, the subscription is active, and will automatically renew on the next billing date. Otherwise, indicates that the user has canceled the subscription.
dataAndroidstringOriginal json for purchase data.
signatureAndroidstringThe signature of the purchase data that was signed with the private key of the developer. The data signature uses the RSASSA-PKCS1-v1_5 scheme.
isAcknowledgedAndroidbooleanChecking if purchase has been acknowledged.
purchaseStateAndroidnumberIndicating purchase state.
packageNameAndroidstringGet package name.
developerPayloadAndroidstringhttps://developer.android.com/google/play/billing/developer-payload
obfuscatedAccountIdAndroidstringhttps://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountidBuilder#setobfuscatedaccountId
obfuscatedProfileIdAndroidstringhttps://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid

You need to test with one sandbox account, because the account holds previous purchase history.