Get report types
The first step towards creating a report is to understand what report types are available. You can do this in two ways:
- View available report types
- Get details for a specific report type
Before you begin
During onboarding, the report types available are determined by the payment method groups, regions, and entity entitlements set on your profile. Contact your relationship manager if you need to make changes to your profile.
View available report types
Retrieve the available report types by performing a GET
call to the /report-types
endpoint. In the response you will see the following fields:
Field name | Description |
---|---|
reportTypeId |
Unique identifier of the report type being requested. |
reportTypeName |
The name of the report type. |
reportDescription |
The textual description of the report type. |
reportGranularityTypeCode |
The level at which report detail is presented. For example, fee level, transaction level and so on. |
gatewayRegion |
Indicates the geographical region for which the report type is applicable. The region code is defined using ISO-3166 code. For e.g. USA, CAN, AU and so on. |
paymentMethodGroup |
The category of payment method used for reporting purpose such as local payment method, global payment method.
|
The following example shows how to retrieve the report types available for you:
HTTP method: GET
Endpoint: /report-types
{
"reportTypes": [
{
"gatewayRegion": "CAN, EU",
"paymentMethodGroup": "Global Payment Methods",
"reportTypeId": "3016",
"reportTypeName": "Dispute Inventory",
"reportDescription": "Provide inventory details on all dispute details for the given period",
"reportGranularityTypeCode": "Dispute Level"
},
{
"gatewayRegion": "USA",
"paymentMethodGroup": "Global Payment Methods,Local Payment Methods",
"reportTypeId": "3016",
"reportTypeName": "Dispute Inventory",
"reportDescription": "Provide inventory details on all dispute details for the given period",
"reportGranularityTypeCode": "Dispute Level"
},
{
"gatewayRegion": "USA",
"paymentMethodGroup": "Global Payment Methods,Local Payment Methods",
"reportTypeId": "3016",
"reportTypeName": "Dispute Detail Parallel",
"reportDescription": "Provide details on all dispute details for the given period.",
"reportGranularityTypeCode": "Transaction Level"
},
{
"gatewayRegion": "CAN, EU",
"paymentMethodGroup": "Global Payment Methods",
"reportTypeId": "3050",
"reportTypeName": "Dispute Detail Parallel",
"reportDescription": "Provide details on all dispute details for the given period.",
"reportGranularityTypeCode": "Transaction Level"
}
]
}
For more information about the available report types, refer to Report Types.
Get details for a specific report type
Each report has a set of attributes associated with it. To see that set of attributes, use the reportTypeId in the path.
Field name | Description |
---|---|
reportAttributeName |
The name of the attribute in the report. |
businessDefinitionText |
The clear and concise description of the data elements used in the reports. |
defaultIncludeIndicator |
Indicates the BOOLEAN value to signifiy if the attribute is included in the report. TRUE indicates that the attribute is included by default. |
attributeCategories |
Defines the category of the attribute. The available categories include:
Categories assist in making informed decisions when creating custom reports for specific use cases, such as 3DS transaction reports or reports that need to include Card Present data. They provide additional context for including these attributes in the reporting process. |
The following example shows how you can retrieve the attributes of a specific report type:
HTTP method: GET
Endpoint: /report-types/reportTypeId
{
"reportTypeFields": [
{
"reportAttributeName": "Transaction Identifier",
"businessDefinitionText": "Identifies a unique occurrence of a transaction.",
"defaultIncludeIndicator": true,
"attributeCategories": "N/A"
},
{
"reportAttributeName": "Sales Order",
"businessDefinitionText": "Identifies a unique occurrence of the confirmation of goods and/or services purchased.",
"defaultIncludeIndicator": true,
"attributeCategories": "N/A"
},
{
"reportAttributeName": "Transaction Amount",
"businessDefinitionText": "Specifies the monetary value of the transaction performed.",
"defaultIncludeIndicator": true,
"attributeCategories": "N/A"
},
{
"reportAttributeName": "Service Tax Amount",
"businessDefinitionText": "Specifies the monetary value of the service tax on the transaction.",
"defaultIncludeIndicator": true,
"attributeCategories": "Tax"
}
]
}