Admin::WebhookConfirmations

Validate Checkin

This endpoint is sent to the partner at the address they registered using the create method of the webhook_checkin API. The payload sent to the partner is as follows:

  "type": "CHECK_IN_CREATED",
  "endpoint": "https://admin.staging.totalpass.com/api/v1/webhook_confirmations/TXIefq1R0-w59n6XLaMhR425lS0olXdTSnQ0qJUNZpnF2GGyUWcjrw==",
  "check_in": {
    "started_at": "2024-08-07T17:54:16.271-03:00",
    "plan_code": "59TADO9F",
    "expires_at": "2024-08-07T19:24:16.271-03:00"
  },
  "place": {
    "place": "5e701467-4d80-40a4-b78a-00490a6feb9b",
    "name": "Batatinha",
    "code": "59TADO9F"
  },
  "user": {
    "name": "Cleveland Wolf",
    "email": "tarra.cruickshank@yahoo.com",
    "phone": "6399907-8947",
    "document_number": "66844563680",
    "document_type": "cpf",
    "code": "EQ2B3FBK"
  }
} ```
post/webhook_confirmations/{TOKEN}

Request

  • Base URL
    https://gym-service-api.totalpass.com
  • URL
    https://gym-service-api.totalpass.com/webhook_confirmations/{TOKEN}
  • Auth
    none declared

Path parameters

TOKENstring required
Example:abcdef123456

The token used for validation of the checkin.

Response

Checkin successfully validated

string required

Changes

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