- DATE:
- AUTHOR:
- The Toast developer communication team
Analytics API
New values added to the analytics API guest reporting data
DATE:
AUTHOR:
The Toast developer communication team
The GET request for the /era/v1/guest/payments/{reportRequestGuid} endpoint of the analytics API includes three new values: cardLast4Digits, cardType, and paymentAccountReference. The cardLast4Digits is the last four digits of a guest’s payment card. The cardType value is the guest's payment card brand type. The paymentAccountReference value is the Payment Account Reference (PAR) assigned by the card network to identify a payment card account across different payment tokens and processors.
For more information, see the following documentation: