Analytics

Turn big data into valuable insights.

Have we mentioned the Switch Dashboard?

The Switch Dashboard offers a comprehensive and user-friendly interface to support your payment strategy. Contact our Support Team for instructions on how to enable this feature.

Managing millions of transactions makes it harder to control unit costs and spot commission inconsistencies. Getting onboard with Analytics will transform your payment setup, promote efficiency, and push for bigger profits.

Our system aggregates all data and makes it searchable. We track commission variations across providers, markets, payment methods and fees. This way you can follow your payments lifecycle and find areas for improvement. Switch Analytics is here to help you gain insight into your business and make the most of your payment operation.

  1. 1
    Sum Up

    Look back on your year, month, or week. Find all your results in one place with ease of access and user-friendly interpretations. With Analytics you can tap into the sum of your transaction information, weed out the unnecessary, and focus on what needs work.

  2. 2
    Filter

    Find the specifics. Filter Analytics by categories like device, country, or payment method. Quickly call out results for your payment strategies.

  3. 3
    Gain Insight

    We show you the money. Analyze rates, balances, and refunds. Figure out how to convert your efforts into bolder profits.

With Switch Analytics you can gain insight on multiple variables essential to your payment operation. Get to know some of them:

balance

Balance

Balance is the total Payment amount deducted from Refunds, Fees, and Disputes. It represents the amount outstanding on all Providers' Merchant Accounts, which is set to be transferred to the Merchant’s bank accounts in the future. Compare different time periods and find out if your income is going up or down.

Total Volume

Total volume represents the volume for all currencies combined.

Total Payments

This is the total number of payments you have received.

stats

Refunds

Refund percentage calculated based on transaction volume. Notice your refunds and tap into customer satisfaction.

Acceptance Rate

Consumers demand uninterrupted functionally. The acceptance rate mirrors the volume of successful transactions by the total volume of transactions to help you tackle unhappy customers.

Average Ticket

The average of all successful payment amounts. Find the middle ground in purchases, be aware of what to expect from checkout.

Average Payment Fees

Processing fees based on past settlements. See where your money goes, figure out if your partnerships carry on being beneficial, watch out for agreements.

Unsettled Balance

Outstanding balance, which can still be found in the providers' merchant accounts. It draws from the pre-defined fees set up on the merchant agreements.

Unsettled Volume

Payment volume still outstanding in all providers' merchant accounts.

payment_flow

Payment Method

The payment methods used by your customers. Identify the most popular payment options, understand if your customers might be missing something, pick the best options for your strategy.

Examples: Boleto, PayPal, Sofort.
Currency

Currencies used by your customers. Paint a clearer picture of your exchanges, see your strongest currencies.

Examples: BRL, CHF, USD.
Device

The device used by your customer during the purchase. Keep track of your customer journey, improve navigation, and user experience.

Examples: Desktop, mobile.
Country

The location of your customers. Understand where to place your international efforts, look for areas of improvement.

Examples: San Marino, Bangladesh, Guatemala.
Failures

Filter failures by failure description, find out if mistakes are being repeated and fix them.

Dates and Date Granularity

Filter your Analytics by time period, understand the efficiency of your last seasonal campaign, explore your customers’ habits. Sum up data by year, month, week, or day, zoom into the details, and display the big picture to your team and associates.

GET /v1/analytics

MethodPathDescription
GETSandbox
https://merchant-api-test.switchpayments.com/v1/analytics

Production
https://merchant-api.switchpayments.com/v1/analytics
Get analytics data.
Request Parameters

start_dateDateRequired

The start date for the results.


end_dateDateRequired

End date for the results.


merchant_idJSON Object

ID of the Merchant account from which you are drawing analytics data.


payment_methodString

Payment methods to be displayed in analytics.


currencyDate

Currencies to be displayed in analytics.


countryString

Countries to be displayed in analytics.


deviceString

Devices to be displayed in analytics.


statusString

Success transactions or error transactions.


failure_descriptionString

Group results by failure description.


dates_granularityDate

Hour, day, month, or year.

REQUEST
$ curl -vX GET https://merchant-api.switchpayments.com/v1/analytics?merchant_id=accountId -u accountId:MerchantAPIKey
-d '{
"start_date": 2020-05-26T23:00:00,
"end_date":2020-05-27T10:00:00,
}
Response Parameters

filtersJSON Object

Analytics filters.


end_dateDate

End date for the results.


merchant_idString

ID of the Merchant account to whom the analytics data belongs to.


start_dateDate

The start date for the results.


metricsArray

Metrics present in the information.


DataArray

Data present in the information.


comissionsArray

Commissions taken from your transactions.


avg_estimated_payments_fixed_commissionsNumber

Average estimated payments for fixed commissions.


avg_estimated_refunds_variable_commissionsNumber

Average estimated refunds for fixed commissions.


total_payments_fixed_commissionsNumber

Average estimated refunds for variable commissions.


total_payments_variable_commissionsNumber

Total payments for fixed commissions.


total_refunds_fixed_commissionsNumber

Total payments for variable commissions.


total_refunds_variable_commissionsNumber

Total refunds for variable commissions.


payments_countNumber

Payments count.


payments_count_unsettledNumber

Unsettled payments.


payments_volume_unsettledNumber

Volume of unsettled payments.


refunds_countNumber

Refunds count.


refunds_count_unsettledNumber

Unsettled refunds.


refunds_volumeNumber

Volume of refunds.


refunds_volume_unsettledNumber

Volume of unsettled refunds.


settled_balanceNumber

Settled balance.


unsettled_balanceNumber

Unsettled balance.

RESPONSE: HTTP 200
{
"filters": {
"end_date": "2020-05-27T10:00:00",
"merchant_id": "Lq9aVoz7eI852ID7ffNgGD9rr9Grv3ZQeE",
"start_date": "2020-05-26T23:00:00"
},
"metrics": [
{
"avg_fx_rate": null,
"commissions": {
"avg_estimated_payments_fixed_commissions": 2.245374528471349e-05,
"avg_estimated_payments_variable_commissions": 4.727629247584913e-05,
"avg_estimated_refunds_fixed_commissions": 0.0,
"avg_estimated_refunds_variable_commissions": 0.0,
"total_payments_fixed_commissions": 0,
"total_payments_variable_commissions": 0,
"total_refunds_fixed_commissions": 0,
"total_refunds_variable_commissions": 0
},
"payments_count": 22268,
"payments_count_unsettled": 22264,
"payments_volume": 634567.95,
"payments_volume_unsettled": 634315.2,
"refunds_count": 2,
"refunds_count_unsettled": 1,
"refunds_volume": 20.0,
"refunds_volume_unsettled": 10.0,
"settled_balance": 242.75,
"unsettled_balance": 634274.7120188979
}
]
}

Next Steps

Take a dive into our Management API for more information on how to watch over your transactions from External Sources to Reporting.