Is there anyway to see which Apple Payment Token was used for a given transaction/payment via API? The webhook produces the card bin and last four of the payment, as well as the payment_reference_id ; I’m just trying to see which of these values I can used to map back to what was produced by the Apple system.
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
Unfortunately, the Square APIs do not provide a way to directly retrieve the Apple Payment Token used for a given transaction or payment. The webhook events and API responses typically include details such as the card brand, card bin, and last four digits of the card number, but they do not expose the Apple Payment Token itself. This is likely due to security and privacy considerations, as the token is meant to be a secure representation of the payment method. You can use the card bin and last four digits to identify the card used, but not the specific Apple Payment Token.