alogram_payrisk 0.2.23 → 0.3.0
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/RELEASE.json +4 -4
- data/alogram_payrisk.gemspec +1 -1
- data/lib/alogram_payrisk/api/forensic_data_api.rb +19 -19
- data/lib/alogram_payrisk/api/risk_scoring_api.rb +28 -28
- data/lib/alogram_payrisk/api/roadmap_preview_api.rb +55 -55
- data/lib/alogram_payrisk/api/signal_intelligence_api.rb +55 -55
- data/lib/alogram_payrisk/api/system_api.rb +1 -1
- data/lib/alogram_payrisk/api_client.rb +1 -1
- data/lib/alogram_payrisk/api_error.rb +1 -1
- data/lib/alogram_payrisk/api_model_base.rb +1 -1
- data/lib/alogram_payrisk/configuration.rb +1 -1
- data/lib/alogram_payrisk/models/account.rb +1 -1
- data/lib/alogram_payrisk/models/account_check_request.rb +1 -1
- data/lib/alogram_payrisk/models/agent_manifest.rb +1 -1
- data/lib/alogram_payrisk/models/agent_provider.rb +1 -1
- data/lib/alogram_payrisk/models/auth_context.rb +1 -1
- data/lib/alogram_payrisk/models/avs_result_enum.rb +1 -1
- data/lib/alogram_payrisk/models/bank_transfer.rb +1 -1
- data/lib/alogram_payrisk/models/card.rb +1 -1
- data/lib/alogram_payrisk/models/card_network_enum.rb +1 -1
- data/lib/alogram_payrisk/models/category_signal.rb +1 -1
- data/lib/alogram_payrisk/models/channel_enum.rb +1 -1
- data/lib/alogram_payrisk/models/check_request.rb +1 -1
- data/lib/alogram_payrisk/models/confidence_enum.rb +1 -1
- data/lib/alogram_payrisk/models/crypto.rb +1 -1
- data/lib/alogram_payrisk/models/cvv_result_enum.rb +1 -1
- data/lib/alogram_payrisk/models/decision_resolution_request.rb +1 -1
- data/lib/alogram_payrisk/models/decision_resolution_request_analyst.rb +1 -1
- data/lib/alogram_payrisk/models/decision_resolution_response.rb +1 -1
- data/lib/alogram_payrisk/models/decision_response.rb +32 -216
- data/lib/alogram_payrisk/models/decision_response_policy.rb +159 -0
- data/lib/alogram_payrisk/models/device_info.rb +1 -1
- data/lib/alogram_payrisk/models/discount_code.rb +1 -1
- data/lib/alogram_payrisk/models/entity_ids.rb +36 -5
- data/lib/alogram_payrisk/models/entry_method_enum.rb +1 -1
- data/lib/alogram_payrisk/models/external_assessment.rb +1 -1
- data/lib/alogram_payrisk/models/fraud_score.rb +1 -1
- data/lib/alogram_payrisk/models/identity.rb +1 -1
- data/lib/alogram_payrisk/models/ingest_payment_event202_response.rb +1 -1
- data/lib/alogram_payrisk/models/integrity.rb +1 -1
- data/lib/alogram_payrisk/models/interaction.rb +1 -1
- data/lib/alogram_payrisk/models/interaction_type_enum.rb +1 -1
- data/lib/alogram_payrisk/models/invoice.rb +1 -1
- data/lib/alogram_payrisk/models/ip_info.rb +1 -1
- data/lib/alogram_payrisk/models/kyc_check_request.rb +1 -1
- data/lib/alogram_payrisk/models/kyc_payload.rb +1 -1
- data/lib/alogram_payrisk/models/merchant_context.rb +1 -1
- data/lib/alogram_payrisk/models/operator_type.rb +42 -0
- data/lib/alogram_payrisk/models/order_context.rb +1 -1
- data/lib/alogram_payrisk/models/payer_type_enum.rb +1 -1
- data/lib/alogram_payrisk/models/payment_authorization_outcome.rb +1 -1
- data/lib/alogram_payrisk/models/payment_capture_outcome.rb +1 -1
- data/lib/alogram_payrisk/models/payment_card_type_enum.rb +1 -1
- data/lib/alogram_payrisk/models/payment_chargeback.rb +1 -1
- data/lib/alogram_payrisk/models/payment_chargeback_outcome.rb +1 -1
- data/lib/alogram_payrisk/models/payment_dispute_outcome.rb +1 -1
- data/lib/alogram_payrisk/models/payment_event.rb +1 -1
- data/lib/alogram_payrisk/models/payment_event_type.rb +1 -1
- data/lib/alogram_payrisk/models/payment_method.rb +1 -1
- data/lib/alogram_payrisk/models/payment_outcome.rb +1 -1
- data/lib/alogram_payrisk/models/payment_realtime_type_enum.rb +1 -1
- data/lib/alogram_payrisk/models/payment_refund_outcome.rb +1 -1
- data/lib/alogram_payrisk/models/payment_wallet_type_enum.rb +1 -1
- data/lib/alogram_payrisk/models/postal_address.rb +1 -1
- data/lib/alogram_payrisk/models/problem.rb +1 -1
- data/lib/alogram_payrisk/models/purchase.rb +1 -1
- data/lib/alogram_payrisk/models/purchase_initiator_enum.rb +1 -1
- data/lib/alogram_payrisk/models/purchase_sequence_enum.rb +1 -1
- data/lib/alogram_payrisk/models/purchase_usage_enum.rb +1 -1
- data/lib/alogram_payrisk/models/realtime.rb +1 -1
- data/lib/alogram_payrisk/models/reason_detail.rb +15 -5
- data/lib/alogram_payrisk/models/risk_breakdown.rb +1 -1
- data/lib/alogram_payrisk/models/risk_category_enum.rb +1 -1
- data/lib/alogram_payrisk/models/risk_level_enum.rb +1 -1
- data/lib/alogram_payrisk/models/sca_method_enum.rb +1 -1
- data/lib/alogram_payrisk/models/score_record.rb +19 -117
- data/lib/alogram_payrisk/models/scores_success_response.rb +1 -1
- data/lib/alogram_payrisk/models/signals_account_variant.rb +1 -1
- data/lib/alogram_payrisk/models/signals_interaction_variant.rb +1 -1
- data/lib/alogram_payrisk/models/signals_request.rb +1 -1
- data/lib/alogram_payrisk/models/stored_credential_context.rb +1 -1
- data/lib/alogram_payrisk/models/three_ds_data.rb +1 -1
- data/lib/alogram_payrisk/models/wallet.rb +1 -1
- data/lib/alogram_payrisk/version.rb +2 -2
- data/lib/alogram_payrisk.rb +3 -1
- data/spec/api/forensic_data_api_spec.rb +3 -3
- data/spec/api/risk_scoring_api_spec.rb +4 -4
- data/spec/api/roadmap_preview_api_spec.rb +7 -7
- data/spec/api/signal_intelligence_api_spec.rb +7 -7
- data/spec/api/system_api_spec.rb +1 -1
- data/spec/models/account_check_request_spec.rb +1 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/agent_manifest_spec.rb +1 -1
- data/spec/models/agent_provider_spec.rb +1 -1
- data/spec/models/auth_context_spec.rb +1 -1
- data/spec/models/avs_result_enum_spec.rb +1 -1
- data/spec/models/bank_transfer_spec.rb +1 -1
- data/spec/models/card_network_enum_spec.rb +1 -1
- data/spec/models/card_spec.rb +1 -1
- data/spec/models/category_signal_spec.rb +1 -1
- data/spec/models/channel_enum_spec.rb +1 -1
- data/spec/models/check_request_spec.rb +1 -1
- data/spec/models/confidence_enum_spec.rb +1 -1
- data/spec/models/crypto_spec.rb +1 -1
- data/spec/models/cvv_result_enum_spec.rb +1 -1
- data/spec/models/decision_resolution_request_analyst_spec.rb +1 -1
- data/spec/models/decision_resolution_request_spec.rb +1 -1
- data/spec/models/decision_resolution_response_spec.rb +1 -1
- data/spec/models/decision_response_policy_spec.rb +42 -0
- data/spec/models/decision_response_spec.rb +4 -50
- data/spec/models/device_info_spec.rb +1 -1
- data/spec/models/discount_code_spec.rb +1 -1
- data/spec/models/entity_ids_spec.rb +7 -1
- data/spec/models/entry_method_enum_spec.rb +1 -1
- data/spec/models/external_assessment_spec.rb +1 -1
- data/spec/models/fraud_score_spec.rb +1 -1
- data/spec/models/identity_spec.rb +1 -1
- data/spec/models/ingest_payment_event202_response_spec.rb +1 -1
- data/spec/models/integrity_spec.rb +1 -1
- data/spec/models/interaction_spec.rb +1 -1
- data/spec/models/interaction_type_enum_spec.rb +1 -1
- data/spec/models/invoice_spec.rb +1 -1
- data/spec/models/ip_info_spec.rb +1 -1
- data/spec/models/kyc_check_request_spec.rb +1 -1
- data/spec/models/kyc_payload_spec.rb +1 -1
- data/spec/models/merchant_context_spec.rb +1 -1
- data/spec/models/operator_type_spec.rb +30 -0
- data/spec/models/order_context_spec.rb +1 -1
- data/spec/models/payer_type_enum_spec.rb +1 -1
- data/spec/models/payment_authorization_outcome_spec.rb +1 -1
- data/spec/models/payment_capture_outcome_spec.rb +1 -1
- data/spec/models/payment_card_type_enum_spec.rb +1 -1
- data/spec/models/payment_chargeback_outcome_spec.rb +1 -1
- data/spec/models/payment_chargeback_spec.rb +1 -1
- data/spec/models/payment_dispute_outcome_spec.rb +1 -1
- data/spec/models/payment_event_spec.rb +1 -1
- data/spec/models/payment_event_type_spec.rb +1 -1
- data/spec/models/payment_method_spec.rb +1 -1
- data/spec/models/payment_outcome_spec.rb +1 -1
- data/spec/models/payment_realtime_type_enum_spec.rb +1 -1
- data/spec/models/payment_refund_outcome_spec.rb +1 -1
- data/spec/models/payment_wallet_type_enum_spec.rb +1 -1
- data/spec/models/postal_address_spec.rb +1 -1
- data/spec/models/problem_spec.rb +1 -1
- data/spec/models/purchase_initiator_enum_spec.rb +1 -1
- data/spec/models/purchase_sequence_enum_spec.rb +1 -1
- data/spec/models/purchase_spec.rb +1 -1
- data/spec/models/purchase_usage_enum_spec.rb +1 -1
- data/spec/models/realtime_spec.rb +1 -1
- data/spec/models/reason_detail_spec.rb +7 -1
- data/spec/models/risk_breakdown_spec.rb +1 -1
- data/spec/models/risk_category_enum_spec.rb +1 -1
- data/spec/models/risk_level_enum_spec.rb +1 -1
- data/spec/models/sca_method_enum_spec.rb +1 -1
- data/spec/models/score_record_spec.rb +2 -20
- data/spec/models/scores_success_response_spec.rb +1 -1
- data/spec/models/signals_account_variant_spec.rb +1 -1
- data/spec/models/signals_interaction_variant_spec.rb +1 -1
- data/spec/models/signals_request_spec.rb +1 -1
- data/spec/models/stored_credential_context_spec.rb +1 -1
- data/spec/models/three_ds_data_spec.rb +1 -1
- data/spec/models/wallet_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.4.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.2.0/gem_make.out +5 -5
- metadata +8 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -16,11 +16,8 @@ require 'time'
|
|
|
16
16
|
module AlogramPayRisk
|
|
17
17
|
# Fraud score for a specific transaction or entity.
|
|
18
18
|
class ScoreRecord < ApiModelBase
|
|
19
|
-
# Universal
|
|
20
|
-
attr_accessor :
|
|
21
|
-
|
|
22
|
-
# Server-minted unique payment identifier.
|
|
23
|
-
attr_accessor :payment_intent_id
|
|
19
|
+
# Universal, authoritative transaction and evaluation identifier. Prefixed with 'pi_' for purchases.
|
|
20
|
+
attr_accessor :id
|
|
24
21
|
|
|
25
22
|
# RFC 3339 timestamp with timezone.
|
|
26
23
|
attr_accessor :decision_at
|
|
@@ -28,14 +25,9 @@ module AlogramPayRisk
|
|
|
28
25
|
# The synchronous risk decision for a purchase.
|
|
29
26
|
attr_accessor :decision
|
|
30
27
|
|
|
31
|
-
#
|
|
28
|
+
# The authoritative, policy-adjusted blended risk score (0.0 - 1.0) derived from expert fusion.
|
|
32
29
|
attr_accessor :risk_score
|
|
33
30
|
|
|
34
|
-
# The authoritative blended risk score (0.0 - 1.0) derived from expert fusion.
|
|
35
|
-
attr_accessor :decision_score
|
|
36
|
-
|
|
37
|
-
attr_accessor :fraud_score
|
|
38
|
-
|
|
39
31
|
attr_accessor :breakdown
|
|
40
32
|
|
|
41
33
|
# Structured reason details for the score.
|
|
@@ -74,13 +66,10 @@ module AlogramPayRisk
|
|
|
74
66
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
75
67
|
def self.attribute_map
|
|
76
68
|
{
|
|
77
|
-
:'
|
|
78
|
-
:'payment_intent_id' => :'paymentIntentId',
|
|
69
|
+
:'id' => :'id',
|
|
79
70
|
:'decision_at' => :'decisionAt',
|
|
80
71
|
:'decision' => :'decision',
|
|
81
72
|
:'risk_score' => :'riskScore',
|
|
82
|
-
:'decision_score' => :'decisionScore',
|
|
83
|
-
:'fraud_score' => :'fraudScore',
|
|
84
73
|
:'breakdown' => :'breakdown',
|
|
85
74
|
:'reasons' => :'reasons',
|
|
86
75
|
:'entities' => :'entities',
|
|
@@ -102,13 +91,10 @@ module AlogramPayRisk
|
|
|
102
91
|
# Attribute type mapping.
|
|
103
92
|
def self.openapi_types
|
|
104
93
|
{
|
|
105
|
-
:'
|
|
106
|
-
:'payment_intent_id' => :'String',
|
|
94
|
+
:'id' => :'String',
|
|
107
95
|
:'decision_at' => :'String',
|
|
108
96
|
:'decision' => :'String',
|
|
109
97
|
:'risk_score' => :'Float',
|
|
110
|
-
:'decision_score' => :'Float',
|
|
111
|
-
:'fraud_score' => :'FraudScore',
|
|
112
98
|
:'breakdown' => :'RiskBreakdown',
|
|
113
99
|
:'reasons' => :'Array<ReasonDetail>',
|
|
114
100
|
:'entities' => :'EntityIds',
|
|
@@ -139,14 +125,10 @@ module AlogramPayRisk
|
|
|
139
125
|
h[k.to_sym] = v
|
|
140
126
|
}
|
|
141
127
|
|
|
142
|
-
if attributes.key?(:'
|
|
143
|
-
self.
|
|
128
|
+
if attributes.key?(:'id')
|
|
129
|
+
self.id = attributes[:'id']
|
|
144
130
|
else
|
|
145
|
-
self.
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
if attributes.key?(:'payment_intent_id')
|
|
149
|
-
self.payment_intent_id = attributes[:'payment_intent_id']
|
|
131
|
+
self.id = nil
|
|
150
132
|
end
|
|
151
133
|
|
|
152
134
|
if attributes.key?(:'decision_at')
|
|
@@ -167,16 +149,6 @@ module AlogramPayRisk
|
|
|
167
149
|
self.risk_score = nil
|
|
168
150
|
end
|
|
169
151
|
|
|
170
|
-
if attributes.key?(:'decision_score')
|
|
171
|
-
self.decision_score = attributes[:'decision_score']
|
|
172
|
-
else
|
|
173
|
-
self.decision_score = nil
|
|
174
|
-
end
|
|
175
|
-
|
|
176
|
-
if attributes.key?(:'fraud_score')
|
|
177
|
-
self.fraud_score = attributes[:'fraud_score']
|
|
178
|
-
end
|
|
179
|
-
|
|
180
152
|
if attributes.key?(:'breakdown')
|
|
181
153
|
self.breakdown = attributes[:'breakdown']
|
|
182
154
|
end
|
|
@@ -205,21 +177,8 @@ module AlogramPayRisk
|
|
|
205
177
|
def list_invalid_properties
|
|
206
178
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
207
179
|
invalid_properties = Array.new
|
|
208
|
-
if @
|
|
209
|
-
invalid_properties.push('invalid value for "
|
|
210
|
-
end
|
|
211
|
-
|
|
212
|
-
if !@payment_intent_id.nil? && @payment_intent_id.to_s.length > 35
|
|
213
|
-
invalid_properties.push('invalid value for "payment_intent_id", the character length must be smaller than or equal to 35.')
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
if !@payment_intent_id.nil? && @payment_intent_id.to_s.length < 35
|
|
217
|
-
invalid_properties.push('invalid value for "payment_intent_id", the character length must be greater than or equal to 35.')
|
|
218
|
-
end
|
|
219
|
-
|
|
220
|
-
pattern = Regexp.new(/^pi_[a-f0-9]{32}$/)
|
|
221
|
-
if !@payment_intent_id.nil? && @payment_intent_id !~ pattern
|
|
222
|
-
invalid_properties.push("invalid value for \"payment_intent_id\", must conform to the pattern #{pattern}.")
|
|
180
|
+
if @id.nil?
|
|
181
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
223
182
|
end
|
|
224
183
|
|
|
225
184
|
if @decision_at.nil?
|
|
@@ -247,18 +206,6 @@ module AlogramPayRisk
|
|
|
247
206
|
invalid_properties.push('invalid value for "risk_score", must be greater than or equal to 0.0.')
|
|
248
207
|
end
|
|
249
208
|
|
|
250
|
-
if @decision_score.nil?
|
|
251
|
-
invalid_properties.push('invalid value for "decision_score", decision_score cannot be nil.')
|
|
252
|
-
end
|
|
253
|
-
|
|
254
|
-
if @decision_score > 1.0
|
|
255
|
-
invalid_properties.push('invalid value for "decision_score", must be smaller than or equal to 1.0.')
|
|
256
|
-
end
|
|
257
|
-
|
|
258
|
-
if @decision_score < 0.0
|
|
259
|
-
invalid_properties.push('invalid value for "decision_score", must be greater than or equal to 0.0.')
|
|
260
|
-
end
|
|
261
|
-
|
|
262
209
|
if !@amount.nil? && @amount > 1.0E+7
|
|
263
210
|
invalid_properties.push('invalid value for "amount", must be smaller than or equal to 1.0E+7.')
|
|
264
211
|
end
|
|
@@ -287,10 +234,7 @@ module AlogramPayRisk
|
|
|
287
234
|
# @return true if the model is valid
|
|
288
235
|
def valid?
|
|
289
236
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
290
|
-
return false if @
|
|
291
|
-
return false if !@payment_intent_id.nil? && @payment_intent_id.to_s.length > 35
|
|
292
|
-
return false if !@payment_intent_id.nil? && @payment_intent_id.to_s.length < 35
|
|
293
|
-
return false if !@payment_intent_id.nil? && @payment_intent_id !~ Regexp.new(/^pi_[a-f0-9]{32}$/)
|
|
237
|
+
return false if @id.nil?
|
|
294
238
|
return false if @decision_at.nil?
|
|
295
239
|
return false if @decision_at !~ Regexp.new(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,9})?(Z|[+-]\d{2}:\d{2})$/)
|
|
296
240
|
return false if @decision.nil?
|
|
@@ -299,9 +243,6 @@ module AlogramPayRisk
|
|
|
299
243
|
return false if @risk_score.nil?
|
|
300
244
|
return false if @risk_score > 1.0
|
|
301
245
|
return false if @risk_score < 0.0
|
|
302
|
-
return false if @decision_score.nil?
|
|
303
|
-
return false if @decision_score > 1.0
|
|
304
|
-
return false if @decision_score < 0.0
|
|
305
246
|
return false if !@amount.nil? && @amount > 1.0E+7
|
|
306
247
|
return false if !@amount.nil? && @amount < 0.01
|
|
307
248
|
return false if !@currency.nil? && @currency.to_s.length > 3
|
|
@@ -311,32 +252,13 @@ module AlogramPayRisk
|
|
|
311
252
|
end
|
|
312
253
|
|
|
313
254
|
# Custom attribute writer method with validation
|
|
314
|
-
# @param [Object]
|
|
315
|
-
def
|
|
316
|
-
if
|
|
317
|
-
fail ArgumentError, '
|
|
255
|
+
# @param [Object] id Value to be assigned
|
|
256
|
+
def id=(id)
|
|
257
|
+
if id.nil?
|
|
258
|
+
fail ArgumentError, 'id cannot be nil'
|
|
318
259
|
end
|
|
319
260
|
|
|
320
|
-
@
|
|
321
|
-
end
|
|
322
|
-
|
|
323
|
-
# Custom attribute writer method with validation
|
|
324
|
-
# @param [Object] payment_intent_id Value to be assigned
|
|
325
|
-
def payment_intent_id=(payment_intent_id)
|
|
326
|
-
if payment_intent_id.to_s.length > 35
|
|
327
|
-
fail ArgumentError, 'invalid value for "payment_intent_id", the character length must be smaller than or equal to 35.'
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
if payment_intent_id.to_s.length < 35
|
|
331
|
-
fail ArgumentError, 'invalid value for "payment_intent_id", the character length must be greater than or equal to 35.'
|
|
332
|
-
end
|
|
333
|
-
|
|
334
|
-
pattern = Regexp.new(/^pi_[a-f0-9]{32}$/)
|
|
335
|
-
if payment_intent_id !~ pattern
|
|
336
|
-
fail ArgumentError, "invalid value for \"payment_intent_id\", must conform to the pattern #{pattern}."
|
|
337
|
-
end
|
|
338
|
-
|
|
339
|
-
@payment_intent_id = payment_intent_id
|
|
261
|
+
@id = id
|
|
340
262
|
end
|
|
341
263
|
|
|
342
264
|
# Custom attribute writer method with validation
|
|
@@ -380,23 +302,6 @@ module AlogramPayRisk
|
|
|
380
302
|
@risk_score = risk_score
|
|
381
303
|
end
|
|
382
304
|
|
|
383
|
-
# Custom attribute writer method with validation
|
|
384
|
-
# @param [Object] decision_score Value to be assigned
|
|
385
|
-
def decision_score=(decision_score)
|
|
386
|
-
if decision_score.nil?
|
|
387
|
-
fail ArgumentError, 'decision_score cannot be nil'
|
|
388
|
-
end
|
|
389
|
-
if decision_score > 1.0
|
|
390
|
-
fail ArgumentError, 'invalid value for "decision_score", must be smaller than or equal to 1.0.'
|
|
391
|
-
end
|
|
392
|
-
|
|
393
|
-
if decision_score < 0.0
|
|
394
|
-
fail ArgumentError, 'invalid value for "decision_score", must be greater than or equal to 0.0.'
|
|
395
|
-
end
|
|
396
|
-
|
|
397
|
-
@decision_score = decision_score
|
|
398
|
-
end
|
|
399
|
-
|
|
400
305
|
# Custom attribute writer method with validation
|
|
401
306
|
# @param [Object] amount Value to be assigned
|
|
402
307
|
def amount=(amount)
|
|
@@ -435,13 +340,10 @@ module AlogramPayRisk
|
|
|
435
340
|
def ==(o)
|
|
436
341
|
return true if self.equal?(o)
|
|
437
342
|
self.class == o.class &&
|
|
438
|
-
|
|
439
|
-
payment_intent_id == o.payment_intent_id &&
|
|
343
|
+
id == o.id &&
|
|
440
344
|
decision_at == o.decision_at &&
|
|
441
345
|
decision == o.decision &&
|
|
442
346
|
risk_score == o.risk_score &&
|
|
443
|
-
decision_score == o.decision_score &&
|
|
444
|
-
fraud_score == o.fraud_score &&
|
|
445
347
|
breakdown == o.breakdown &&
|
|
446
348
|
reasons == o.reasons &&
|
|
447
349
|
entities == o.entities &&
|
|
@@ -458,7 +360,7 @@ module AlogramPayRisk
|
|
|
458
360
|
# Calculates hash code according to all attributes.
|
|
459
361
|
# @return [Integer] Hash code
|
|
460
362
|
def hash
|
|
461
|
-
[
|
|
363
|
+
[id, decision_at, decision, risk_score, breakdown, reasons, entities, amount, currency].hash
|
|
462
364
|
end
|
|
463
365
|
|
|
464
366
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -11,5 +11,5 @@ Generator version: 7.15.0
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
module AlogramPayRisk
|
|
14
|
-
VERSION = '0.
|
|
14
|
+
VERSION = '0.3.0'
|
|
15
15
|
end
|
data/lib/alogram_payrisk.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -39,6 +39,7 @@ AlogramPayRisk.autoload :DecisionResolutionRequest, 'alogram_payrisk/models/deci
|
|
|
39
39
|
AlogramPayRisk.autoload :DecisionResolutionRequestAnalyst, 'alogram_payrisk/models/decision_resolution_request_analyst'
|
|
40
40
|
AlogramPayRisk.autoload :DecisionResolutionResponse, 'alogram_payrisk/models/decision_resolution_response'
|
|
41
41
|
AlogramPayRisk.autoload :DecisionResponse, 'alogram_payrisk/models/decision_response'
|
|
42
|
+
AlogramPayRisk.autoload :DecisionResponsePolicy, 'alogram_payrisk/models/decision_response_policy'
|
|
42
43
|
AlogramPayRisk.autoload :DeviceInfo, 'alogram_payrisk/models/device_info'
|
|
43
44
|
AlogramPayRisk.autoload :DiscountCode, 'alogram_payrisk/models/discount_code'
|
|
44
45
|
AlogramPayRisk.autoload :EntityIds, 'alogram_payrisk/models/entity_ids'
|
|
@@ -55,6 +56,7 @@ AlogramPayRisk.autoload :IpInfo, 'alogram_payrisk/models/ip_info'
|
|
|
55
56
|
AlogramPayRisk.autoload :KycCheckRequest, 'alogram_payrisk/models/kyc_check_request'
|
|
56
57
|
AlogramPayRisk.autoload :KycPayload, 'alogram_payrisk/models/kyc_payload'
|
|
57
58
|
AlogramPayRisk.autoload :MerchantContext, 'alogram_payrisk/models/merchant_context'
|
|
59
|
+
AlogramPayRisk.autoload :OperatorType, 'alogram_payrisk/models/operator_type'
|
|
58
60
|
AlogramPayRisk.autoload :OrderContext, 'alogram_payrisk/models/order_context'
|
|
59
61
|
AlogramPayRisk.autoload :PayerTypeEnum, 'alogram_payrisk/models/payer_type_enum'
|
|
60
62
|
AlogramPayRisk.autoload :PaymentAuthorizationOutcome, 'alogram_payrisk/models/payment_authorization_outcome'
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -36,8 +36,8 @@ describe 'ForensicDataApi' do
|
|
|
36
36
|
# Query Historical Assessments
|
|
37
37
|
# @param tenant_id
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [String] :
|
|
40
|
-
# @option opts [String] :
|
|
39
|
+
# @option opts [String] :trace_id Echoed or generated trace ID for tracking requests.
|
|
40
|
+
# @option opts [String] :idempotency_key Unique Idempotency-Key sent in the GET request etc.
|
|
41
41
|
# @option opts [String] :start_time
|
|
42
42
|
# @option opts [String] :end_time
|
|
43
43
|
# @option opts [Integer] :page_size
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -34,11 +34,11 @@ describe 'RiskScoringApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for risk_check
|
|
36
36
|
# Assess Transaction Risk
|
|
37
|
-
# @param
|
|
37
|
+
# @param idempotency_key Unique Idempotency-Key sent in the POST request etc.
|
|
38
38
|
# @param check_request
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @option opts [String] :
|
|
41
|
-
# @option opts [AgentManifest] :
|
|
40
|
+
# @option opts [String] :trace_id Echoed or generated trace ID for tracking requests.
|
|
41
|
+
# @option opts [AgentManifest] :alogram_agent_manifest JSON-encoded AgentManifest for autonomous shopping agents. Required for machine-to-machine trust validation (UCP/MCP).
|
|
42
42
|
# @return [DecisionResponse]
|
|
43
43
|
describe 'risk_check test' do
|
|
44
44
|
it 'should work' do
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -35,11 +35,11 @@ describe 'RoadmapPreviewApi' do
|
|
|
35
35
|
# unit tests for account_risk_check
|
|
36
36
|
# Synchronous fraud decision for account/session events
|
|
37
37
|
# > **Coming Soon**: This endpoint is currently in active development. Assess risk for account-level events such as signup, login, and profile changes.
|
|
38
|
-
# @param
|
|
38
|
+
# @param idempotency_key Unique Idempotency-Key sent in the POST request etc.
|
|
39
39
|
# @param account_check_request
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [String] :
|
|
42
|
-
# @option opts [AgentManifest] :
|
|
41
|
+
# @option opts [String] :trace_id Echoed or generated trace ID for tracking requests.
|
|
42
|
+
# @option opts [AgentManifest] :alogram_agent_manifest JSON-encoded AgentManifest for autonomous shopping agents. Required for machine-to-machine trust validation (UCP/MCP).
|
|
43
43
|
# @return [DecisionResponse]
|
|
44
44
|
describe 'account_risk_check test' do
|
|
45
45
|
it 'should work' do
|
|
@@ -50,11 +50,11 @@ describe 'RoadmapPreviewApi' do
|
|
|
50
50
|
# unit tests for kyc_risk_check
|
|
51
51
|
# Synchronous decision for KYC/identity verification
|
|
52
52
|
# > **Coming Soon**: This endpoint is currently in active development. Assess risk for identity verification and KYC workflows.
|
|
53
|
-
# @param
|
|
53
|
+
# @param idempotency_key Unique Idempotency-Key sent in the POST request etc.
|
|
54
54
|
# @param kyc_check_request
|
|
55
55
|
# @param [Hash] opts the optional parameters
|
|
56
|
-
# @option opts [String] :
|
|
57
|
-
# @option opts [AgentManifest] :
|
|
56
|
+
# @option opts [String] :trace_id Echoed or generated trace ID for tracking requests.
|
|
57
|
+
# @option opts [AgentManifest] :alogram_agent_manifest JSON-encoded AgentManifest for autonomous shopping agents. Required for machine-to-machine trust validation (UCP/MCP).
|
|
58
58
|
# @return [DecisionResponse]
|
|
59
59
|
describe 'kyc_risk_check test' do
|
|
60
60
|
it 'should work' do
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -34,11 +34,11 @@ describe 'SignalIntelligenceApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for ingest_payment_event
|
|
36
36
|
# Ingest Lifecycle Signals
|
|
37
|
-
# @param
|
|
37
|
+
# @param idempotency_key Unique Idempotency-Key sent in the POST request etc.
|
|
38
38
|
# @param payment_event
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @option opts [String] :
|
|
41
|
-
# @option opts [AgentManifest] :
|
|
40
|
+
# @option opts [String] :trace_id Echoed or generated trace ID for tracking requests.
|
|
41
|
+
# @option opts [AgentManifest] :alogram_agent_manifest JSON-encoded AgentManifest for autonomous shopping agents. Required for machine-to-machine trust validation (UCP/MCP).
|
|
42
42
|
# @return [IngestPaymentEvent202Response]
|
|
43
43
|
describe 'ingest_payment_event test' do
|
|
44
44
|
it 'should work' do
|
|
@@ -48,11 +48,11 @@ describe 'SignalIntelligenceApi' do
|
|
|
48
48
|
|
|
49
49
|
# unit tests for ingest_signals
|
|
50
50
|
# Submit Behavioral Intelligence
|
|
51
|
-
# @param
|
|
51
|
+
# @param idempotency_key Unique Idempotency-Key sent in the POST request etc.
|
|
52
52
|
# @param signals_request
|
|
53
53
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [String] :
|
|
55
|
-
# @option opts [AgentManifest] :
|
|
54
|
+
# @option opts [String] :trace_id Echoed or generated trace ID for tracking requests.
|
|
55
|
+
# @option opts [AgentManifest] :alogram_agent_manifest JSON-encoded AgentManifest for autonomous shopping agents. Required for machine-to-machine trust validation (UCP/MCP).
|
|
56
56
|
# @return [IngestPaymentEvent202Response]
|
|
57
57
|
describe 'ingest_signals test' do
|
|
58
58
|
it 'should work' do
|
data/spec/api/system_api_spec.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
data/spec/models/account_spec.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
|
7
7
|
Contact: packages@alogram.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.15.0
|