Update an existing vendor refund payment’s status or details.
Updatable Fields:
status: Update payment status (with validation)failure_reason: Required when status is ‘failed’payment_reference: Update external referenceprocessing_fee_cents: Update processing feeStatus Transitions:
pending → processing, completed, failed, cancelledprocessing → completed, failedcompleted → (no transitions allowed)failed → (no transitions allowed)cancelled → (no transitions allowed)Business-scoped JWT token. Token payload includes business_id to automatically scope requests. Format: Bearer <your-jwt-token>
Use this for: Business-specific operations where the business context is embedded in the token.
Business UUID
Vendor Refund Payment UUID
Serializer for updating vendor refund payment status and details.
New payment status
pending - pendingprocessing - processingcompleted - completedfailed - failedcancelled - cancelledpending, processing, completed, failed, cancelled Reason for failure (required if status is 'failed')
Updated payment reference
100Updated memo
Updated metadata
Serializer for vendor refund payment create/update responses.
This serializer formats the response data for successful refund payment creation operations. Renamed from VendorRefundPaymentResponseSerializer to avoid naming conflict with vendor_refund_serializers.py.