All URIs are relative to //sandbox.gateway.sezzle.com/v2/
| Method | HTTP request | Description |
|---|---|---|
| get_interest_account_activity | GET /interest/activity | Interest Account Activity |
| get_interest_account_balance | GET /interest/balance | Interest Account Balance |
| get_settlement_details | GET /settlements/details/{payout_uuid} | Settlement Details |
| get_settlement_summaries | GET /settlements/summaries | Settlement Summaries |
String get_interest_account_activity(start_date, opts)
Interest Account Activity
# load the gem
require 'sezzle_client'
# setup authorization
SezzleClient.configure do |config|
# Configure API key authorization: Bearer
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = SezzleClient::ReportsApi.new
start_date = 'start_date_example' # String | Start Date
opts = {
end_date: 'end_date_example', # String | End Date
offset: 'offset_example', # String | Pagination Offset (Limit 20)
currency_code: 'currency_code_example' # String | ISO-4217 Currency Code
}
begin
#Interest Account Activity
result = api_instance.get_interest_account_activity(start_date, opts)
p result
rescue SezzleClient::ApiError => e
puts "Exception when calling ReportsApi->get_interest_account_activity: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| start_date | String | Start Date | |
| end_date | String | End Date | [optional] |
| offset | String | Pagination Offset (Limit 20) | [optional] |
| currency_code | String | ISO-4217 Currency Code | [optional] |
String
- Content-Type: Not defined
- Accept: text/csv, application/json
InlineResponse2009 get_interest_account_balance(opts)
Interest Account Balance
# load the gem
require 'sezzle_client'
# setup authorization
SezzleClient.configure do |config|
# Configure API key authorization: Bearer
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = SezzleClient::ReportsApi.new
opts = {
currency_code: 'currency_code_example' # String | ISO-4217 Currency Code
}
begin
#Interest Account Balance
result = api_instance.get_interest_account_balance(opts)
p result
rescue SezzleClient::ApiError => e
puts "Exception when calling ReportsApi->get_interest_account_balance: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| currency_code | String | ISO-4217 Currency Code | [optional] |
- Content-Type: Not defined
- Accept: application/json
String get_settlement_details(payout_uuid)
Settlement Details
# load the gem
require 'sezzle_client'
# setup authorization
SezzleClient.configure do |config|
# Configure API key authorization: Bearer
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = SezzleClient::ReportsApi.new
payout_uuid = 'payout_uuid_example' # String | Payout UUID
begin
#Settlement Details
result = api_instance.get_settlement_details(payout_uuid)
p result
rescue SezzleClient::ApiError => e
puts "Exception when calling ReportsApi->get_settlement_details: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| payout_uuid | String | Payout UUID |
String
- Content-Type: Not defined
- Accept: text/csv, application/json
Payout get_settlement_summaries(start_date, opts)
Settlement Summaries
# load the gem
require 'sezzle_client'
# setup authorization
SezzleClient.configure do |config|
# Configure API key authorization: Bearer
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = SezzleClient::ReportsApi.new
start_date = 'start_date_example' # String | Start Date
opts = {
end_date: 'end_date_example', # String | End Date
offset: 'offset_example', # String | Pagination Offset (Limit 20)
currency_code: 'currency_code_example' # String | ISO-4217 Currency Code
}
begin
#Settlement Summaries
result = api_instance.get_settlement_summaries(start_date, opts)
p result
rescue SezzleClient::ApiError => e
puts "Exception when calling ReportsApi->get_settlement_summaries: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| start_date | String | Start Date | |
| end_date | String | End Date | [optional] |
| offset | String | Pagination Offset (Limit 20) | [optional] |
| currency_code | String | ISO-4217 Currency Code | [optional] |
- Content-Type: Not defined
- Accept: application/json