Batch Refunds Update

Overview

The Batch Refunds Update module provides comprehensive bulk refund status update capabilities for updating the status of existing refunds simultaneously through CSV file uploads. It offers real-time progress tracking, status monitoring, and detailed reporting for all refund status update operations processed through the Juspay payment platform.

This module is designed for a wide range of users, including:

  • Operations Teams: For updating large volumes of refund statuses efficiently and monitoring refund status update performance across different payment methods and gateways.

  • Finance Teams: For bulk refund status reconciliation, tracking refund status changes across multiple transactions with detailed audit trails.

  • Customer Support: To update customer refund statuses in bulk, track update progress, and provide accurate status updates to customers on refund processing.

Accessing the Module

  1. Log in to the Juspay dashboard.

  2. From the main navigation menu on the left, click on Payments.

  3. Select Bulk Operations from the Payments submenu.

  4. Click on the Refunds Update tab from the bulk operations navigation.

  5. The navigation URL for this module is https://portal.juspay.in/batch/batch-refunds-updateslink icon.

Batch Refunds Update
Batch Refunds Update

Step-by-Step Usage Instructions

Creating Batch Refunds Update

Step 1: Access the Batch Refunds Update Interface

  1. Navigate to the Batch Refunds Update module using the steps above.

  2. You will see the main dashboard with a description: "This module helps in updating refund status in bulk using a file upload. It provides a holistic view of the files uploaded. Upon clicking the filename in the table below a detailed view of each refund uploaded is displayed."

  3. The interface displays any previously uploaded batch refund update files in a table format.

Step 2: Initiate New Batch Refunds Update Upload

  1. Click the "Create Batch Refunds Update" button (visible only to users with appropriate permissions).

  2. If maker-checker workflow is enabled for your account, you will first see a description modal:

    • Enter a description for the batch refund update request in the text field.

    • Click "Submit" to proceed to the file upload interface.

  3. If maker-checker is not enabled, you will directly access the file upload interface.

Bulk Refunds Update
Bulk Refunds Update

Step 3: Prepare and Upload CSV File

  1. Download Sample File: Click on the sample file link to download the CSV template (batch_refunds_update_sample.csv).

  2. Prepare Your Data: Fill in your refund status update data following the CSV field specifications (see table below).

  3. File Limitations:

    • Maximum 1000 rows per file

    • CSV format only

    • File size limitations apply

  4. Upload Process:

    • Click "Choose File" or drag and drop your CSV file

    • The system validates the file format and structure

    • Mandatory fields are checked (Order ID, Unique Request ID, and Status)

    • Column types are validated (all fields as String type)

Step 4: File Processing and Validation

  1. File Validation: The system performs the following checks:

    • CSV format validation

    • Mandatory field presence (orderid, uniquerequest_id, status)

    • Data type validation for each column

    • Row count validation (maximum 1000 rows)

    • Status value validation (must be SUCCESS or FAILURE)

  2. Error Handling: If validation fails, specific error messages are displayed:

    • Missing mandatory fields

    • Invalid data types

    • File format errors

    • Row limit exceeded

    • Invalid status values

  3. Successful Upload: Upon successful validation:

    • File is queued for processing

    • Batch ID is generated

    • Initial status is set to processing

    • Status values are automatically converted to uppercase

Step 5: Monitor Processing Status

  1. Status Indicators:

    • ACCEPTED: Successfully processed refund updates (Green indicator)

    • FAILED: Failed refund update attempts (Red indicator)

    • QUEUED: Refund updates waiting in processing queue (Blue indicator)

Bulk Refunds Update
Bulk Refunds Update

Monitoring and Managing Batch Refunds Update

Viewing Batch Refunds Update Details

  1. Table View: The main interface displays all uploaded batch files with:

    • File Name: Name of the uploaded CSV file

    • File Upload Status: Current processing status with color-coded labels

    • Date Created: File upload timestamp

    • Last Modified: Last update timestamp

    • Total Tasks: Number of refund update requests in the file

    • Tasks Progress: Visual progress bar showing completion status

Bulk Refunds Update - Table View
Bulk Refunds Update - Table View
  1. Detailed View: Click on any filename to access detailed information:

    • Batch Details Card: Expandable/collapsible interface showing:

      • Batch ID: Unique identifier for the uploaded file

      • Date Created and Date Updated timestamps

      • Current status with color-coded indicators

    • Progress Statistics: Individual task counts for:

      • Total Accepted Tasks: Successfully processed refund updates

      • Total Rejected Tasks: Failed refund update attempts

      • Total Queued Tasks: Refund updates in processing queue

Batch Refunds Update - Detailed View
Batch Refunds Update - Detailed View

Search and Filter Capabilities

  1. File Name Search:

    • Use the search input field with search icon

    • Enter filename to filter results

    • Search is case-sensitive and supports partial matches

    • Clear search using the cross icon

  2. Table Sorting:

    • Click column headers to sort data

    • Available sorting for: File Name, Status, Date Created, Last Modified, Total Tasks

    • Toggle between ascending and descending order

CSV File Upload Specifications

CSV Field Requirements

Scroll inside to view more
Field Name
Mandatory/Optional
Data Type
Description
Sample Value
Validation Rules
order_id
Mandatory
String
Unique order identifier for the refund to be updated
"ORD_123456789"
Must be a valid string, cannot be empty
unique_request_id
Mandatory
String
Unique request identifier for the refund update operation
"REQ_987654321"
Must be a valid string, cannot be empty
status
Mandatory
String
New status for the refund (SUCCESS or FAILURE)
"SUCCESS"
Must be SUCCESS or FAILURE (case-insensitive, automatically converted to uppercase)

CSV Format Examples

Complete CSV Format with Sample Data:

File Upload Constraints

  • Maximum Rows: 1000 rows per CSV file

  • File Format: CSV (Comma Separated Values) only

  • Encoding: UTF-8 encoding recommended

  • File Size: Standard file size limitations apply

  • Column Order: Must match the specified header format (orderid, uniquerequest_id, status)

  • Required Fields: All three fields (orderid, uniquerequest_id, status) are mandatory

  • Status Values: Only SUCCESS and FAILURE are accepted (case-insensitive)

Status Field Processing

The status field undergoes automatic transformation during processing:

  • Input: Any case variation of SUCCESS or FAILURE

  • Processing: Automatically converted to uppercase

  • Output: Always stored as "SUCCESS" or "FAILURE"

  • Validation: Only these two values are accepted

Use Cases

Bulk Refund Status Reconciliation

  1. Export refund data requiring status updates from transaction reports

  2. Prepare CSV file with order IDs, unique request IDs, and new status values

  3. Upload file through Batch Refunds Update interface

  4. Monitor processing status for completion

Payment Gateway Status Synchronization

  1. Receive status updates from external payment gateways

  2. Create CSV with order identifiers and corresponding status updates

  3. Track individual refund status update progress

Monthly Refund Status Cleanup

  1. Compile monthly refund status corrections from customer support

  2. Create CSV with order IDs, request IDs, and corrected status values

  3. Process bulk status updates for financial reconciliation

  4. Monitor completion for audit trail purposes

Troubleshooting

File Upload Validation Errors:

  • "Invalid file format": Ensure file is in CSV format with proper comma separation

  • "Missing mandatory fields": Verify that orderid, uniquerequest_id, and status columns are present and not empty

  • "Row limit exceeded": Reduce file size to maximum 1000 rows per upload

  • "Invalid data type": Check that all fields contain valid string values

  • "Invalid status value": Ensure status field contains only SUCCESS or FAILURE values

Permissions and Roles

Access to the Batch Refunds Update module is controlled by the following permissions:

  • Refunds Module Access: Required for accessing the batch refunds update interface (ACL: refunds)

  • Refunds Write Permission: Required for creating and uploading batch refund update files (ACL: refunds with ReadWrite access)

  • Refunds Read Permission: Needed to view batch refund update status and monitor processing progress (ACL: refunds)

Last updated 5 months ago