POST | /Product/Validate/Apple |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Receipts | body | AppleReceipt[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
transactionDate | form | int | No | |
originalTransactionIdentifierIOS | form | string | No | |
transactionReceipt | form | string | No | |
productId | form | string | No | |
originalTransactionDateIOS | form | string | No | |
transactionId | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Product/Validate/Apple HTTP/1.1
Host: tstsrvs.redhotpie.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Receipts":[{"transactionDate":0,"originalTransactionIdentifierIOS":"String","transactionReceipt":"String","productId":"String","originalTransactionDateIOS":"String","transactionId":"String"}]}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length [{"TransactionID":"String","ReceiptValidationResult":"Success"}]