blockchyp 2.30.1 → 2.30.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e5b8a4081fbd61b2af0e47ee6f7631fe7bbc131911f7d05f0df16da3971a632
4
- data.tar.gz: 1a20f84234ef1cb72fc8de3b19db24f029ff8069066a85f953e044849f092e16
3
+ metadata.gz: f518a860b9937380567592be3af600fe3b81bc1058077f6b4d9c303e97b674e9
4
+ data.tar.gz: 252fdaa588898c9d6843b95ddf12fb3b2b9664c8e5dd88b30823cab68a77d974
5
5
  SHA512:
6
- metadata.gz: 3368dc6a2ceedeb0c9075ebfbda085ffeb410ea3979835f8053e3ec67db19fcaee623c0564e16720372866735d02cd79a707d1cef6037db5c7ee3d2fd53efe44
7
- data.tar.gz: 0eba5fa8e1d017e359650f2ae9b5b0d5e6405c8cfa70bb02674924cf89bbca24aa00a674ffa0f898d957cd509a2a81ded10d5525aa8867e54f380068985d94dd
6
+ metadata.gz: 6bd7558a22d213c487b016b8b94de8866c901204cdde9150ab8461f67a0c59ae01d26abf9fbbaabf2733bbf59ddc0043301174fd41ffcc5c1402f1db78ce03ab
7
+ data.tar.gz: 15c5d9d1da59ec12234cf1f0cc5c5b31775b29bad90d6325dcfae54c0b15c171c1e0e4c6a8c4ce8fff32260f39129bdcc7537c8793d80214b52c2dfd51ea56ac
data/README.md CHANGED
@@ -118,6 +118,33 @@ response = blockchyp.surchargeReview(request)
118
118
  puts "Response: #{response.inspect}"
119
119
 
120
120
 
121
+ ```
122
+
123
+ #### Transient Key
124
+
125
+ Generates a short-lived API key scoped to terminal and payment operations.
126
+
127
+
128
+ ```ruby
129
+ # frozen_string_literal: true
130
+
131
+ require 'blockchyp'
132
+
133
+ blockchyp = BlockChyp::BlockChyp.new(
134
+ ENV['BC_API_KEY'],
135
+ ENV['BC_BEARER_TOKEN'],
136
+ ENV['BC_SIGNING_KEY']
137
+ )
138
+
139
+ # Set request parameters
140
+ request = {
141
+ }
142
+
143
+ response = blockchyp.transientKey(request)
144
+
145
+ puts "Response: #{response.inspect}"
146
+
147
+
121
148
  ```
122
149
 
123
150
  #### Charge
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BlockChyp
4
- VERSION = '2.30.1'
4
+ VERSION = '2.30.3'
5
5
  end
data/lib/blockchyp.rb CHANGED
@@ -185,6 +185,12 @@ module BlockChyp
185
185
  gateway_request('POST', '/api/surcharge-review', request)
186
186
  end
187
187
 
188
+ # Generates a short-lived API key scoped to terminal and payment
189
+ # operations.
190
+ def transient_key(request)
191
+ gateway_request('POST', '/api/transient-credentials', request)
192
+ end
193
+
188
194
  # Captures a preauthorization.
189
195
  def capture(request)
190
196
  gateway_request('POST', '/api/capture', request)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blockchyp
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.30.1
4
+ version: 2.30.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - BlockChyp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-24 00:00:00.000000000 Z
11
+ date: 2026-04-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: