Method: projects.metadataTransactions.export

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

Export metadata 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.
  • APIType - The transaction's API type. The value will be of the ApiType enum.
  • TransactionType - Type of the transaction. The value will be of the TransactionType enum.
  • RequestReceivedTimestamp - Timestamp (in UTC) indicating when the transaction's API request was received by the issuer switch.
  • CreationTime - Timestamp (in UTC) indicating when the issuer switch created the transaction resource for processing the transaction.
  • State - State of transaction. This will be one of FAILED or SUCCEEDED.
  • OriginVPA - Virtual Payment Address (VPA) of the originator of the transaction.
  • 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 maps the ErrorCode to an appropriate error code that complies with the UPI specification.

HTTP request


Path parameters



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
  "apiType": enum (ApiType),
  "startTime": string,
  "endTime": string

enum (ApiType)

API type of the metadata transaction API. The possible values for API type are


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


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".


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:


IAM Permissions

Requires the following IAM permission on the parent resource:

  • issuerswitch.metadataTransactions.list

For more information, see the IAM documentation.