Fovea.Billing

The In-App-Purchase Backend Solution for Cordova Developers

Customers API

This API has been DEPRECATED in favor of the Receipts API.

This developer documentation explains how to use the Customers API, which lets you retrieve your customers’ receipts data.


Get Customer

GET https://reeceipt-validator.fovea.cc/v1/customers/:applicationUsername

Retrieve data for a single user, knowing its applicationUsername. See the Application Username documentation.

URL Parameters

  • applicationUsername
    • Customer Identifier used by your application.
    • REQUIRED

Query Parameters

Example request:

curl 'https://reeceipt-validator.fovea.cc/v1/customers/my_user_identifier?appName=test&apiKey=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx'

Response is identical to a single customer as returned by the GET /customers request.

Example response:


List Customers

GET https://reeceipt-validator.fovea.cc/v1/customers

Query Parameters

  • appName and apiKey
  • bookmark
    • For running through pages of results
    • optional
  • limit
    • Number of results to return.
    • default: 50, max: 50
    • optional

Example request:

curl 'https://reeceipt-validator.fovea.cc/v1/customers?appName=test&apiKey=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx&limit=1'

Response

200 OK

Example response with 1 Android customer:

Example response with 1 iOS customer: