The API specification: docs.connect.squareup.com/api/connect/v2#endpoint-retrievetransaction
{
"transaction": {
"created_at": "2016-03-10T22:57:56Z",
"id": "KnL67ZIwXCPtzOrqj0HrkxMF",
"location_id": "18YC4JDH91E1H",
"product": "EXTERNAL_API",
"reference_id": "some optional reference id",
"tenders": [
{
"amount_money": {
"amount": 5000,
"currency": "USD"
},
"card_details": {
"card": {
"card_brand": "VISA",
"last_4": "1111"
},
"entry_method": "KEYED",
"status": "CAPTURED"
},
"created_at": "2016-03-10T22:57:56Z",
"id": "MtZRYYdDrYNQbOvV7nbuBvMF",
"location_id": "18YC4JDH91E1H",
"note": "some optional note",
"processing_fee_money": {
"amount": 138,
"currency": "USD"
},
"transaction_id": "KnL67ZIwXCPtzOrqj0HrkxMF",
"type": "CARD"
}
]
}
}