Transactions

Version 2019-10
Balance Transactions make up the canonical "statement of account", or ledger for a Shopify Payments account. Every single movement of money in or out of the account is recorded here.

What you can do with Transactions

The Shopify API lets you do the following with the Transactions resource. More detailed versions of these general actions may be available:

Transactions properties

id
"id": 54534554564

The unique identifier of the transaction.

type
"type": "charge"

The type of the balance transaction. The value will be one of the following:

  • charge
  • refund
  • dispute
  • reserve
  • adjustment
  • credit
  • debit
  • payout
  • payout_failure
  • payout_cancellation

test
"test": false

If the transaction was created for a test mode Order or payment.

payout_id
"payout_id": 1234

The id of the payout the transaction was paid out in.

payout_status
"payout_status": "scheduled"

The status of the payout the transaction was paid out in, or `pending` if the transaction has not yet been included in a payout.

currency
"currency": "USD"

The ISO 4217 currency code of the transaction.

amount
"amount": "102.53"

The gross amount of the transaction, in a decimal formatted string.

fee
"fee": "3.07"

The total amount of fees deducted from the transaction amount.

net
"net": "102.53"

The net amount of the transaction.

source_id
"source_id": 1234

The id of the resource leading to the transaction.

source_type
"source_type": "charge"

The