Endpoints

Restore purchases: walk every receipt, newest first, and answer with what was actually restored. A receipt that fails verification is skipped, a receipt held by another account answers 409 once the rest were tried.

post/api/v1/iap/restore

Request

  • Base URL: https://www.endlesstravelplans.com
  • URL: https://www.endlesstravelplans.com/api/v1/iap/restore
  • Auth: HTTP bearer

Request body

platform'ios' | 'android' required
receiptsstring[]

Example request

{
  "platform": "ios",
  "receipts": [
    "architecto"
  ]
}

Response

Recorded shape (tests/Fixtures/api-shapes/iap-restore.json)

expires_atstring
has_pro_accessboolean
kindstring
product_idstring
restoredboolean

Example response

{
  "expires_at": "string",
  "has_pro_access": true,
  "kind": "string",
  "product_id": "string",
  "restored": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.