Tip via Gift Card
Enables a user to leave a tip (gratuity) using a gift card
- Type: string
uuid requiredUnique ID of the gift card used for the tip
- Type: string
x -pch -digest requiredThe signature for the API call
- Type: string
Authorization requiredUsed to authorize the request with access_token. It should 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
Content - Type requiredSet this header to application/json.
- Type: string
Accept requiredAdvertises which content types the client is able to understand
- Type: string
Accept - Language Preferred language
- Type: string
User - Agent requiredUsed to identify the software, device, and application initiating the request, providing information about the client to the server. For details, see User Agent.
- 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: integer
checkin _id requiredIdentifier of the check-in/order for which the tip is given
- Type: string
client requiredOAuth client ID provided by the business
- Type: number
tip requiredCurrency value of the tip, which should be less than or equal to the gift card balance
- Type: object
200 - Type: number
approved _amount Amount of the tip
- Type: integer
checkin _id Identifier of the check-in/order for which the tip is given
- Type: string
gift _card _uuid Unique ID of the gift card used for the tip
- Type: integer
location _id Unique ID of the location where the tip occurred
- Format: date-timeenum
tipping _time const:YYYY-MM-DDThh:mm:ssZDate/time when the tip was created in the system, in ISO 8601 format
Y Y Y Y - M M - D D Thh:mm:ss Z
{
"tipping_time": "YYYY-MM-DDThh:mm:ssZ",
"checkin_id": 1,
"location_id": 1,
"approved_amount": 1,
"gift_card_uuid": "string"
}