-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
PRPPatch Reward Program: This label is added to all PRP related issues for easy filteringPatch Reward Program: This label is added to all PRP related issues for easy filteringPRP:RequestPatch Reward Program: This issue is a PRP contribution request and is being reviewed by the panel.Patch Reward Program: This issue is a PRP contribution request and is being reviewed by the panel.
Description
Secret Name
Square Access Token
Risk in Exposing the Secret
Square access tokens can be used to access payment data, process transactions, retrieve customer information, manage inventory, access location data, and perform financial operations through the Square API. This could lead to unauthorized access to sensitive payment information, customer data, business analytics, and the ability to process fraudulent transactions or refunds.
Validation Method
One can validate the access token with the following endpoint:
curl https://connect.squareup.com/v2/locations \
-H "Authorization: Bearer access_token_here"
Alternatively, test with a simple merchant info request:
curl https://connect.squareup.com/v2/merchants \
-H "Authorization: Bearer access_token_here" \
Token Details
- Application tokens are associated with specific Square applications
Reference
Metadata
Metadata
Assignees
Labels
PRPPatch Reward Program: This label is added to all PRP related issues for easy filteringPatch Reward Program: This label is added to all PRP related issues for easy filteringPRP:RequestPatch Reward Program: This issue is a PRP contribution request and is being reviewed by the panel.Patch Reward Program: This issue is a PRP contribution request and is being reviewed by the panel.