Changes

Jump to: navigation, search

Apps/WebApplicationReceipt

519 bytes added, 22:44, 17 April 2012
Data Fields
* <tt>nbf</tt>: A "not-before" timestamp (seconds from 1970-01-01T00:00:00Z in UTC, RFC3339), indicating when the purchase was completed
* <tt>iat</tt>: An "issued-at" timestamp (seconds from 1970-01-01T00:00:00Z in UTC, RFC3339), indicating when this receipt was issued
* <tt>exp</tt>: (optional) An "expiry" timestamp (seconds from 1970-01-01T00:00:00Z in UTC, RFC3339), indicating when this receipt will exipre
* <tt>detail</tt>: (optional) A URL that contains additional human- or machine-readable detail about the purchase
* <tt>verify</tt>: (optional) A URL that can be used by an authenticated application to verify a receipt
* <tt>reissue</tt>: (optional) A URL that can be used to re-issue a new receipt
=== the product field ===
The <tt>iat</tt> (issued at) field identifies the time at which the receipt was issued. This claim can be used to determine the age of the token.
 
=== the exp field ===
 
The <tt>exp</tt> (expiry) field identifies the time at which the receipt will expire.
=== the detail field ===
The <tt>verify</tt> field is a URL. Is is used for automated verification of a receipt by application receivers. See "Interaction with the verify URL", below.
 
=== the reissue field ===
 
The <tt>reissue</tt> field is a URL. Is is used for automated reissuing of receipts.
=== An example receipt ===
nbf: 131360185,
iat: 131360188,
exp: 141360188,
detail: "https://appstore.com/receipt/5169314356",
verify: "https://appstore.com/verify/5169314356", reissue: "https://appstore.com/reissue/5169314356"
}
Confirm
1,158
edits

Navigation menu