# Shopify Connector - Create transaction

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

You may read the Shopify documentation (opens new window) for more information on the transaction resource.

# Input

Field Description
Order ID The order ID for which the transaction is created.
Transaction amount The 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 ID The 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 authorization The authorization code associated with the transaction.
Transaction source An optional origin of the transaction. Set to external to import a cash transaction for the associated order.
Transaction type The type of the transaction. The full detail of valid transaction types can be found below.

# Transaction types

Type Description
authorization Money 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.
capture A transfer of money that was reserved during the authorization of a shop.
sale The authorization and capture of a payment performed in one single step.
void The cancellation of a pending authorization or capture.
refund The 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.

Field Description
ID The unique ID of this transaction.
Order ID The ID for the order that the transaction is associated with.
Amount The gross amount of the transaction, in a decimal formatted string.
Kind The type of the transaction.
Status The status of the transaction.
Gateway The name of the gateway the transaction was issued through.
Message A string generated by the payment provider with additional information about why the transaction succeeded or failed.
Test Whether the transaction was created for a test mode Order or payment.
Authorization The authorization code associated with the transaction.
Currency The ISO 4217 currency code of the transaction.
Location ID The ID of the physical location where the transaction was processed
User ID The ID for the user who was logged into the Shopify POS device when the order was processed, if applicable.
Parent ID The ID of an associated transaction.
Device ID The ID for the device.
Error code A standardized error code, independent of the payment provider.
Source name The origin of the transaction. This is set by Shopify and can't be overridden.
Created at The date and time when the transaction was created.
Receipt A transaction receipt attached to the transaction by the gateway. The value of this field depends on which gateway the shop is using.


Last updated: 10/19/2022, 6:28:33 AM

On this page