Refund request workflow including approval and rejection.
Create refund request for purchase
Create a new refund request for this purchase. Reason is required; scope is auto-derived from reason but can be overridden if allowed.
path Parameters
idA unique value identifying this purchase.
Create refund request for purchase › Request Body
reasonBusiness reason for the refund (REQUIRED)
deposit_reclaim- Deposit reclaimedsold_out- Item sold outevent_cancelled- Event cancelledproduct_defect- Product defectiveduplicate_purchase- Duplicate purchasecustomer_request- Customer requestedcompensation- Customer compensationovercharge- Customer overchargedother- Other reasonrental_return- Rental returned
Scope of refund (optional - auto-derived from reason, can be overridden if allowed)
purchase_price- Price onlypurchase_deposit- Deposit onlypurchase_full- Full purchase (incl. fees)purchase_custom- Custom purchase amounttransaction_full- Full transactiontransaction_custom- Custom transaction amount
amountRefund amount (required for CUSTOM scope, calculated automatically for others)
commentOptional comment explaining the refund reason
pickup_point_idPickup point where refund is processed
Create refund request for purchase › Responses
idedition_idamountStaff user serializer for nested representations
Simple pickup point serializer for nested representations
createdmodifiedcan_approvecan_rejectorganizationscopepurchase_price- Price onlypurchase_deposit- Deposit onlypurchase_full- Full purchase (incl. fees)purchase_custom- Custom purchase amounttransaction_full- Full transactiontransaction_custom- Custom transaction amount
statusrequested- requestedready- readyprocessing- processingawaiting_gateway- awaiting gatewayprocessed- processedfailed- failedrejected- rejectedinvalid- invalid
commentComment added upon custom refund
service_responserefund_dateDate when refund was successfully processed
List refund requests
List all refund requests from accessible editions. Optionally filter by edition_id.
query Parameters
created_aftercreated_beforeedition_idOptional: Filter by specific edition. If not provided, shows refunds from all accessible editions.
orderingOrdering
created- Created-created- Created (descending)status- Status-status- Status (descending)amount- Amount-amount- Amount (descending)refund_date- Refund date-refund_date- Refund date (descending)
pageA page number within the paginated result set.
page_sizeNumber of results to return per page (default: 100).
purchaseThe specific Purchase being refunded (optional)
statusrequested- requestedready- readyprocessing- processingawaiting_gateway- awaiting gatewayprocessed- processedfailed- failedrejected- rejectedinvalid- invalid
transactionTransaction to refund from (required for gateway processing)
List refund requests › Responses
countnextpreviousCreate refund request
Create a refund request for a purchase or transaction. Provide either purchase_id or transaction_id (exactly one required).
Create refund request › Request Body
reasonBusiness reason for the refund
deposit_reclaim- Deposit reclaimedsold_out- Item sold outevent_cancelled- Event cancelledproduct_defect- Product defectiveduplicate_purchase- Duplicate purchasecustomer_request- Customer requestedcompensation- Customer compensationovercharge- Customer overchargedother- Other reasonrental_return- Rental returned
purchase_idPurchase to refund (mutually exclusive with transaction_id)
transaction_idTransaction to refund (mutually exclusive with purchase_id)
Scope of refund (optional - auto-derived from reason)
purchase_price- Price onlypurchase_deposit- Deposit onlypurchase_full- Full purchase (incl. fees)purchase_custom- Custom purchase amounttransaction_full- Full transactiontransaction_custom- Custom transaction amount
amountRefund amount (required for CUSTOM scopes, calculated automatically for others)
commentOptional comment explaining the refund reason
pickup_point_idPickup point where refund is processed
Create refund request › Responses
idedition_idamountStaff user serializer for nested representations
Simple pickup point serializer for nested representations
createdmodifiedcan_approvecan_rejectorganizationscopepurchase_price- Price onlypurchase_deposit- Deposit onlypurchase_full- Full purchase (incl. fees)purchase_custom- Custom purchase amounttransaction_full- Full transactiontransaction_custom- Custom transaction amount
statusrequested- requestedready- readyprocessing- processingawaiting_gateway- awaiting gatewayprocessed- processedfailed- failedrejected- rejectedinvalid- invalid
commentComment added upon custom refund
service_responserefund_dateDate when refund was successfully processed
Retrieve refund request details
Get detailed information about a specific refund request
path Parameters
idA unique value identifying this refund request.
Retrieve refund request details › Responses
idedition_idamountStaff user serializer for nested representations
Simple pickup point serializer for nested representations
createdmodifiedcan_approvecan_rejectorganizationscopepurchase_price- Price onlypurchase_deposit- Deposit onlypurchase_full- Full purchase (incl. fees)purchase_custom- Custom purchase amounttransaction_full- Full transactiontransaction_custom- Custom transaction amount
statusrequested- requestedready- readyprocessing- processingawaiting_gateway- awaiting gatewayprocessed- processedfailed- failedrejected- rejectedinvalid- invalid
commentComment added upon custom refund
service_responserefund_dateDate when refund was successfully processed
Reject refund request
Reject a refund request with a reason
path Parameters
idA unique value identifying this refund request.
Reject refund request › Request Body
idedition_idamountStaff user serializer for nested representations
Simple pickup point serializer for nested representations
createdmodifiedcan_approvecan_rejectorganizationscopepurchase_price- Price onlypurchase_deposit- Deposit onlypurchase_full- Full purchase (incl. fees)purchase_custom- Custom purchase amounttransaction_full- Full transactiontransaction_custom- Custom transaction amount
statusrequested- requestedready- readyprocessing- processingawaiting_gateway- awaiting gatewayprocessed- processedfailed- failedrejected- rejectedinvalid- invalid
commentComment added upon custom refund
service_responserefund_dateDate when refund was successfully processed
Reject refund request › Responses
No response body

