Process Transfers for Orders

circle-info

This endpoint only accepts order_ids in the request body. Passing in any other fields will result in an exception.

Process Transfers for Orders

post

Initiates payout transfers for multiple orders in a single batch request. The request body must contain a list of order IDs to process. Transfers are sent to the merchant's configured payout account via the appropriate payment provider (e.g., Stripe, External). The response separates results into successful and failed transfers, allowing callers to identify and retry failures independently. Dashboard and admin users must specify a target app_id query parameter; channel users can only process transfers for their own application.

Header parameters
X-Violet-TokenstringRequired

API token for authentication

X-Violet-App-SecretstringRequired

Application secret key

X-Violet-App-Idinteger · int32Required

Application ID

Example: 10000
Body

Request to process pending transfers for a given list of Order or Bag identifiers

application_idinteger · int32Optional

Identifier of the app that this request is being made for.

developer_idinteger · int32Optional

Identifier of the channel making this request.

order_idsinteger · int64[]Optional

List of Violet Order identifiers for which to process pending transfers.

bag_idsinteger · int64[]Optional

List of Violet Bag identifiers for which to process pending transfers.

Responses
chevron-right
200

ok

application/json

Summary of process transfers request, split by successful and failed transfers.

post
/orders/transfer_funds

Last updated

Was this helpful?