The API specification: docs.connect.squareup.com/api/connect/v2#endpoint-charge
{
"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": {
"status": "CAPTURED",
"card": {
"card_brand": "VISA",
"last_4": "1111"
},
"entry_method": "KEYED"
},
"created_at": "2016-03-10T22:57:56Z",
"id": "MtZRYYdDrYNQbOvV7nbuBvMF",
"location_id": "18YC4JDH91E1H",
"note": "some optional note",
"transaction_id": "KnL67ZIwXCPtzOrqj0HrkxMF",
"type": "CARD"
}
]
}
}