Transaction
Retrieves a list of transactions.
Transactions attached to multi-currency orders are in the presentment currency by default. To retrieve transactions in the shop currency, include the URL parameter in_shop_currency=true.
get/admin/orders/{order_id:(?:\\d+)}/transactions.json
Query parameters
since_idnumber
Retrieve only transactions after the specified ID.
fieldsstring
Show only certain fields, specifed by a comma-separated list of fields names.
in_shop_currencyboolean
Show amounts in the shop currency.
Response
OK
Example response
{
"transactions": [
{
"amount": 10,
"authorization": "ch_1AtJu6CktlpKSclI4zjeQb2t",
"created_at": "2019-03-13T16:09:54-04:00",
"currency": "USD",
"currency_exchange_adjustment": {
"adjustment": -0.01,
"currency": "CAD",
"final_amount": -53.63,
"id": 1,
"original_amount": -53.62
},
"device_id": 1,
"gateway": "shopbase_payments",
"id": 999225661,
"kind": "capture",
"location_id": 49202758,
"message": "Marked the Cash on Delivery (COD) payment as received.",
"order_id": 450789469,
"parent_id": 584698724408,
"payment_details": {
"avs_result_code": "123456",
"credit_card_bin": "M",
"credit_card_company": "Visa",
"cvv_result_code": "M"
},
"processed_at": "2019-05-10T11:00:00-05:00",
"source_name": "web",
"status": "success",
"test": true,
"updated_at": "2019-03-13T16:09:54-04:00"
}
]
}