The Transfer object represents the movement of funds to a merchant after an Order has been processed. Transfers may occur immediately during checkout or asynchronously, depending on your configured payment flow.

You can retrieve or search for Transfer objects using the following APIs:

Each of these endpoints returns a Transfer object containing key details such as status, amount, currency, related_bags, and any associated errors. This object helps determine whether a merchant has received their distribution for a specific Bag.

Understanding the Transfer object

Sample Transfer

{
    "id": 93001,
    "payment_provider_id": "tr_1QMsWtKUtPkD123456789asdf",
    "payout_account_id": 1025,
    "amount": 3290,
    "currency": "USD",
    "status": "SENT",
    "payment_provider": "STRIPE",
    "related_orders": [
        "148830"
    ],
    "related_bags": [
        "139177"
    ],
    "related_distributions": [
        "87770"
    ],
    "date_created": "2024-11-19T14:35:47+0000",
    "date_last_modified": "2024-11-19T14:35:47+0000",
    "errors": [],
    "payment_service": "STRIPE",
    "external_id": "tr_1QMsWtKUtPkD123456789asdf"
}

The following data is available in a Transfer object:

FieldTypeSample ValueNotes
merchant_idInteger12345The unique identifier of the merchant that this transfer is associated with.
payment_provider_transfer_idString“wz_789xyz”The unique identifier of the Transfer object in your payment provider.
statusStringSUCCESS , FAILEDDenotes what state the transfer is in. When associated to an EXTERNAL Transfer, this status is always SUCCESS
amountInteger10000Amount transferred, in fractional currency unit (e.g. cents).
currencyString“USD”Currency in which these funds were transferred.
related_bagsList of Integers[12345, 12346, 18283]Violet Bag IDs for which this transfer was processed.
related_ordersList of Integers[22345, 22346, 28283]Violet Order IDs for which this transfer was processed.
related_distributionsList of Integers[1118941, 1231123, 181283]Violet Distribution IDs for which this transfer was processed. The Distributions are the specific amounts for each Bag that were owed to this merchant.