blockchyp 2.16.5 → 2.18.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +304 -0
- data/lib/blockchyp/version.rb +1 -1
- data/lib/blockchyp.rb +37 -1
- data/test/_test.rb +41 -0
- data/test/activate_terminal_test.rb +1 -1
- data/test/add_test_merchant_test.rb +1 -1
- data/test/batch_history_test.rb +1 -1
- data/test/boolean_prompt_test.rb +1 -1
- data/test/cancel_payment_link_test.rb +2 -1
- data/test/capture_signature_test.rb +1 -1
- data/test/deactivate_terminal_test.rb +1 -1
- data/test/delete_branding_asset_test.rb +1 -1
- data/test/delete_customer_test.rb +1 -1
- data/test/delete_media_asset_test.rb +1 -1
- data/test/delete_queued_transaction_test.rb +1 -1
- data/test/delete_slide_show_test.rb +1 -1
- data/test/delete_survey_question_test.rb +1 -1
- data/test/delete_test_merchant_test.rb +1 -1
- data/test/delete_token_test.rb +1 -1
- data/test/empty_branding_asset_test.rb +1 -1
- data/test/empty_slide_show_test.rb +1 -1
- data/test/gateway_timeout_test.rb +1 -1
- data/test/get_customer_test.rb +1 -1
- data/test/get_merchants_test.rb +1 -1
- data/test/invite_merchant_user_test.rb +1 -1
- data/test/link_token_test.rb +1 -1
- data/test/list_queued_transactions_test.rb +1 -1
- data/test/list_terminals_test.rb +1 -1
- data/test/media_asset_test.rb +1 -1
- data/test/media_test.rb +1 -1
- data/test/media_upload_test.rb +1 -1
- data/test/merchant_credential_generation_test.rb +60 -0
- data/test/merchant_invoice_detail_test.rb +43 -0
- data/test/merchant_invoices_test.rb +43 -0
- data/test/merchant_platforms_test.rb +1 -1
- data/test/merchant_profile_test.rb +1 -1
- data/test/merchant_users_test.rb +1 -1
- data/test/new_transaction_display_test.rb +1 -1
- data/test/pan_charge_test.rb +1 -1
- data/test/pan_enroll_test.rb +1 -1
- data/test/pan_preauth_test.rb +4 -4
- data/test/partial_refund_test.rb +1 -1
- data/test/partner_commission_breakdown_test.rb +52 -0
- data/test/partner_statement_detail_test.rb +52 -0
- data/test/partner_statements_test.rb +52 -0
- data/test/payment_link_status_test.rb +1 -1
- data/test/pricing_policy_test.rb +60 -0
- data/test/resend_payment_link_test.rb +2 -1
- data/test/search_customer_test.rb +1 -1
- data/test/send_payment_link_test.rb +1 -1
- data/test/simple_batch_close_test.rb +1 -1
- data/test/simple_capture_test.rb +4 -3
- data/test/simple_gift_activate_test.rb +1 -1
- data/test/simple_locate_test.rb +1 -1
- data/test/simple_message_test.rb +1 -1
- data/test/simple_ping_test.rb +1 -1
- data/test/simple_refund_test.rb +1 -1
- data/test/simple_reversal_test.rb +1 -1
- data/test/simple_void_test.rb +1 -1
- data/test/slide_show_test.rb +1 -1
- data/test/slide_shows_test.rb +1 -1
- data/test/survey_question_test.rb +1 -1
- data/test/survey_questions_test.rb +1 -1
- data/test/survey_results_test.rb +1 -1
- data/test/tc_delete_template_test.rb +1 -1
- data/test/tc_entry_test.rb +1 -1
- data/test/tc_log_test.rb +13 -1
- data/test/tc_template_test.rb +1 -1
- data/test/tc_template_update_test.rb +1 -1
- data/test/tc_templates_test.rb +1 -1
- data/test/terminal_branding_test.rb +1 -1
- data/test/terminal_charge_test.rb +1 -1
- data/test/terminal_clear_test.rb +1 -1
- data/test/terminal_ebt_balance_test.rb +1 -1
- data/test/terminal_ebt_charge_test.rb +1 -1
- data/test/terminal_enroll_test.rb +1 -1
- data/test/terminal_gift_card_balance_test.rb +1 -1
- data/test/terminal_keyed_charge_test.rb +1 -1
- data/test/terminal_manual_ebt_charge_test.rb +1 -1
- data/test/terminal_preauth_test.rb +1 -1
- data/test/terminal_queued_transaction_test.rb +1 -1
- data/test/terminal_status_test.rb +1 -1
- data/test/terminal_timeout_test.rb +1 -1
- data/test/terms_and_conditions_test.rb +1 -1
- data/test/text_prompt_test.rb +1 -1
- data/test/token_metadata_test.rb +1 -1
- data/test/transaction_history_test.rb +1 -1
- data/test/unlink_token_test.rb +1 -1
- data/test/update_branding_asset_test.rb +1 -1
- data/test/update_customer_test.rb +1 -1
- data/test/update_merchant_platforms_test.rb +1 -1
- data/test/update_merchant_test.rb +1 -1
- data/test/update_slide_show_test.rb +1 -1
- data/test/update_survey_question_test.rb +1 -1
- data/test/update_transaction_display_test.rb +1 -1
- data/test/upload_status_test.rb +1 -1
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 606f3f0b5ef479d745a12529f21e91ecbd57395fd416a616cab672b5638964fe
|
4
|
+
data.tar.gz: 549bcdbd402a5ef557183ae9516136711dc9de365fd191b91c3af54b3f3f9570
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7976b8d33c00b70cba06e3c8a15500750c17340c15d0e79f25b2c5f7c00582f08f9cd6fcc594e06a7c1cafce220899737032ab4aa0927dd0a5cb49ce68da85d
|
7
|
+
data.tar.gz: eee7b97e37cc98e8211ad6f192cf3e3ca2d7325abf22a6ec7a1f2f98678f4a34095fe7d88740900bd798e7df72beabb922d840fa6cc15cc7b71a225ff6d1ee6a
|
data/README.md
CHANGED
@@ -3942,6 +3942,310 @@ puts "Response: #{response.inspect}"
|
|
3942
3942
|
|
3943
3943
|
```
|
3944
3944
|
|
3945
|
+
### Partner Utilities
|
3946
|
+
|
3947
|
+
|
3948
|
+
These partner only APIs give ISV partners advanced reporting and tools for managing their portfolio.
|
3949
|
+
|
3950
|
+
Most of the APIs below are for portfolio reporting and range from basic partner commission statements
|
3951
|
+
to individual statements with all underlying card brand data.
|
3952
|
+
|
3953
|
+
We also provide a pricing policy API that enables partners to pull down the current pricing rules
|
3954
|
+
in force for any merchant in their portfolio.
|
3955
|
+
|
3956
|
+
<aside class="info">
|
3957
|
+
<b>Currency Data</b>
|
3958
|
+
<p>
|
3959
|
+
All partner APIs return currency and percentage values in two formats: floating point and formatted strings.
|
3960
|
+
</p>
|
3961
|
+
<p>
|
3962
|
+
It's recommended that all developers use the formatted string as this will ensure the most precise values.
|
3963
|
+
Floating point numbers are usually not appropriate for currency or fixed point decimal numbers as
|
3964
|
+
the underlying binary encoding can lead to errors in precision. We provide floating point values
|
3965
|
+
only as a convenience for developers want to save development time and can live with approximated
|
3966
|
+
values in their use case.
|
3967
|
+
</p>
|
3968
|
+
</aside>
|
3969
|
+
|
3970
|
+
|
3971
|
+
|
3972
|
+
#### Retrieve Pricing Policy
|
3973
|
+
|
3974
|
+
|
3975
|
+
|
3976
|
+
* **API Credential Types:** Partner
|
3977
|
+
* **Required Role:** Partner API Access
|
3978
|
+
|
3979
|
+
The API returns the current pricing policy for a merchant. This API is valid for partner scoped API credentials
|
3980
|
+
and `merchantId` is a required parameter. By default this API returns the currently in-force pricing policy for a merchant,
|
3981
|
+
but other inactive policies can be returned by providing the `id` parameter.
|
3982
|
+
|
3983
|
+
Buy rates for interchange plus and fixed rate pricing are always returned, but only the pricing related to the
|
3984
|
+
pricing model type (flat rate or interchange plus) are actually used in fee calculation.
|
3985
|
+
|
3986
|
+
Each pricing level returns three values: `buyRate`, `current`, and `limit`. The actual price the merchant will pay is
|
3987
|
+
given in the `current` field. The other values reflect the contract minimum (`buyRate`) and maximum (`limit`) range
|
3988
|
+
the partner can use when changing prices.
|
3989
|
+
|
3990
|
+
|
3991
|
+
|
3992
|
+
|
3993
|
+
```ruby
|
3994
|
+
# frozen_string_literal: true
|
3995
|
+
|
3996
|
+
require 'blockchyp'
|
3997
|
+
|
3998
|
+
blockchyp = BlockChyp::BlockChyp.new(
|
3999
|
+
ENV['BC_API_KEY'],
|
4000
|
+
ENV['BC_BEARER_TOKEN'],
|
4001
|
+
ENV['BC_SIGNING_KEY']
|
4002
|
+
)
|
4003
|
+
|
4004
|
+
# Set request parameters
|
4005
|
+
request = {
|
4006
|
+
}
|
4007
|
+
|
4008
|
+
response = blockchyp.pricingPolicy(request)
|
4009
|
+
|
4010
|
+
puts "Response: #{response.inspect}"
|
4011
|
+
|
4012
|
+
|
4013
|
+
```
|
4014
|
+
|
4015
|
+
#### Partner Statements
|
4016
|
+
|
4017
|
+
|
4018
|
+
|
4019
|
+
* **API Credential Types:** Partner
|
4020
|
+
* **Required Role:** Partner API Access
|
4021
|
+
|
4022
|
+
The API returns a list of partner residual statements. By default, all statements are returned with the most recent
|
4023
|
+
statements listed first. Optional date parameters (`startDate` and `endDate`) can filter statements to a specific date range.
|
4024
|
+
|
4025
|
+
The list of statements returns basic information about statements like volume, transaction count, and commissions earned.
|
4026
|
+
|
4027
|
+
Use the `id` returned with each statement summary with the *Partner Statement Detail* API to pull down full details.
|
4028
|
+
|
4029
|
+
|
4030
|
+
|
4031
|
+
|
4032
|
+
```ruby
|
4033
|
+
# frozen_string_literal: true
|
4034
|
+
|
4035
|
+
require 'blockchyp'
|
4036
|
+
|
4037
|
+
blockchyp = BlockChyp::BlockChyp.new(
|
4038
|
+
ENV['BC_API_KEY'],
|
4039
|
+
ENV['BC_BEARER_TOKEN'],
|
4040
|
+
ENV['BC_SIGNING_KEY']
|
4041
|
+
)
|
4042
|
+
|
4043
|
+
# Set request parameters
|
4044
|
+
request = {
|
4045
|
+
}
|
4046
|
+
|
4047
|
+
response = blockchyp.partnerStatements(request)
|
4048
|
+
|
4049
|
+
puts "Response: #{response.inspect}"
|
4050
|
+
|
4051
|
+
|
4052
|
+
```
|
4053
|
+
|
4054
|
+
#### Partner Statement Detail
|
4055
|
+
|
4056
|
+
|
4057
|
+
|
4058
|
+
* **API Credential Types:** Partner
|
4059
|
+
* **Required Role:** Partner API Access
|
4060
|
+
|
4061
|
+
The API returns detailed information about a specific partner statement. Aggregate data is returned along with
|
4062
|
+
line item level data for each underlying merchant statement.
|
4063
|
+
|
4064
|
+
Use the merchant invoice id with the *Merchant Statement Detail* API and the *Partner Commission Breakdown* API
|
4065
|
+
to get the merchant statement and the card brand fee cost breakdown respectively.
|
4066
|
+
|
4067
|
+
|
4068
|
+
|
4069
|
+
|
4070
|
+
```ruby
|
4071
|
+
# frozen_string_literal: true
|
4072
|
+
|
4073
|
+
require 'blockchyp'
|
4074
|
+
|
4075
|
+
blockchyp = BlockChyp::BlockChyp.new(
|
4076
|
+
ENV['BC_API_KEY'],
|
4077
|
+
ENV['BC_BEARER_TOKEN'],
|
4078
|
+
ENV['BC_SIGNING_KEY']
|
4079
|
+
)
|
4080
|
+
|
4081
|
+
# Set request parameters
|
4082
|
+
request = {
|
4083
|
+
}
|
4084
|
+
|
4085
|
+
response = blockchyp.partnerStatementDetail(request)
|
4086
|
+
|
4087
|
+
puts "Response: #{response.inspect}"
|
4088
|
+
|
4089
|
+
|
4090
|
+
```
|
4091
|
+
|
4092
|
+
#### Merchant Invoices
|
4093
|
+
|
4094
|
+
|
4095
|
+
|
4096
|
+
* **API Credential Types:** Partner or Merchant
|
4097
|
+
* **Required Role:** Partner API Access or Merchant API
|
4098
|
+
|
4099
|
+
The API returns a list of merchant statements and invoices. By default, all invoices are returned with the most recent
|
4100
|
+
statements listed first. Optional date parameters (`startDate` and `endDate`) can be used to filter statements by date
|
4101
|
+
range.
|
4102
|
+
|
4103
|
+
The `invoiceType` parameter can also be used to filter invoices by type. Invoices could be conventional invoices, such
|
4104
|
+
as those generated when ordering terminals or gift cards, or invoices could be merchant statements.
|
4105
|
+
|
4106
|
+
|
4107
|
+
|
4108
|
+
|
4109
|
+
```ruby
|
4110
|
+
# frozen_string_literal: true
|
4111
|
+
|
4112
|
+
require 'blockchyp'
|
4113
|
+
|
4114
|
+
blockchyp = BlockChyp::BlockChyp.new(
|
4115
|
+
ENV['BC_API_KEY'],
|
4116
|
+
ENV['BC_BEARER_TOKEN'],
|
4117
|
+
ENV['BC_SIGNING_KEY']
|
4118
|
+
)
|
4119
|
+
|
4120
|
+
# Set request parameters
|
4121
|
+
request = {
|
4122
|
+
}
|
4123
|
+
|
4124
|
+
response = blockchyp.merchantInvoices(request)
|
4125
|
+
|
4126
|
+
puts "Response: #{response.inspect}"
|
4127
|
+
|
4128
|
+
|
4129
|
+
```
|
4130
|
+
|
4131
|
+
#### Merchant Invoice Detail
|
4132
|
+
|
4133
|
+
|
4134
|
+
|
4135
|
+
* **API Credential Types:** Partner
|
4136
|
+
* **Required Role:** Partner API Access
|
4137
|
+
|
4138
|
+
The API returns detailed information about a specific merchant statement or invoice.
|
4139
|
+
|
4140
|
+
All line items are returned a topographically sorted tree modeling the nested line item structure of the
|
4141
|
+
invoice. Details about any payments posted against the invoice are returned.
|
4142
|
+
|
4143
|
+
It the invoice is a merchant statement, details about every merchant deposit that occurred during the statement period
|
4144
|
+
are also returned.
|
4145
|
+
|
4146
|
+
|
4147
|
+
|
4148
|
+
|
4149
|
+
```ruby
|
4150
|
+
# frozen_string_literal: true
|
4151
|
+
|
4152
|
+
require 'blockchyp'
|
4153
|
+
|
4154
|
+
blockchyp = BlockChyp::BlockChyp.new(
|
4155
|
+
ENV['BC_API_KEY'],
|
4156
|
+
ENV['BC_BEARER_TOKEN'],
|
4157
|
+
ENV['BC_SIGNING_KEY']
|
4158
|
+
)
|
4159
|
+
|
4160
|
+
# Set request parameters
|
4161
|
+
request = {
|
4162
|
+
}
|
4163
|
+
|
4164
|
+
response = blockchyp.merchantInvoiceDetail(request)
|
4165
|
+
|
4166
|
+
puts "Response: #{response.inspect}"
|
4167
|
+
|
4168
|
+
|
4169
|
+
```
|
4170
|
+
|
4171
|
+
#### Partner Commission Breakdown
|
4172
|
+
|
4173
|
+
|
4174
|
+
|
4175
|
+
* **API Credential Types:** Partner
|
4176
|
+
* **Required Role:** Partner API Access
|
4177
|
+
|
4178
|
+
This API allows partners to pull down the low level data used to compute a partner commission for a specific merchant statement.
|
4179
|
+
|
4180
|
+
The `statementId` is required and must be the id of a valid merchant invoice of type `statement`.
|
4181
|
+
|
4182
|
+
|
4183
|
+
|
4184
|
+
|
4185
|
+
```ruby
|
4186
|
+
# frozen_string_literal: true
|
4187
|
+
|
4188
|
+
require 'blockchyp'
|
4189
|
+
|
4190
|
+
blockchyp = BlockChyp::BlockChyp.new(
|
4191
|
+
ENV['BC_API_KEY'],
|
4192
|
+
ENV['BC_BEARER_TOKEN'],
|
4193
|
+
ENV['BC_SIGNING_KEY']
|
4194
|
+
)
|
4195
|
+
|
4196
|
+
# Set request parameters
|
4197
|
+
request = {
|
4198
|
+
}
|
4199
|
+
|
4200
|
+
response = blockchyp.partnerCommissionBreakdown(request)
|
4201
|
+
|
4202
|
+
puts "Response: #{response.inspect}"
|
4203
|
+
|
4204
|
+
|
4205
|
+
```
|
4206
|
+
|
4207
|
+
#### Merchant Credential Generation
|
4208
|
+
|
4209
|
+
|
4210
|
+
|
4211
|
+
* **API Credential Types:** Partner
|
4212
|
+
* **Required Role:** Partner API Access
|
4213
|
+
|
4214
|
+
This API allows partners to generate API credentials for a merchant.
|
4215
|
+
|
4216
|
+
The `merchantId` is required and must be the id of a valid merchant.
|
4217
|
+
|
4218
|
+
Credentials are not delete protected by default. Pass in `deleteProtected` to enable delete protection.
|
4219
|
+
|
4220
|
+
The optional `notes` field will populate the notes in the credentials.
|
4221
|
+
|
4222
|
+
By default no roles will be assigned unless valid, comma-delimited, role codes are passed in the `roles` field.
|
4223
|
+
|
4224
|
+
|
4225
|
+
|
4226
|
+
|
4227
|
+
```ruby
|
4228
|
+
# frozen_string_literal: true
|
4229
|
+
|
4230
|
+
require 'blockchyp'
|
4231
|
+
|
4232
|
+
blockchyp = BlockChyp::BlockChyp.new(
|
4233
|
+
ENV['BC_API_KEY'],
|
4234
|
+
ENV['BC_BEARER_TOKEN'],
|
4235
|
+
ENV['BC_SIGNING_KEY']
|
4236
|
+
)
|
4237
|
+
|
4238
|
+
# Set request parameters
|
4239
|
+
request = {
|
4240
|
+
}
|
4241
|
+
|
4242
|
+
response = blockchyp.merchantCredentialGeneration(request)
|
4243
|
+
|
4244
|
+
puts "Response: #{response.inspect}"
|
4245
|
+
|
4246
|
+
|
4247
|
+
```
|
4248
|
+
|
3945
4249
|
|
3946
4250
|
|
3947
4251
|
|
data/lib/blockchyp/version.rb
CHANGED
data/lib/blockchyp.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -264,6 +264,37 @@ module BlockChyp
|
|
264
264
|
gateway_request('POST', '/api/tx-history', request)
|
265
265
|
end
|
266
266
|
|
267
|
+
# Returns pricing policy for a merchant.
|
268
|
+
def pricing_policy(request)
|
269
|
+
gateway_request('POST', '/api/read-pricing-policy', request)
|
270
|
+
end
|
271
|
+
|
272
|
+
# Returns a list of partner statements.
|
273
|
+
def partner_statements(request)
|
274
|
+
gateway_request('POST', '/api/partner-statement-list', request)
|
275
|
+
end
|
276
|
+
|
277
|
+
# Returns detail for a single partner statement.
|
278
|
+
def partner_statement_detail(request)
|
279
|
+
gateway_request('POST', '/api/partner-statement-detail', request)
|
280
|
+
end
|
281
|
+
|
282
|
+
# Returns a list of merchant invoices.
|
283
|
+
def merchant_invoices(request)
|
284
|
+
gateway_request('POST', '/api/merchant-invoice-list', request)
|
285
|
+
end
|
286
|
+
|
287
|
+
# Returns detail for a single merchant-invoice statement.
|
288
|
+
def merchant_invoice_detail(request)
|
289
|
+
gateway_request('POST', '/api/merchant-invoice-detail', request)
|
290
|
+
end
|
291
|
+
|
292
|
+
# Returns low level details for how partner commissions were calculated
|
293
|
+
# for a specific merchant statement.
|
294
|
+
def partner_commission_breakdown(request)
|
295
|
+
gateway_request('POST', '/api/partner-commission-breakdown', request)
|
296
|
+
end
|
297
|
+
|
267
298
|
# Returns profile information for a merchant.
|
268
299
|
def merchant_profile(request)
|
269
300
|
gateway_request('POST', '/api/public-merchant-profile', request)
|
@@ -295,6 +326,11 @@ module BlockChyp
|
|
295
326
|
end
|
296
327
|
|
297
328
|
|
329
|
+
# Generates and returns api credentials for a given merchant.
|
330
|
+
def merchant_credential_generation(request)
|
331
|
+
dashboard_request('POST', '/api/generate-merchant-creds', request)
|
332
|
+
end
|
333
|
+
|
298
334
|
# Adds a test merchant account.
|
299
335
|
def get_merchants(request)
|
300
336
|
dashboard_request('POST', '/api/get-merchants', request)
|
data/test/_test.rb
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
|
+
# governed by a license that can be found in the LICENSE file.
|
5
|
+
#
|
6
|
+
# This file was generated automatically by the BlockChyp SDK Generator.
|
7
|
+
# Changes to this file will be lost every time the code is regenerated.
|
8
|
+
|
9
|
+
require ::File.expand_path('test_helper', __dir__)
|
10
|
+
|
11
|
+
module BlockChyp
|
12
|
+
class Test < TestCase
|
13
|
+
def test_
|
14
|
+
|
15
|
+
puts "Running test_..."
|
16
|
+
|
17
|
+
config = load_test_config
|
18
|
+
|
19
|
+
blockchyp = BlockChyp.new(
|
20
|
+
config[:apiKey],
|
21
|
+
config[:bearerToken],
|
22
|
+
config[:signingKey]
|
23
|
+
)
|
24
|
+
blockchyp.gateway_host = config[:gatewayHost]
|
25
|
+
blockchyp.test_gateway_host = config[:testGatewayHost]
|
26
|
+
blockchyp.dashboard_host = config[:dashboardHost]
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
# Set request parameters
|
33
|
+
request = {
|
34
|
+
}
|
35
|
+
|
36
|
+
response = blockchyp.merchant_credential_generation(request)
|
37
|
+
assert_not_nil(response)
|
38
|
+
# response assertions
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
data/test/batch_history_test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
data/test/boolean_prompt_test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -60,6 +60,7 @@ module BlockChyp
|
|
60
60
|
|
61
61
|
# Set request parameters
|
62
62
|
request = {
|
63
|
+
test: true,
|
63
64
|
linkCode: response[:linkCode]
|
64
65
|
}
|
65
66
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
data/test/delete_token_test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
data/test/get_customer_test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
data/test/get_merchants_test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
data/test/link_token_test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
data/test/list_terminals_test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
data/test/media_asset_test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|
data/test/media_test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright 2019-
|
3
|
+
# Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is
|
4
4
|
# governed by a license that can be found in the LICENSE file.
|
5
5
|
#
|
6
6
|
# This file was generated automatically by the BlockChyp SDK Generator.
|