Bag Transaction Fees
Overview
Request body
Field
Type
Required
Description
Example request
curl -X PUT "https://api.violet.io/v1/bags/1234567/transaction_fee" \
-H "X-Violet-Token: <token>" \
-H "X-Violet-App-Secret: <app-secret>" \
-H "X-Violet-App-Id: 10355" \
-H "Content-Type: application/json" \
-d '{
"transaction_fee_total_amount": 390,
"transaction_fee_percentage_amount": 290,
"transaction_fee_fixed_amount": 100,
"currency": "USD",
"source_type": "APP_PROVIDED",
"source_provider": "acme",
"source_reference_id": "acme-fee-8842",
"idempotency_key": "bag-1234567-fee-v1"
}'Successful response (HTTP 200)
Error responses (HTTP 4xx)
Idempotency
Validation order
Last updated
Was this helpful?