• User Documentation 
  • Amaryllis Release Notes 
  • For Developers 

  • User Documentation 
  • Amaryllis Release Notes 
  • For Developers 

Heartland - Dev Portal

  • folder icon closed folder iconIntroduction
  • folder icon closed folder iconAuthentication
  • folder icon closed folder iconManagement
    • Getting Started
    • Platform Accounts Management
      • Get Platform Account Configuration
      • Get Platform Account
      • Create Platform Account
      • Update Platform Account
      • Objects Reference
    • Sub-Accounts Management
      • Get Sub-Account Configurations
      • Get Sub-Account
      • Create Sub-Account
      • Update Sub-Account
      • Objects Reference
    • Users Management
      • Get User by User Id
      • Get User by Username
      • Create User
      • Update User
      • Objects Reference
    • Underwriting Management
      • Get Application
      • Get Application Template
      • Get Application Fields Statuses
      • Get Application Status
      • Get Linked Sub-Accounts
      • Get Resubmission
      • UMS IFrame Authentication
      • UMS IFrame
      • UMS IFrame Authentication in Resubmission Mode
      • UMS IFrame in Resubmission Mode
      • Create Application
      • Update Application
      • Update Application Fields Statuses
      • Update Application Status
      • Objects Reference
      • Response Codes
  • folder icon closed folder iconTransactions Processing
    • Getting Started
    • Credit Card Transactions
      • 3D-Secure
      • Authorization
      • Void
      • Capture
      • Charge
      • Refund
      • Credit
      • Verify
      • Chargeback
      • Cancel
    • Update
    • Adjustment
    • Recurring
    • ACH
    • Response
    • Response Codes
    • Objects Reference
  • folder icon closed folder iconTransactions Echo
    • Getting Started
    • Credit Card Transactions
      • Authorization
      • Void
      • Capture
      • Charge
      • Refund
      • Credit
      • Verify
      • Chargeback
      • Cancel
    • Update
    • Adjustment
    • ACH
    • Echo Response
    • Response Codes
    • Objects Reference
  • folder icon closed folder iconTokenization
    • Processing with a Token
      • Getting Started
      • Processing with Tokenization
    • Tokenization iFrame
      • iFrame Integration
      • iFrame Customization
      • iFrame Testing
      • Response Example
    • Tokenization API
      • Getting Started
      • Tokenization Request
      • Tokenization Response
      • Response Codes
  • folder icon closed folder iconPayouts
    • Getting Started
    • Payout Transactions
    • Response
    • Objects Reference
  • folder icon closed folder iconReports
    • Getting Started
    • Reports API
      • Account Balances
      • Payouts
      • Payouts Reconciliation
      • Transaction Details
      • Settlements
      • Account Summary
      • Transactions
      • Transactions Summary
      • Fees Summary
      • Incoming Fees
      • Expected Future Revenue
      • Profitability Analysis
      • Reconciliation Summary
      • Reconciliation Records
      • Chargeback Analysis
      • Tokens
      • Sign-up Summary
    • Status Codes
  • folder icon closed folder iconErrors
  • folder icon closed folder iconResponse Codes
  1. Home
  2. Docs
  3. Heartland – Dev Portal
  4. Reports
  5. Reports API
  6. Settlements
Updated on June 9, 2023

Heartland - Dev Portal

  • folder icon closed folder iconIntroduction
  • folder icon closed folder iconAuthentication
  • folder icon closed folder iconManagement
    • Getting Started
    • Platform Accounts Management
      • Get Platform Account Configuration
      • Get Platform Account
      • Create Platform Account
      • Update Platform Account
      • Objects Reference
    • Sub-Accounts Management
      • Get Sub-Account Configurations
      • Get Sub-Account
      • Create Sub-Account
      • Update Sub-Account
      • Objects Reference
    • Users Management
      • Get User by User Id
      • Get User by Username
      • Create User
      • Update User
      • Objects Reference
    • Underwriting Management
      • Get Application
      • Get Application Template
      • Get Application Fields Statuses
      • Get Application Status
      • Get Linked Sub-Accounts
      • Get Resubmission
      • UMS IFrame Authentication
      • UMS IFrame
      • UMS IFrame Authentication in Resubmission Mode
      • UMS IFrame in Resubmission Mode
      • Create Application
      • Update Application
      • Update Application Fields Statuses
      • Update Application Status
      • Objects Reference
      • Response Codes
  • folder icon closed folder iconTransactions Processing
    • Getting Started
    • Credit Card Transactions
      • 3D-Secure
      • Authorization
      • Void
      • Capture
      • Charge
      • Refund
      • Credit
      • Verify
      • Chargeback
      • Cancel
    • Update
    • Adjustment
    • Recurring
    • ACH
    • Response
    • Response Codes
    • Objects Reference
  • folder icon closed folder iconTransactions Echo
    • Getting Started
    • Credit Card Transactions
      • Authorization
      • Void
      • Capture
      • Charge
      • Refund
      • Credit
      • Verify
      • Chargeback
      • Cancel
    • Update
    • Adjustment
    • ACH
    • Echo Response
    • Response Codes
    • Objects Reference
  • folder icon closed folder iconTokenization
    • Processing with a Token
      • Getting Started
      • Processing with Tokenization
    • Tokenization iFrame
      • iFrame Integration
      • iFrame Customization
      • iFrame Testing
      • Response Example
    • Tokenization API
      • Getting Started
      • Tokenization Request
      • Tokenization Response
      • Response Codes
  • folder icon closed folder iconPayouts
    • Getting Started
    • Payout Transactions
    • Response
    • Objects Reference
  • folder icon closed folder iconReports
    • Getting Started
    • Reports API
      • Account Balances
      • Payouts
      • Payouts Reconciliation
      • Transaction Details
      • Settlements
      • Account Summary
      • Transactions
      • Transactions Summary
      • Fees Summary
      • Incoming Fees
      • Expected Future Revenue
      • Profitability Analysis
      • Reconciliation Summary
      • Reconciliation Records
      • Chargeback Analysis
      • Tokens
      • Sign-up Summary
    • Status Codes
  • folder icon closed folder iconErrors
  • folder icon closed folder iconResponse Codes

Settlements

REST Sandbox URL: https://sandbox.4levers.com/NewReportsApi/api/Reports/settlements
REST Production URL: https://reports-api.4levers.com/api/Reports/settlements

Settlement is the net calculated transfer amount from Buyers to Merchants (Sellers).

Transactions (sales) (credit card and/or ACH or other sales) generate a positive settlement balance.

Debit transactions (refunds, chargebacks and fees) generate a negative settlement balance.

Settlements report provides your Sub-Account settlement balance breakdown:

Settlement Balance = Sales – Refunds- Chargebacks – Fees

Settlement balance shows the Sub-Account net liquidity balance. You can use it to determine whether your Sub-Account has a positive or negative trade balance on a specific date or for a specific period.

Request Example (REST Production URL)

GET: https://reports-api.4levers.com/api/Reports/settlements?ReportPeriodType=Monthly&Processors={processorId}&DateFrom=2020-12-10&DateTo=2020-12-22&Currencies=USD&Take=5

Request Parameters
 NameTypeRequiredDescription
 datefromdatetime✓determines the selection starting/ending time range
 datetodatetime✓determines the selection starting/ending time range
 reportperiodtypeenumoptional

select the output period for the report

Available Values:
 
  • daily
  • monthly
 processorsstring/arrayoptionalclearing processor name(s)
 serviceprovidersinteger/arrayoptionalenter your service provider id(s)
 operatorsinteger/arrayoptionalenter your operator id(s)
 accountsinteger/arrayoptionalenter your platform account id(s)
 subaccountsstring/arrayoptionalenter your sub-account id(s)
 skipintegeroptional

these parameters determine which records will be displayed in the report based on specified index number.

to get from fifth to twentieth record specify skip = 4 and take = 16
 takeintegeroptional

these parameters determine which records will be displayed in the report based on specified index number.

to get from fifth to twentieth record specify skip = 4 and take = 16
 currenciesenumoptional

enter currency type ids to filter sub-account by

Available Values:
 
  • CAD
  • USD
  • EUR
  • GBP
  • AUD
  • SGD
  • JPY
  • NZD

Response Parameters

 NameDescription
 datesystem date and time
 numberofsalesdeposit (sale) transactions count
 amountofsalesdeposit (sale) transactions overall amount
 numberofcreditscredit transactions count
 amountofcreditsoverall amount of credit transactions
 numberofchargebackschargebacks transactions count
 amountofchargebacksoverall amount of chargebacks transactions
 outgoingfeesoutgoing fees amount
 interchangefeesinterchange fees amount
 reservefeesreserve balance fees amount
 incomingfeesincoming fees amount
 amountofsettlement

total settlements amount.

settlement balance = sales – refunds- chargebacks – fees.
 currencytransaction currency
 subaccountsub-account identifier
 platformaccountplatform account name

 

				
					
[
  {
            "date": "2022-03-03T12:59:59",             
            "numberOfSales": "1",              
            "amountOfSales": "5.00",               
            "numberOfCredits": "0",                
            "amountOfCredits": "0.00",             
            "numberOfChargebacks": "0",                
            "amountOfChargebacks": "0.00",             
            "outgoingFees": "0.000000",                
            "interchangeFees": "0.000000",             
            "reserveFees": "0.000000",             
            "incomingFees": "0.000000",                
            "amountOfSettlement": "5.000000",              
            "currency": "EUR",             
            "subAccount": "test_sub_account",              
            "platformAccount": "test_account"
  },
  {
            "date": "2022-03-03T12:59:59",             
            "numberOfSales": "1",              
            "amountOfSales": "5.00",               
            "numberOfCredits": "0",                
            "amountOfCredits": "0.00",             
            "numberOfChargebacks": "0",                
            "amountOfChargebacks": "0.00",             
            "outgoingFees": "0.000000",                
            "interchangeFees": "0.000000",             
            "reserveFees": "0.000000",             
            "incomingFees": "0.000000",                
            "amountOfSettlement": "5.000000",              
            "currency": "EUR",             
            "subAccount": "test_sub_account",              
            "platformAccount": "test_account"
  }
]				
			
Still stuck? How can we help?
Was this page helpful? Yes No

How can we help?

© Amaryllis Payment Solutions, 2022  All rights reserved.