- DATE:
- AUTHOR:
- The Toast - API team
New identifierSource and verification code source values in gift card integration
The Toast gift card integration now includes new enumeration values:
The
identifierSourcevalue of theTransactionInformationobject now includes aKEYED_ONLINEvalue. TheKEYED_ONLINEvalue indicates that a guest entered the identifier of a gift card account while using a Toast Online Ordering website.The source value of the
VerificationCodeobject now includes aVERIFIEDvalue. TheVERIFIEDvalue indicates that the Toast platform previously verified the gift card account verification code for this transaction. Typically, your integration receives a request with thesourceset toVERIFIEDfor subsequent transactions on an order, after the guest's account is already verified. If your integration receives a request with the verification code source set toVERIFIED, do not verify the guest's code again. For more information about verification codes, see Handle verification codes.
Note
If your gift card program has not opted-in to these features, your integration will not receive the new enumeration values. Contact developer support to inquire about adding Verification Code (PIN) support to your Toast API implementation scope.