- 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
identifierSource
value of theTransactionInformation
object now includes aKEYED_ONLINE
value. TheKEYED_ONLINE
value indicates that a guest entered the identifier of a gift card account while using a Toast Online Ordering website.The source value of the
VerificationCode
object now includes aVERIFIED
value. TheVERIFIED
value indicates that the Toast platform previously verified the gift card account verification code for this transaction. Typically, your integration receives a request with thesource
set toVERIFIED
for 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.