Batch Revoke

Overview

The Batch Revoke module provides comprehensive bulk mandate revocation capabilities for permanently terminating multiple mandate operations simultaneously through CSV file uploads. It offers real-time progress tracking, status monitoring, and detailed reporting for all mandate revocation operations processed through the Juspay payment platform.

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

  • Operations Teams: For revoking mandate operations in bulk and monitoring revocation processing performance across different payment methods and gateways with comprehensive operational logs and audit trails.

  • Finance Teams: For bulk mandate revocation processing, payment termination control, and tracking revocation operations across multiple active transactions with detailed compliance records.

  • Compliance Teams: To process regulatory mandate revocation requirements in bulk, track revocation status, and maintain comprehensive audit trails for compliance and regulatory reporting.

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 Mandates tab from the bulk operations navigation.

  5. Select Batch Revoke from the mandate operations dropdown.

  6. The navigation URL for this module is https://portal.juspay.in/batch/batch-revokelink icon.

    Batch Revoke
    Batch Revoke

Step-by-Step Usage Instructions

Creating Batch Revoke Operations

Step 1: Access the Batch Revoke Interface

  1. Navigate to the Batch Revoke module using the steps above.

  2. You will see the main dashboard with a description: "This module helps in revoking mandates 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 mandate revocation uploaded is displayed."

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

Step 2: Initiate New Batch Revoke Upload

  1. Click the "Create Batch Revoke" 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 revoke 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.

    Batch Revoke
    Batch Revoke

Step 3: Prepare and Upload CSV File

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

  2. Prepare Your Data: Fill in your revoke 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 (Mandate ID)

    • Column types are validated (Mandate ID as String)

Step 4: File Processing and Validation

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

    • CSV format validation

    • Mandatory field presence (mandate_id)

    • Data type validation for each column

    • Mandate ID validation (must be valid string identifier)

    • Mandate eligibility validation (must be revocable)

    • Row count validation (maximum 1000 rows)

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

    • Missing mandatory fields

    • Invalid data types

    • Invalid mandate ID values

    • Mandate not eligible for revocation

    • File format errors

    • Row limit exceeded

  3. Successful Upload: Upon successful validation:

    • File is queued for processing

    • Batch ID is generated

    • Initial status is set to processing

    • Mandate revocation processing begins

Step 5: Monitor Processing Status

  1. Real-time Updates: The dashboard automatically updates with processing status.

  2. Status Indicators:

    • ACCEPTED: Successfully processed revoke operations (Green indicator)

    • FAILED: Failed revoke attempts (Red indicator)

    • QUEUED: Revoke operations waiting in processing queue (Blue indicator)

Monitoring and Managing Batch Revoke Operations

Viewing Batch Revoke 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 revoke requests in the file

    • Tasks Progress: Visual progress bar showing completion status

    • Actions: Sync with Gateway button for manual synchronization

    Batch Revoke - Table View
    Batch Revoke - Table View
  2. 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 revoke operations

      • Total Rejected Tasks: Failed revoke attempts

      • Total Queued Tasks: Revoke operations in processing queue

      Batch Revoke - Detailed View
      Batch Revoke - 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, Total Tasks

    • Toggle between ascending and descending order

Data Export and Download

Downloading Processed Data

  1. Access Download: Click the "Download Data" button in the batch details view.

  2. CSV Export: Downloads include:

    • Serial numbers (S.No column)

    • All processed revoke data with the following headers:

      • Mandate ID

      • Revoke Status

      • Original Mandate Status

      • Revocation Reason

      • Task Status

      • Error Message

      • Created At

      • Updated At

  3. File Format:

    • CSV format with comma-separated values

    • Filename format: batch_revoke.csv

    • Includes header row with column names

CSV File Upload Specifications

CSV Field Requirements

Scroll inside to view more
Field Name
Mandatory/Optional
Data Type
Description
Sample Value
Validation Rules
mandate_id
Mandatory
String
Mandate identifier for the mandate to revoke permanently
"MAN_456789123"
Must be a valid string, cannot be empty

Revoke Validation Rules

Mandate ID Requirements:

  • Format: Must be a valid string identifier from an existing mandate

  • Length: No specific length restrictions, but should be reasonable

  • Existence: Mandate ID must exist in the system and correspond to an active or paused mandate

  • Status: Associated mandate must be in a revocable state (active, paused, or suspended)

  • Eligibility: Mandate must not have pending transactions or be in a non-revocable state

Revoke Processing Logic

Eligibility Criteria:

  • Revocable Status: Only mandates with revocable status can be permanently revoked

  • Transaction Checks: System verifies no pending or in-progress transactions

  • Business Rules: Compliance with business rules and regulatory requirements

  • Gateway Availability: Revoke operations depend on payment gateway availability

Processing Sequence:

  1. Validation: Verify mandate_id exists and is eligible for revocation

  2. Pre-revocation Checks: Validate business rules and compliance requirements

  3. Queue Management: Add revoke requests to processing queue

  4. Gateway Communication: Communicate revocation instructions to payment gateway

  5. Status Update: Update mandate status to revoked

  6. Audit Trail: Create comprehensive audit record for compliance

Revoke Behavior:

  • Permanent Action: Revocation is irreversible and permanently terminates the mandate

  • Immediate Effect: Revocation takes effect immediately upon processing

  • Payment Termination: All future payments under the mandate are permanently stopped

  • Compliance Recording: Full audit trail maintained for regulatory compliance

CSV Format Examples

CSV Format with Different Mandate Types:

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 (mandate_id)

  • Empty Values: Mandate ID field cannot be empty

  • Duplicate Prevention: Avoid duplicate mandate_id entries within the same file

Use Cases

Compliance-Driven Revocation

  1. Export mandate data requiring regulatory compliance revocation

  2. Prepare CSV file with mandate IDs for compliance-mandated termination

  3. Upload file through Batch Revoke interface for permanent revocation

  4. Monitor revoke processing status and download results for compliance reporting

Customer Termination Requests

  1. Identify mandates that customers have requested to terminate permanently

  2. Compile list of affected mandate IDs from customer service requests

  3. Upload revoke file for permanent mandate termination

  4. Track individual revoke status and provide confirmation to customers

Fraud Prevention and Security

  1. Prepare CSV with mandate information for security-related revocations

  2. Include mandate IDs identified through fraud detection systems

  3. Process bulk revocations for immediate security protection

  4. Use downloaded revoke data for security incident documentation

Business Relationship Termination

  1. Set up bulk revocation operations for terminated business relationships

  2. Create CSV files with mandate details for contract terminations

  3. Upload revoke files for permanent mandate cessation

  4. Monitor revoke success rates and maintain termination records

Troubleshooting

File Upload Validation Errors:

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

  • "Missing mandatory fields": Verify that mandate_id column is present and not empty

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

  • "Invalid data type": Check that mandate_id field contains only string values

  • "Mandate ID not found": Ensure mandate IDs exist in the system and correspond to actual mandates

  • "Mandate not eligible for revocation": Verify mandate is in a revocable state (not already revoked or in non-revocable status)

Revoke-Specific Errors:

  • "Mandate already revoked": Mandate is already in a revoked state and cannot be revoked again

  • "Revocation not permitted": Business rules or compliance requirements prevent revocation

  • "Active transactions detected": Mandate has active transactions that must be completed first

  • "Gateway rejection": Payment gateway rejected the revoke request due to business rules

  • "Compliance validation failed": Revocation does not meet regulatory compliance requirements

Permissions and Roles

Access to the Batch Revoke module is controlled by the following permissions:

  • Settings Mandate Access: Required for accessing the batch revoke interface (ACL: settings_mandate)

  • Settings Mandate Write Permission: Required for creating and uploading batch revoke files (ACL: settings_mandate with ReadWrite access)

  • Settings Mandate Read Permission: Needed to view batch revoke status and download processed data (ACL: settings_mandate)

  • Revoke Operations Access: Required for performing mandate revoke operations (ACL: settings_mandate)

  • Gateway Sync Permission: Required for manual gateway synchronization operations (ACL: settings_mandate)

Last updated 2 months ago