Refund Bag
Issues a refund for a specific bag within an order. Supports full bag refunds, partial amount refunds, and SKU-level refunds with optional shipping refunds. The bag must be in an ACCEPTED, SUBMITTED, COMPLETED, PARTIALLY_REFUNDED, or CANCELED state. If no amount_refunded is provided, the full bag total is refunded. If no skus array is provided, all SKUs in the bag are included in the refund. The refund is forwarded to the merchant's external commerce platform for processing. All monetary values are in the smallest currency unit (e.g. cents for USD).
ID of the order containing the bag to refund
11111ID of the bag to refund
22222falseAPI token for authentication
Application secret key
Application ID
10000Request used to initiate a refund for a specific Bag. Supports three refund modes: (1) Full refund — omit amount_refunded and skus to refund the entire Bag. (2) Partial refund by amount — set amount_refunded to a specific amount in cents. (3) Line-item refund — provide skus with specific OrderSku IDs and optional quantities/amounts to refund individual items. All monetary values are in cents.
Custom reason message for the refund.
Should the items be restocked. Set to true when the order is being returned.
falseShould the customer be notified by the merchants system of the refund. If no value is provided the merchants default system configuration for this feature will be used.
falseAmount that should be refunded in cents. If no value is provided the full bag amount will be refunded.
success
Order Refund
Unique ID of the Refund.
ID of the Order being refunded
ID of the Bag being refunded
ID of the merchant making the refund
ID of the App that created the Order
ID of the Transaction being refunded
ID of the Payment Transaction in Violet
ID of the Transaction in the Payment Gateway
Amount being refunded. In Cents
Amount being taken back from the associated transfer to the merchant. In Cents
Amount being taken back from the associated transfer to the developer. In Cents
Amount in fractional currency unit (e.g. cents) being taken back from the associated transfer to the merchant, in platform currency.
Amount in fractional currency unit (e.g. cents) being taken back from the associated transfer to the developer, in platform currency.
Reason for refund
Reason code for refund
Currency set for this refund by the external ecom platform
Currency used by the platform account for the payment provider that processed this Refund
Status of the Refund
Unique identifiers of the Transfer Reversal objects in Violet that are associated with this transfer.
Date of creation
Date of last update
ID of the refund on the external commerce platform. This value will only be populated if the external commerce platform supports refund ID's.
Tax amount being refunded. In Cents.
bad request
not found
internal server error
Last updated
Was this helpful?