Shopify - Create transaction action

This action creates a transaction for an order in Shopify. A transaction is created when an order results in an exchange of money.

Refer to the Shopify documentation for more information on the transaction resource.

Input

FieldDescription
Order IDThe order ID for which the transaction is created.
Transaction amountThe amount of money included in the transaction. If you do not provide a value, then it defaults to the total cost of the order (even if a previous transaction has been made towards it).
Transaction parent IDThe ID of an associated transaction. For capture transactions, the parent needs to be an authorization transaction. For void transactions, the parent needs to be an authorization transaction. For refund transactions, the parent needs to be a capture or sale transaction.
Transaction authorizationThe authorization code associated with the transaction.
Transaction sourceAn optional origin of the transaction. Set to external to import a cash transaction for the associated order.
Transaction typeThe type of the transaction. The full detail of valid transaction types can be found below.

Transaction types

TypeDescription
authorizationMoney that the customer has agreed to pay. The authorization period can be between 7 and 30 days (depending on your payment service) while a store waits for a payment to be captured.
captureA transfer of money that was reserved during the authorization of a shop.
saleThe authorization and capture of a payment performed in one single step.
voidThe cancellation of a pending authorization or capture.
refundThe partial or full return of captured money to the customer.

Output

The output to this action is a list of transactions. Each transaction include the following datapills.

FieldDescription
IDThe unique ID of this transaction.
Order IDThe ID for the order that the transaction is associated with.
AmountThe gross amount of the transaction, in a decimal formatted string.
KindThe type of the transaction.
StatusThe status of the transaction.
GatewayThe name of the gateway the transaction was issued through.
MessageA string generated by the payment provider with additional information about why the transaction succeeded or failed.
TestWhether the transaction was created for a test mode Order or payment.
AuthorizationThe authorization code associated with the transaction.
CurrencyThe ISO 4217 currency code of the transaction.
Location IDThe ID of the physical location where the transaction was processed
User IDThe ID for the user who was logged into the Shopify POS device when the order was processed, if applicable.
Parent IDThe ID of an associated transaction.
Device IDThe ID for the device.
Error codeA standardized error code, independent of the payment provider.
Source nameThe origin of the transaction. This is set by Shopify and can't be overridden.
Created atThe date and time when the transaction was created.
ReceiptA transaction receipt attached to the transaction by the gateway. The value of this field depends on which gateway the shop is using.

Last updated: