Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Mervext Play API
description: Documents in. Structured fields out. Extract validated JSON from invoices, receipts, contracts and Danish leases. Per-field confidence. Zero-retention.
version: 0.7.15
security:
- X-API-Key: []
tags:
- name: Play
paths:
/v1/play/config:
get:
summary: What the store can sell right now
description: 'Lets the app tell "buy this" apart from "not switched on yet".
Prices are deliberately absent: Google Play returns the localised price for the signed-in
account, and a number printed here would be a second, staler source for the same fact.'
operationId: play_config_endpoint_v1_play_config_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Play
/v1/play/verify:
post:
summary: Verify a Google Play purchase and credit the plan
description: 'The app''s "I just bought it" call — and its "restore purchases" call, which is the same thing.
The purchase token is checked against Google before anything is granted, so a changed app cannot
mint itself a subscription. Repeating the call is safe: each billing period is granted once.'
operationId: play_verify_endpoint_v1_play_verify_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PlayVerifyRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Play
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
PlayVerifyRequest:
properties:
id_token:
type: string
title: Id Token
product_id:
type: string
title: Product Id
purchase_token:
type: string
title: Purchase Token
package_name:
anyOf:
- type: string
- type: 'null'
title: Package Name
type: object
required:
- id_token
- product_id
- purchase_token
title: PlayVerifyRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
X-API-Key:
type: apiKey
in: header
name: X-API-Key
description: 'Your Mervext API key. Free key: POST /v1/keys/free (when open) or your purchased master/key. Header: X-API-Key: <key>'