Skip to content
Sign in Create account

POST metrics/receipt-verifier

POST /api/v1/metrics/receipt-verifier

Records a public receipt-verifier usage result without returning a response body.

This operation needs no authentication.

Request body

application/json object

  • client string
    Length: at most 64 characters
  • error_class string
    Length: at most 64 characters
  • ok boolean required
  • version integer required
    One of: 1, 2

Generated sample

{
  "client": "string",
  "error_class": "string",
  "ok": true,
  "version": 1
}

Responses

204 The verifier metric was accepted without a response body.

422 The request failed validation.

application/json ReceiptsMetricsValidationError

  • errors object required

    Other keys: array of string

  • message string required
429 The route throttle limit was exceeded.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string