The title says it. Imagine an app that needs transactions data from the seller to provide some analytical services to the seller. Does #square API provide this data? And if so, is it free? The website says it’s free and “Developers can build solutions using the Square platform to meet the business needs of Square sellers.” But I heard third party companies doing similar thing give sellers a separate tablet to instead insert the transaction information manually. So wondering what gives? https://developer.squareup.com/docs/square-get-started
Not all transactions will have a customer record related depending on how that transaction was created. If the merchant is just swiping cards in person, they aren't collecting any contact details, so no customer record. As for your use case, you'll probably want to subscribe to the relevant webhook so your app can get the heads up every time a payment goes through
When subscribing to the webhook, do I get any payment details, including customer info, with the callback?
If there is customer information, or order information, those foreign keys will be present when looking up the payment. Full definition here: https://developer.squareup.com/reference/square/objects/Payment
India
Yesterday
638
'Hindutva': The Radical Hindu Ideology That Seeks to 'Push Christianity Out of India’
World Conflicts
Yesterday
441
Why I Find Free Palestine Inspiring
Health & Wellness
4d
46316
High performers, how often do you have slack off days?
World Conflicts
Yesterday
589
Israeli precision-guided munition likely killed group of children playing foosball in Gaza, weapons experts say
Tech Industry
Yesterday
1555
Do people underestimate E6 role at meta?
Yes, but it depends on what kind of transaction data you are looking for. Payments: https://developer.squareup.com/reference/square/payments-api/list-payments Order details: https://developer.squareup.com/reference/square/orders-api Etc. But you won’t get access to pci scoped data like credit card numbers — just brand, last 4, etc.
Thanks. I mainly need, sales $ and buyer info. The last 4 digits of cc likely won’t be enough. I see there’s a customer_id in the order but does not show up in the json response example shown below it. Do you know if i can rely on customer_id to distinguish between customers? I understand i can’t identify customers using the customer_id but are they static for the same user so i can track the user across transactions?
For the same merchant, often yes. For different merchants, no. You can also use the card fingerprint for CC transactions.