# Get user purchase history Get all purchases made by the authenticated user. Financial records require proper user attribution. Replaces GET /purchase/auth Endpoint: GET /purchases/me/history Version: 2.0.2 Security: projectKey, authUserJWT ## Response 200 fields (application/json): - `id` (string, required) Purchase id - `stripePaymentIntentId` (string, required) Stripe Payment Intent id - `status` (object, required) Purchase status - `amount` (number, required) Amount to pay in cents - `currency` (string, required) Currency Enum: "eur" - `quantity` (number, required) Quantity of tokens to purchase - `purchaseToken` (object, required) Purchase Token - `purchaseToken.id` (string, required) Purchase Token id - `purchaseToken.description` (string, required) Purchase Token description - `purchaseToken.token` (object, required) Token - `purchaseToken.token.id` (string, required) Id of the token - `purchaseToken.token.contractAddress` (string, required) Address of the token - `purchaseToken.token.metadata` (array) Metadata of the token, this is optional and can be null in case of Point token - `purchaseToken.token.metadata.imageUrl` (string) This is the URL to the image of the item. Can be just about any type of image (including SVGs, which will be cached into PNGs by OpenSea), IPFS or Arweave URLs or paths. We recommend using a minimum 3000 x 3000 image. - `purchaseToken.token.metadata.externalUrl` (string) This is the URL that will appear below the asset's image - `purchaseToken.token.metadata.description` (string) A human-readable description of the item. Markdown is supported. - `purchaseToken.token.metadata.name` (string) Name of the item. - `purchaseToken.token.metadata.expiryDate` (string) expiry date in case of an utility reward - `purchaseToken.token.metadata.animationUrl` (string) A URL to a multi-media attachment for the item. The file extensions GLTF, GLB, WEBM, MP4, M4V, OGV, and OGG are supported, along with the audio-only extensions MP3, WAV, and OGA. Animation_url also supports HTML pages, allowing you to build rich experiences and interactive NFTs using JavaScript canvas, WebGL, and more. Scripts and relative paths within the HTML page are now supported. However, access to browser extensions is not supported. - `purchaseToken.token.metadata.youtubeUrl` (string) A URL to a YouTube video (only used if animation_url is not provide - `purchaseToken.token.metadata.creatorAccountAddress` (string) Creator Address - `purchaseToken.token.metadata.previewUrl` (string) Preview Url - `purchaseToken.token.metadata.id` (string, required) Token Metadata id - `purchaseToken.token.metadata.animationWeb3StorageUrl` (string) web3 storage url for the animation file - `purchaseToken.token.metadata.imageWeb3StorageUrl` (string) web3 storage url for the image - `purchaseToken.token.metadata.web3StorageUrl` (string) Storage Url - `purchaseToken.token.metadata.tokenMetadataIncrementalId` (number, required) Token Metadata Incremental Id - `purchaseToken.token.metadata.isActive` (boolean, required) Is active - `purchaseToken.token.abi` (object, required) this is the abi of the contract, this is the interface of the contract to interact with it - `purchaseToken.token.chainId` (number, required) this is the chain id of the chain where the token is deployed - `purchaseToken.token.abiUrl` (object, required) this is the url of the abi of the contract, to be used to fetch the abi of the contract - `purchaseToken.token.name` (string) this is the name of the token contract - `purchaseToken.token.symbol` (string) this is the symbol of the token contract, this is optional and can be null - `purchaseToken.token.decimals` (number) this is the decimals of the token. This is optional and only used for ERC20 tokens (Points) - `purchaseToken.token.isActive` (boolean, required) This can be used to enable or disable the token - `purchaseToken.token.isGallery` (boolean, required) This can be used to enable or disable the token for gallery - `purchaseToken.token.type` (string, required) This is the underlying web3 native type of the token contract Enum: "ERC20", "ERC1155", "ERC721" - `purchaseToken.contractTokenId` (object, required) optional contract token id - `purchaseToken.purchaseType` (object, required) Purchase Type - `purchaseToken.purchaseType.conversionRate` (number, required) Conversion Rate of the token - `purchaseToken.purchaseType.currency` (string, required) Currency of the token Enum: "eur" - `purchaseToken.purchaseType.id` (number, required) Purchase Type id - `purchaseToken.isActive` (boolean, required) Purchase Token isActive - `user` (object, required) User - `user.id` (string, required) - `user.email` (object) - `user.firstName` (object,null, required) User first name - `user.lastName` (object,null, required) User last name - `user.externalId` (object,null, required) User external id - `user.instagramAccountId` (object,null, required) Instagram account id - `user.googleAccountName` (object,null, required) Google account name - `user.customData` (object, required) Custom data - `user.publicProfile` (object,null, required) Public profile data - `user.currentSigningAccountId` (object) Current active signing account ID for external wallet operations - `user.wallets` (array, required) User-owned counterfactual smart contract wallets that can receive tokens - `user.wallets.id` (string, required) Unique identifier for the internal wallet - `user.wallets.ownerType` (number, required) Owner type for polymorphic ownership Enum: {"USER":"user","BUSINESS":"business","TENANT":"tenant","SYSTEM":"system","EXTERNAL":"external"} - `user.wallets.ownerId` (string, required) Owner ID for polymorphic ownership Example: "user_123" - `user.wallets.walletManagementType` (number, required) Type of internal wallet Enum: {"CUSTODIAL":"custodial","NON_CUSTODIAL":"non-custodial"} - `user.wallets.address` (string, required) CREATE2 generated address that can receive tokens - `user.wallets.chainId` (number, required) Blockchain network chain identifier - `user.wallets.status` (number, required) Current status of the wallet Enum: {"PENDING":"pending","ACTIVE":"active","SUSPENDED":"suspended","ARCHIVED":"archived"} - `user.wallets.salt` (string, required) CREATE2 salt used for deterministic address generation - `user.wallets.ownerSigningAccountId` (object,null) ID of signing account that owns this internal wallet - `user.wallets.tags` (array, required) Tags associated with the wallet for categorization - `user.wallets.createdAt` (string, required) Timestamp when the wallet was created - `user.wallets.updatedAt` (string, required) Timestamp when the wallet was last updated - `user.accountAddress` (object,null, required) User account address - `business` (object, required) Business - `business.id` (string, required) The id of the business, this is unique and will be used to identify the business. - `business.email` (object,null, required) The email of the business, this is unique and will be used to identify the business. - `business.accountAddress` (object,null, required) The address of the business, this is the address that will be shown to the public. - `business.businessLegalName` (object,null, required) The legal name of the business, this is the name that will be used for legal purposes. - `business.displayName` (object,null, required) The display name of the business, this is the name that will be shown to the public. - `business.description` (object,null, required) The description of the business, this is the description that will be shown to the public. - `business.shortDescription` (object,null, required) The short description of the business, this is the description that will be shown to the public. - `business.websiteUrl` (object,null, required) The website of the business, this is the website that will be shown to the public. - `business.imageUrl` (object,null, required) The image of the business, this is the image that will be shown to the public. - `business.streetAddress` (object,null, required) The address of the business, this is the address that will be shown to the public. - `business.city` (object,null, required) The city of the business, this is the city that will be shown to the public. - `business.postalCode` (object,null, required) The postal code of the business, this is the postal code that will be shown to the public. - `business.coordsLatitude` (object,null, required) The latitude of the business, this is the latitude that will be shown to the public. - `business.coordsLongitude` (object,null, required) The longitude of the business, this is the longitude that will be shown to the public. - `business.businessType` (object,null, required) The business type of the business, this is the business type that will be shown to the public. - `business.businessType.id` (number) Business type id - `business.businessType.name` (string,null, required) Business type name - `business.businessType.description` (string,null, required) Business type description - `business.businessType.code` (string,null, required) Business type code - `business.businessType.iconUrl` (string,null, required) Business type icon url - `business.isActive` (boolean, required) The status of the business, this is the status that will be shown to the public. - `business.canMintToken` (boolean, required) The ability to mint token for the business, this is the ability that will be shown to the public. - `business.canChargeToken` (boolean, required) The ability to charge token for the business, this is the ability that will be shown to the public. - `business.canManageUsers` (boolean, required) The ability to manage users for the business, this is the ability that will be shown to the public. - `business.canReceiveDonation` (boolean, required) The ability to receive donation for the business, this is the ability that will be shown to the public. - `donationAccountAddress` (string) Donation Account Address - `donationType` (object) Donation Type - `donationType.percentage` (number, required) Percentage of donation - `donationType.id` (number, required) Id of the donation type - `createdAt` (string) create date - `updatedAt` (string) update date