Process Transfers for Bags

circle-info

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

Process Transfers for Bags

post

Initiates payout transfers for multiple bags in a single batch request. The request body must contain a list of bag IDs to process. Transfers are sent to the merchant's configured payout account via the appropriate payment provider. The response separates results into successful and failed transfers. 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/bags/transfer_funds

Last updated

Was this helpful?