Create Loyalty Check-in
Creates a loyalty check-in for an online order against a given receipt. Requires menu items and parameters to be sent.
- Type: string
x -pch -digest requiredThe signature for the API call
- Type: string
Content - Type requiredSet this header to application/json.
- Type: string
Accept requiredAdvertises which content types the client is able to understand
- Type: string
User - Agent requiredFor details, see User Agent.
- Type: string
Authorization requiredYou may pass the access_token instead of the authentication_token in Online Ordering endpoints to authorize the request. It must be supplied as
Bearer ACCESS_TOKEN_GOES_HERE. Note: When authentication is performed using Advanced Authentication, you must include theid_tokenin theid-tokenheader and theaccess_tokenin theAuthorizationheader. See Access Punchh APIs Using Access and ID tokens - Type: string
id -token A token that contains identity information about the authenticated user. It is used to verify the user’s identity and is required only when authentication is performed using Advanced Authentication. This token alone does not grant access to Punchh APIs. To access the APIs, you must include the
id_tokenin theid-tokenheader and theaccess_tokenin theAuthorizationheader. See Access Punchh APIs Using Access and ID tokens
- Type: string
authentication _token The authentication token of the user. You can retrieve this from the response of a successful sign-in API call or through the SSO process.
- Type: string
cc _last4 Last 4 digits of credit card number
- Type: stringenum
channel Channel through which the check-in was requested. Possible values are:
online_order,pos,web,mobile,dashboard,chatbot,kiosk.pos web online _order mobile dashboard chatbot kiosk
- Type: string
client requiredClient key of the business
- Type: string
employee _id ID of the employee who took the order. In case of a system order, it can be a system-generated ID.
- Type: string
employee _name Name of the employee who took the order. In case of a system order, it can be the name of the system.
- Type: string
external _uid requiredUnique ID generated by your system. We use this to prevent duplicates in case the same transaction gets triggered twice.
- Type: array Menu Items (Object)[]
- Type: string
payable requiredAmount paid after applying discounts and adding any taxes or service charges. For example, if the order amount is $10, the values of the
receipt_amountandsubtotal_amountparameters will be $10. If a $2 discount is applied,subtotal_amountbecomes $8. However, if there are $3 service charges and $1 tax, the value of thepayableparameter becomes $12 (10 – 2 + 3 + 1 = 12). - Type: numberFormat: double
receipt _amount requiredOrder amount before taxes, calculated as the sum of all item amounts minus any discounts. This is the amount used to calculate loyalty points/visits. The value of this parameter should match
subtotal_amount. For example, if the order amount is $10, bothreceipt_amountandsubtotal_amountwill be 10. If a $2 discount is applied, both will be 8. - Type: string
receipt _datetime requiredTimestamp of the receipt as per ISO 8601, in YYYY-MM-DDThh:mm:ssZ format
- Type: string
revenue _code Name of the online ordering function that designates order fulfillment method (e.g., to-go/take out, call-in pickup, call-in deliver, etc.). Some online ordering systems call this Revenue Center, Order Method, Order Mode, etc. The values assigned here should represent the way the order is fulfilled for the customer, not the area in the restaurant where the order is placed (e.g., not bar, patio, dining room, etc.).
- Type: object
200 - Type: object
checkin - Type: integer
checkins Total number of check-ins for this online order
- Type: string
first _name First name of the user
- Type: string
last _name Last name of the user
- Type: integer
points Total points earned for this online order
400 Sending missing/incorrect params, bad encoding etc
401 Sending invalid credentials
412 Sending invalid Signature
422 Sending invalid Entity
{
"first_name": "string",
"last_name": "string",
"checkins": 1,
"points": 1,
"checkin": {
"created_at": "2025-12-19T16:30:10.408Z",
"external_uid": "string",
"checkin_id": 1,
"pending_points": 1,
"pending_refresh": true,
"points_earned": 1,
"bar_code": "string"
}
}