Overview
Login
- Access
Onboarding
- Merchant Onboarding
Merchants
- Merchant
- Configuration
- Onboarding
- Explore
Catalog
- Offers
- SKUs
- Categories
- Collections
- Currencies
Orders & Checkout
- Carts
- Cart Items
- Cart Customer
- Cart Discounts
- Cart Shipping
- Cart Pricing
- Cart Payment
- Cart Completion
- Orders
- Order Refunds
- Order Cancellations
- Transfers
Payments
- Payout Accounts
- Distributions
- Transfers
- Transfer Reversals
Events
- Webhooks
- Webhook Events
- Webhook Headers
Apps
- Merchant/App Installs
- Commission Rates
Operations
- Connection
Relay
- Shipping
Ecom Syncs
- Offers
Transfers
Process Transfers for Bags
POST
/
orders
/
bags
/
transfer_funds
Copy
Ask AI
curl --request POST \
--url https://sandbox-api.violet.io/v1/orders/bags/transfer_funds \
--header 'Content-Type: application/json' \
--header 'X-Violet-App-Id: <x-violet-app-id>' \
--header 'X-Violet-App-Secret: <x-violet-app-secret>' \
--header 'X-Violet-Token: <x-violet-token>' \
--data '{
"bag_ids": [
139973,
139974
]
}'
Copy
Ask AI
{
"successful_transfers": {
"count": 1,
"bag_ids": [
139974,
139973
],
"transfers": [
{
"id": 93647,
"payment_provider_id": "tr_1QNNtlKUtPkD6xdU9uFqXVa0",
"payout_account_id": 1025,
"amount": 360000,
"currency": "USD",
"status": "SENT",
"payment_provider": "STRIPE",
"related_orders": [
"149486",
"149487"
],
"related_bags": [
"139973",
"139974"
],
"related_distributions": [
"89092",
"89090"
],
"date_created": "2024-11-21T00:05:29+0000",
"date_last_modified": "2024-11-21T00:05:29+0000",
"errors": [],
"payment_service": "STRIPE",
"external_id": "tr_1QNNtlKUtPkD6xdU9uFqXVa0"
}
]
},
"failed_transfers": {
"count": 0,
"bag_ids": [],
"transfers": []
}
}
This endpoint only accepts bag_ids
in the request body. Passing in any other fields will result in an exception.
Headers
Body
application/json
Request to process pending transfers for a given list of Order or Bag identifiers
Response
200 - application/json
Process Transfers for multiple Bags
Summary of process transfers request, split by successful and failed transfers.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://sandbox-api.violet.io/v1/orders/bags/transfer_funds \
--header 'Content-Type: application/json' \
--header 'X-Violet-App-Id: <x-violet-app-id>' \
--header 'X-Violet-App-Secret: <x-violet-app-secret>' \
--header 'X-Violet-Token: <x-violet-token>' \
--data '{
"bag_ids": [
139973,
139974
]
}'
Copy
Ask AI
{
"successful_transfers": {
"count": 1,
"bag_ids": [
139974,
139973
],
"transfers": [
{
"id": 93647,
"payment_provider_id": "tr_1QNNtlKUtPkD6xdU9uFqXVa0",
"payout_account_id": 1025,
"amount": 360000,
"currency": "USD",
"status": "SENT",
"payment_provider": "STRIPE",
"related_orders": [
"149486",
"149487"
],
"related_bags": [
"139973",
"139974"
],
"related_distributions": [
"89092",
"89090"
],
"date_created": "2024-11-21T00:05:29+0000",
"date_last_modified": "2024-11-21T00:05:29+0000",
"errors": [],
"payment_service": "STRIPE",
"external_id": "tr_1QNNtlKUtPkD6xdU9uFqXVa0"
}
]
},
"failed_transfers": {
"count": 0,
"bag_ids": [],
"transfers": []
}
}
Assistant
Responses are generated using AI and may contain mistakes.