Generate revenue report

Generates a revenue report.

You can apply filters on date range, country name, product name, and product path. For each filtered variable, you can define the columns you want to include in your report and how to group results.

Body Params
filter
object
reportColumns
array of strings

Columns to include in the revenue report:

Column NameDescription
Buyer_EmailEmail used by the buyer for the transaction(s)
Buyer_IDUnique ID allocated to buyer in FastSpring's internal system
Chargeback_True_FalseThis is to identify if there was a chargeback on a given transaction. If the value is "True", there is a chargeback on the transaction and if the value is "False" there is no chargeback on the transaction.
Company_IDThe company ID as used by businesses on FastSpring system. This is the ID used to access the app.fastspring.com and get to the landing page with all the stores(SITE_IDs) within a company.
Company_NameName of the business as registered with FastSpring
Country_ISO2 letter code that represent a country. This is used to capture the country in buyer's address
Country_NameName of the country in buyer's address for a given transaction record
Coupon"Name of the coupon applied on a given transaction.
Example: As this field can be used to group the records, the reports with transaction grouped by COUPON along with INCOME can give insights into how much revenue each coupon is driving for the business."
Digital_Backup_Fulfillment_FeeIf the business charges a fee for digital backup of the software from the buyer, this field has the amount in local currency of transaction.
Digital_Backup_Fulfillment_Fee_in_USDIf the business charges a fee for digital backup of the product from the buyer, this field has the amount in USD.
Digital_Fulfillment_FeeIf the business charges a fee for fulfillment (usually applies to perpetual license products), this field has the amount in local currency.
Digital_Fulfillment_Fee_in_USDIf the business charges a fee for fulfillment (usually applies to perpetual license products), this field has the amount in USD.
DiscountThe name of the discount configured for the product(s) is stored in this field.
Driving_Offer_TypeThe type of offer that is associated with the parent product in an order is captured in this field. The exhaustive list of offer types is as follows:
cross-sell
upsell
options
bundle
configuration
one_time_fee
addon
Driving_Product_PathThe parent product with other products tagged in offers is captured here. The product path differs from the product name as the product path is used in the backend by FastSpring system to identify the products. But they both represent the same entity, the products in the catalog.
Fixed_FeeThe fee FastSpring charges on a transaction in local currency.
Note: Use this field for account reconciliation purposes if the payout currency for a given transaction is a currency other than USD.
Fixed_Fee_in_USDThe fee FastSpring charges on a transaction in USD.
Note: Use this field for account reconciliation purposes if the payout currency for a given transaction is USD.
IncomeRevenue the business makes on a transaction before tax, including FastSpring Fee in local currency.
Note: Use this field for account reconciliation purposes if the payout currency for a given transaction is a currency other than USD.
Income_in_USDRevenue the business makes on a transaction before tax, including FastSpring Fee in USD.
Note: Use this field for account reconciliation purposes if the payout currency for a given transaction is USD.
Item_IDUnique ID for item(s) in a given order. In a B2B context, there could be large volumes of products within an order and this can help in identifying an item in such large orders.
Order_IDUnique ID for a given transaction. Order and transaction are used interchangeably here and any unique order or transaction can be identified using Order_ID.
Physical_Backup_Fulfillment_FeeIf the business charges a fee for the physical fulfillment of a product (usually CD/Drive with perpetual license software), the fee amount in local currency is reported here.
Physical_Backup_Fulfillment_Fee_in_USDIf the business charges a fee for physical fulfillment of a product (usually CD/Drive with perpetual license software), the fee amount in USD is reported here.
Product_Display_NameThe product name displayed to the customers on the checkout page.
Product_IDUnique ID for a product.
Product_NameThe product name.
Product_PathThe primary key for the product.
Purchase_TypeFor subscriptions, this field can differentiate between first bill vs recurring bill, meaning when a customer pays for the first time, it is tagged "First" in this field. From the next payment for rest of the subscription's active lifetime, this will be "Recurring" as the customer is paying for the subscription service at fixed intervals (monthly, quarterly etc.).
Return_FeeIf a purchase has been returned and there is a fee for returning the product, it will be captured in this field in the local currency of the transaction. This is a transaction-level fee.
Return_Fee_in_USDIf a purchase has been returned and there is a fee for returning the product, it will be captured in this field in USD. This is a transaction-level fee.
Return_True_FalseThis field can be used to know if a transaction has been returned or not. For transactions where the item(s) are returned, this field will have a "True" value and if the transaction did not have problems and went through successfully, this will have a "False".
SegmentIf transactions pass value for reserved Key in Order tag (JSON Key value pair passed in session) FS Segmentation (Not case sensitive), the data can be grouped.
Eg: Order tag with Key: Value in order tag with
FS_Segmentation: B2B can be used to group all the other fields for just B2B segment.
Store_Chargeback_FeeIf a transaction was charged back, there is a chargeback fee applied to the transaction. This field captures the value of the chargeback fee on a given transaction. This is a fixed fee charged on a chargeback transaction irrespective of the value of the order.
Store_IDA unique identifier associated with a store within a company. If a business has multiple stores for different purposes (For example, a store for B2C business vs another store for B2B business), this can be used to filter all the transactions for a specific store.
Store_NameIn the hierarchy, a company can have multiple stores under it. This field stores the Store name. The usual purpose of this hierarchy is to separate the categories of business within a company. For example, a business may want to have a separate store for B2C business vs B2B business.
Subscription_PeriodFor a subscription product, the length of the subscription is captured in this field. Conventionally many subscriptions have "1 Month", "1 year", "On Demand" etc.
Subscription_Period_EndThe subscription has recurring payment events so there is a start date and an end date to each payment cycle. This field captures the end date of a subscription cycle. At the end of the cycle, the customer is due to make the payment for using the software for the next period.
Subscription_Period_StartThe subscription has recurring payment events so there is a start date and an end date to each payment cycle. This field captures the start date of a subscription cycle. At the beginning of the cycle, the customer has paid for using the software until the end of the subscription period.
Subscription_Start_DateThe date on which a given subscription started
Subscription_StatusThe status of subscription captures what phase in a subscription lifecycle a given subscription is. Below is the exhaustive list of possible values for Subscription status:

Active (Subscription is active meaning the customer can access the software and is willing to pay for subscription service for the upcoming billing cycle)

Canceled (The customer has clicked on the Cancel button and the customer does not want to pay for the software from the upcoming billing cycle)

Canceled Nonpayment (The customer has not voluntarily canceled the subscription. However the system was not able to charge the customer, AKA Involuntary churn resulting from payment decline for a variety of reasons)

Undefined (For managed subscriptions, the billing dates are not defined. As these subscriptions are billed based on the configuration on the seller's end, the status is not defined on FastSpring system. Classic use case being usage-based pricing where the customer has to pay not based on the subscription period but based on usage of the software)

Completed (For Subscriptions that have ended)
Subscription_True_FalseThis field helps to identify if a product is a subscription product with recurring billing or a one-time purchase perpetual license product. If the field has a "True" value, the product is a subscription product and if the value is "False" then the product is a one-time purchase product.
TaxTax on the transaction in local currency
Tax_FeeFastSpring Fee on the tax for a given transaction in local currency
Tax_Fee_in_USDFastSpring Fee on the tax for a given transaction in USD
Tax_in_USDTax on the transaction in USD
Transaction_AmountRevenue on a transaction excluding FastSpring fee and Tax in local currency
Transaction_Amount_in_USDRevenue on a transaction excluding FastSpring fee and Tax in USD
Transaction_CurrencyCurrency in which the transaction occurred. This field can be relevant for reconciliation if the business receives a payout from FastSpring in more than one currency.
Transaction_DateThe date stamp on which the transaction occurred
Transaction_DayDay-month of the subscription transaction
Transaction_FeeFastSpring fee on the given transaction in local currency
Transaction_Fee_in_USDFastSpring fee on the given transaction in USD
Transaction_Item_CountNumber of items in a given order/transaction. Order and transaction are used interchangeably here and any unique order or transaction can be identified using Order_ID
Transaction_MonthThe month in which the transaction occurred. The values in the field are in YYYY-MM format and capture the year and month.
Transaction_RateThe percentage of revenue that FastSpring charges the business is captured at a line item level. This can be used to reconcile the FastSpring fee charged at the line item level.
Transaction_Time_UTCTimestamp of when the transaction occurred in UTC timezone
Transaction_YearThe year of the transaction (YYYY)
Grand_Total_In_USDThe grand total of the whole order in USD
syncDateWhen reading new data, the last read date.
This field can be used to sync up your DB with FastSpring’s data APIs
countryISOThe country code in 2 letter ISO format
Product_CountThe number of unique Product_IDs purchased within a given order. For example, if an order has 10 products in total with 5 units of Product_A and 5 units of Product_B, the value in this field will be 2 because there were 2 unique products in the order.
Product_UnitsThe number of products purchased in a given order. Following the above example, where an order has 10 products in total with 5 units of Product_A and 5 units of Product_B, this field will have a value of 10, because the total number of units irrespective of products was 10.
reportColumns
groupBy
array of strings

Fields used to group or aggregate the data:

FieldDescription
Buyer_EmailEmail used by the buyer for the transaction(s)
Buyer_IDUnique ID allocated to buyer in FastSpring's internal system
Chargeback_True_FalseThis is to identify if there was a chargeback on a given transaction. If the value is "True", there is a chargeback on the transaction and if the value is "False" there is no chargeback on the transaction.
Company_IDThe company ID as used by businesses on FastSpring system. This is the ID used to access the app.fastspring.com and get to the landing page with all the stores(SITE_IDs) within a company.
Company_NameName of the business as registered with FastSpring
Country_ISO2 letter code that represent a country. This is used to capture the country in buyer's address
Country_NameName of the country in buyer's address for a given transaction record
Coupon"Name of the coupon applied on a given transaction.
Example: As this field can be used to group the records, the reports with transaction grouped by COUPON along with INCOME can give insights into how much revenue each coupon is driving for the business."
DiscountThe discount amount.
Driving_Offer_TypeThe type of offer that is associated with the parent product in an order is captured in this field. The exhaustive list of offer types is as follows:
cross-sell
upsell
options
bundle
configuration
one_time_fee
addon
Driving_Product_PathThe parent product with other products tagged in offers is captured here. The product path differs from the product name as the product path is used in the backend by FastSpring system to identify the products. But they both represent the same entity, the products in the catalog.
End_DateThe end date of a transaction or subscription.
Item_IDUnique ID for item(s) in a given order. In a B2B context, there could be large volumes of products within an order and this can help in identifying an item in such large orders.
Order_IDUnique ID for a given transaction. Order and transaction are used interchangeably here and any unique order or transaction can be identified using Order_ID.
Product_Display_NameThe product name displayed to the customers on the checkout page.
Product_IDUnique ID for a product.
Product_NameThe product name.
Product_PathThe primary key for the product.
Purchase_TypeFor subscriptions, this field can differentiate between first bill vs recurring bill, meaning when a customer pays for the first time, it is tagged "First" in this field. From the next payment for rest of the subscription's active lifetime, this will be "Recurring" as the customer is paying for the subscription service at fixed intervals (monthly, quarterly etc.).
Return_True_FalseThis field can be used to know if a transaction has been returned or not. For transactions where the item(s) are returned, this field will have a "True" value and if the transaction did not have problems and went through successfully, this will have a "False".
SegmentIf transactions pass value for reserved Key in Order tag (JSON Key value pair passed in session) FS Segmentation (Not case sensitive), the data can be grouped.
Eg: Order tag with Key: Value in order tag with
FS_Segmentation: B2B can be used to group all the other fields for just B2B segment.
Start_DateThe start date of a transaction or subscription.
Store_IDA unique identifier associated with a store within a company. If a business has multiple stores for different purposes (For example, a store for B2C business vs another store for B2B business), this can be used to filter all the transactions for a specific store.
Store_NameIn the hierarchy, a company can have multiple stores under it. This field stores the Store name. The usual purpose of this hierarchy is to separate the categories of business within a company. For example, a business may want to have a separate store for B2C business vs B2B business.
Subscription_PeriodThe subscription length.
Subscription_StatusThe subscription status.
Subscription_True_Falsetrue if subscription product, false if not.
Transaction_CurrencyThe currency of the order.
Transaction_DateThe date of the order.
Transaction_DayDay-month of the subscription transaction.
Transaction_MonthMonth of the transaction.
Transaction_YearYear of the transaction.
groupBy
int32
1 to 1000

Number of records to return per page.

int32
≥ 1

Specifies the page number of results to be returned.

boolean

Indicates if the report generation was requested asynchronously.

notificationEmails
array of strings

List of emails to notify upon job completion.

notificationEmails
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json