Endpoints

Validate an IAP receipt from iOS or Android.

post/api/v1/iap/validate

Request

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

Request body

platform'ios' | 'android' required
receiptstring required
product_idstring required

Example request

{
  "platform": "ios",
  "receipt": "architecto",
  "product_id": "architecto"
}

Response

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

expires_atstring
has_pro_accessboolean

Example response

{
  "expires_at": "string",
  "has_pro_access": true
}

Changes

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