Transactions

  • List transactions

  • Retrieve transaction

Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

<- Transactions API

Transactions API

All versions ->

Retrieve transaction

DEPRECATED

 /v2/locations/{location_id}/transactions/{transaction_id}

Retrieves details for a single transaction.

Permissions:PAYMENTS_READ

Deprecation date

2019-08-15

Retirement date

TBD

Replaced by

BatchRetrieveOrders

Migration guide
Link to section

Path parameters

Example code

Link to section

location_id

string

Required

The ID of the transaction's associated location.

Link to section

transaction_id

string

Required

The ID of the transaction to retrieve.

Link to section

Response fields

Link to section

errors

Any errors that occurred during the request.

Link to section

transaction

The requested transaction.

Link to section

Examples

All versions ->

GET /v2/locations/{location_id}/transactions/{transaction_id}
curl https://connect.squareup.com/v2/locations/18YC4JDH91E1H/transactions/KnL67ZIwXCPtzOrqj0HrkxMF \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json'

Response JSON

{ "transaction": { "id": "KnL67ZIwXCPtzOrqj0HrkxMF", "location_id": "18YC4JDH91E1H", "created_at": "2016-03-10T22:57:56Z", "tenders": [ { "id": "MtZRYYdDrYNQbOvV7nbuBvMF", "location_id": "18YC4JDH91E1H", "transaction_id": "KnL67ZIwXCPtzOrqj0HrkxMF", "created_at": "2016-03-10T22:57:56Z", "note": "some optional note", "amount_money": { "amount": 5000, "currency": "USD" }, "processing_fee_money": { "amount": 138, "currency": "USD" }, "type": "CARD", "card_details": { "status": "CAPTURED", "card": { "card_brand": "VISA", "last_4": "1111" }, "entry_method": "KEYED" }, "additional_recipients": [ { "location_id": "057P5VYJ4A5X1", "description": "Application fees", "amount_money": { "amount": 20, "currency": "USD" } } ] } ], "reference_id": "some optional reference id", "product": "EXTERNAL_API" } }