Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Details on Groov's model to help you understand the insights entity and how to maximise the integration benefits

Settlement data dictionary


Settlement data dictionary drives the Settlements Summary insights model
Image RemovedImage Added

What is a Settlement object on Groov platform?


A settlement object represents the funding/payout a seller (account ledger) receives from their commerce/payment partner/provider, based on either an automated payout schedule or a manual orchestration, depending on the sellers county/industry setup with its commerce/payment partner provider. Further details of the object can be found in Settlement model page.

Context of Settlement Summary insights resource


What does Settlement Summary insights resource on Groov platform provide?

Settlement summary insights resource provides an easy way to get an aggregated/rolled up view of a seller's (account ledger) payout/funding received from its commerce/payment partner/provider. You will be able to
  • slice and dice the settlement summary amounts via a Daily, Monthly or Yearly timeline view 
  • query by Groovs ledger account identifier or your internal system/platform identifier 
  • define a milestone date that acts as your reference point to run your query on.
  • query on how long in the past you want to go wrt either daily, monthly or yearly snapshots
  • view rolled-up insights for a particular account (eg: MID - Merchant ID in case of commerce/payment accounts)
  • view rolled up insights across one or more commerce/payment partner/provider accounts. 

Insights Dictionary

Query Model

AttributeTypeRequired/OptionalenumDescription
institutionAccountIdstringRequired (Conditional)
the Institution record identifer for which the summary/rolled up insights/merics is requested. This OR the ledgerAccountId will be mandatory
ledgerAccountIdstringRequired (Conditional)
the Groov record identifier for which the summary/rolled up insights/metrics is requested. This OR the institutionAccountId will be mandatory
partnerSourcearray[string]
(query)Optional<name of partner sources that Groov supports>
name of the partner system(s) for which you want the insights. This will be an enum list provided by Groov. Leaving this blank will fetch the results for all partners that the ledgerAccount has settlement for. 
metricUnitstringRequired daily
monthly
yearly
defines the unit by which the summary insights need to be aggregated
metricLengthIntegerRequired 
defines the length of the units across which the summary insights need to be aggregated.
If metricLength is day, a max of 90 is honoured for metricLength
metricReferenceDate

date

YYYY-MM-DD format

Optional
indicates the reference date to use to drive the summary reporting across metricLength and metricUnit. If no date is passed, sys_date is used
sortarray[string]
(query)
Optional

Sorting criteria in the format: property(:asc | desc). Multiple sort criteria are supported.

By default is: 'sort=

metricGeneratedDate

date:desc' for daily, 'sort=month:desc' for monthly and 'sort=year:desc' for yearly


Insights response data construct

AttributeTypeDescription
institutionAccountIdstringthe Institution record identifier for which the summary/rolled up insights/metrics is requested. This will be as provided in the request parameter
ledgerAccountIdstringthe Groov record identifier for which the summary has been provided.  This will be as provided in the request parameter
metricGeneratedDatedateDate on which the Insights metric as requested was generated
metricReferenceDatedateindicates the reference date that has been used to drive the summary reporting across metricLength and metricUnit. If no date was provided in the request parameter, the default sys_date is used
metricSummaryByPartnerListlistLists the settlement metrics aggregated by Partner (PSPs/Payment Providers/ Commerce Account Providers)
objectstringString representing the object’s type. Objects of the same type share the same value. Value is "list"
dataarray of hashesThe list of all aggregated settlement grouped by partners
partnerSourcestringname of the partner system
partnerAccountId
stringThis will be the account Id (for Payment partners will be MID for example) as maintained on the Partner system against which the funds are settled by the partner
settlementSummaryListlistLists the settlement metrics that have been aggregated across a period of time
objectstringString representing the object’s type. Objects of the same type share the same value. Value is "list"
dataarray of hashesThe list of all aggregated settlement amounts
partnerAccountIdstringThis will be the account Id (for Payment partners will be MID for example) as maintained on the Partner system against which the funds are settled by the partner
metricUnitstringdefines the unit by which the summary insights need to be aggregated. This is as provided in the request parameter
datestring
DDMMYYYY:
YYYYY-MM-DD hh:mm:ss // ISO-8601 format
only provided in response if metricUnit is day
monthstring

MM: Two-digit month (

01

1 = January, 11 = November and so on) // ISO-8601 format

only provided in response if metricUnit is day or month

yearstringYYYY: Four-digit year // ISO-8601 format

only provided in response if metricUnit is day or month
countTransactionsintegerThis provides an aggregated count of all types of relate transactions that form the settlement total. 
amountintegeraggregated/summarised settlement amount (in pence) across the aggregated time period that has been paid out to the merchants/ledgers funding account i.e has been settled with the merchant/ledger
currencycurrencyThree-letter ISO currency code representing the default currency in which the settlement amount value was aggregated


Access our Swagger documentation here






Panel

On this page:

Table of Contents



Related pages

Filter by label (Content by label)
showLabelsfalse
spacesGroovDocs
showSpacefalse
sorttitle
typepage
cqllabel = "core-model" and type = "page" and space = "GroovDocs"
labelsdocumentation-space-sample