| 
									
										
										
										
											2018-01-10 17:18:23 +09:00
										 |  |  |  | # Transaction Object
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-16 05:13:18 +01:00
										 |  |  |  | * `transactionIdentifier` string - A string that uniquely identifies a successful payment transaction. | 
					
						
							|  |  |  |  | * `transactionDate` string - The date the transaction was added to the App Store’s payment queue. | 
					
						
							|  |  |  |  | * `originalTransactionIdentifier` string - The identifier of the restored transaction by the App Store. | 
					
						
							|  |  |  |  | * `transactionState` string - The transaction state, can be `purchasing`, `purchased`, `failed`, `restored` or `deferred`. | 
					
						
							| 
									
										
										
										
											2018-04-05 08:33:13 +02:00
										 |  |  |  | * `errorCode` Integer - The error code if an error occurred while processing the transaction. | 
					
						
							| 
									
										
										
										
											2021-11-16 05:13:18 +01:00
										 |  |  |  | * `errorMessage` string - The error message if an error occurred while processing the transaction. | 
					
						
							| 
									
										
										
										
											2018-01-10 17:18:23 +09:00
										 |  |  |  | * `payment` Object | 
					
						
							| 
									
										
										
										
											2021-11-16 05:13:18 +01:00
										 |  |  |  |   * `productIdentifier` string - The identifier of the purchased product. | 
					
						
							| 
									
										
										
										
											2018-04-05 08:33:13 +02:00
										 |  |  |  |   * `quantity` Integer  - The quantity purchased. | 
					
						
							| 
									
										
										
										
											2022-01-25 03:55:18 +11:00
										 |  |  |  |   * `applicationUsername` string - An opaque identifier for the user’s account on your system. | 
					
						
							|  |  |  |  |   * `paymentDiscount` [PaymentDiscount](payment-discount.md) (optional) - The details of the discount offer to apply to the payment. |