Method: projects.complaintTransactions.export

Stay organized with collections Save and categorize content based on your preferences.

Export complaint transactions received within the specified time range as a file into a configured target location. The returned Operation type has the following method-specific fields:

The exported file will be in the standard CSV format where each row in the file represents a transaction. The file has the following fields in order:

  • TransactionID - UPI transaction ID.
  • TransactionType - Type of the transaction. This will be one of TRANSACTION_TYPE_CHECK_STATUS, TRANSACTION_TYPE_COMPLAINT, TRANSACTION_TYPE_REVERSAL, TRANSACTION_TYPE_DISPUTE, TRANSACTION_TYPE_REFUND or TRANSACTION_TYPE_STATUS_UPDATE.
  • CreationTime - Timestamp (in UTC) indicating when the issuer switch created the transaction resource for processing the transaction.
  • State - State of the transaction. This will be one of FAILED or SUCCEEDED.
  • OriginalRRN - RRN of the original payment transaction.
  • BankType - The subtype of the transaction based on the bank involved.
  • OriginalTransactionID - Transaction ID of the original unresolved transaction.
  • RaiseComplaintAdjFlag - Indicates the type of action to raise the complaint.
  • RaiseComplaintAdjCode - Indicates the reason of action to raise the complaint.
  • ResolveComplaintAdjFlag - Indicates the type of action to resolve the complaint.
  • ResolveComplaintAdjCode - Indicates the reason of action to resolve the complaint.
  • RaiseDisputeAdjFlag - Indicates the type of action to raise the dispute.
  • RaiseDisputeAdjCode - Indicates the reason of action to raise the dispute.
  • ResolveDisputeAdjFlag - Indicates the type of action to resolve the dispute.
  • ResolveDisputeAdjCode - Indicates the reason of action to resolve the dispute.
  • Amount - Amount to be resolved.
  • CurrentCycle - Boolean value specifying if the complaint / dispute belongs to current settlement cycle or not.
  • CRN - Defines the Complaint Reference number.
  • AdjTime - Indicates the time when the resolution was done.
  • RespAdjFlag - Indicates the response category type.
  • RespAdjCode - Indicates the response reason used.
  • AdjRemarks - Indicates the additional remarks for the complaint / dispute.
  • BankAdapterRequestIDs - List of Request IDs (colon separated) used when invoking the Bank Adapter APIs for fulfilling a transaction request.
  • ErrorCode - Error code of the failed transaction.
  • ErrorMessage - Error description for the failed transaction.
  • UPIErrorCode - Error code as per the UPI specification. The issuer switch service maps the ErrorCode to an appropriate error code that complies with the UPI specification.

HTTP request

POST https://issuerswitch.googleapis.com/v1/{parent}/complaintTransactions:export

Path parameters

Parameters
parent

string

Required. The parent resource for the transactions. The format is projects/{project}.

Request body

The request body contains data with the following structure:

JSON representation
{
  "transactionType": enum (TransactionType),
  "startTime": string,
  "endTime": string
}
Fields
transactionType

enum (TransactionType)

Transaction type for the complaint transaction API. The possible values for transaction type are

  • TRANSACTION_TYPE_CHECK_STATUS
  • TRANSACTION_TYPE_COMPLAINT
  • TRANSACTION_TYPE_DISPUTE
  • TRANSACTION_TYPE_REFUND
  • TRANSACTION_TYPE_REVERSAL
  • TRANSACTION_TYPE_STATUS_UPDATE

If no transaction type is specified, records of all the above transaction types will be exported.

startTime

string (Timestamp format)

The start time for the query.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

The end time for the query.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

IAM Permissions

Requires the following IAM permission on the parent resource:

  • issuerswitch.complaintTransactions.list

For more information, see the IAM documentation.