alogram_payrisk 0.2.9 → 0.2.10

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.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +106 -218
  4. data/RELEASE.json +4 -4
  5. data/alogram_payrisk.gemspec +1 -1
  6. data/lib/alogram_payrisk/api/forensic_data_api.rb +1 -1
  7. data/lib/alogram_payrisk/api/risk_scoring_api.rb +1 -1
  8. data/lib/alogram_payrisk/api/roadmap_preview_api.rb +1 -1
  9. data/lib/alogram_payrisk/api/signal_intelligence_api.rb +1 -1
  10. data/lib/alogram_payrisk/api/system_api.rb +1 -1
  11. data/lib/alogram_payrisk/api_client.rb +1 -1
  12. data/lib/alogram_payrisk/api_error.rb +1 -1
  13. data/lib/alogram_payrisk/api_model_base.rb +1 -1
  14. data/lib/alogram_payrisk/configuration.rb +1 -1
  15. data/lib/alogram_payrisk/models/account.rb +1 -17
  16. data/lib/alogram_payrisk/models/account_check_request.rb +1 -1
  17. data/lib/alogram_payrisk/models/avs_result_enum.rb +1 -1
  18. data/lib/alogram_payrisk/models/bank_transfer.rb +1 -1
  19. data/lib/alogram_payrisk/models/card.rb +1 -9
  20. data/lib/alogram_payrisk/models/card_network_enum.rb +1 -1
  21. data/lib/alogram_payrisk/models/category_signal.rb +1 -5
  22. data/lib/alogram_payrisk/models/channel_enum.rb +1 -1
  23. data/lib/alogram_payrisk/models/check_request.rb +1 -5
  24. data/lib/alogram_payrisk/models/confidence_enum.rb +1 -1
  25. data/lib/alogram_payrisk/models/crypto.rb +1 -1
  26. data/lib/alogram_payrisk/models/cvv_result_enum.rb +1 -1
  27. data/lib/alogram_payrisk/models/decision_response.rb +1 -13
  28. data/lib/alogram_payrisk/models/device_info.rb +1 -9
  29. data/lib/alogram_payrisk/models/discount_code.rb +1 -1
  30. data/lib/alogram_payrisk/models/entity_ids.rb +1 -49
  31. data/lib/alogram_payrisk/models/entry_method_enum.rb +1 -1
  32. data/lib/alogram_payrisk/models/external_assessment.rb +1 -5
  33. data/lib/alogram_payrisk/models/fraud_score.rb +1 -9
  34. data/lib/alogram_payrisk/models/identity.rb +1 -13
  35. data/lib/alogram_payrisk/models/integrity.rb +1 -1
  36. data/lib/alogram_payrisk/models/interaction.rb +1 -13
  37. data/lib/alogram_payrisk/models/interaction_type_enum.rb +1 -1
  38. data/lib/alogram_payrisk/models/invoice.rb +1 -1
  39. data/lib/alogram_payrisk/models/ip_info.rb +1 -25
  40. data/lib/alogram_payrisk/models/kyc_check_request.rb +1 -1
  41. data/lib/alogram_payrisk/models/kyc_payload.rb +1 -9
  42. data/lib/alogram_payrisk/models/merchant_context.rb +1 -9
  43. data/lib/alogram_payrisk/models/order_context.rb +1 -9
  44. data/lib/alogram_payrisk/models/payer_type_enum.rb +1 -1
  45. data/lib/alogram_payrisk/models/payment_authorization_outcome.rb +1 -5
  46. data/lib/alogram_payrisk/models/payment_capture_outcome.rb +1 -1
  47. data/lib/alogram_payrisk/models/payment_card_type_enum.rb +1 -1
  48. data/lib/alogram_payrisk/models/payment_chargeback.rb +1 -5
  49. data/lib/alogram_payrisk/models/payment_chargeback_outcome.rb +1 -1
  50. data/lib/alogram_payrisk/models/payment_dispute_outcome.rb +1 -1
  51. data/lib/alogram_payrisk/models/payment_event.rb +1 -15
  52. data/lib/alogram_payrisk/models/payment_event_type.rb +1 -1
  53. data/lib/alogram_payrisk/models/payment_method.rb +1 -1
  54. data/lib/alogram_payrisk/models/payment_outcome.rb +1 -1
  55. data/lib/alogram_payrisk/models/payment_realtime_type_enum.rb +1 -1
  56. data/lib/alogram_payrisk/models/payment_refund_outcome.rb +1 -1
  57. data/lib/alogram_payrisk/models/payment_wallet_type_enum.rb +1 -1
  58. data/lib/alogram_payrisk/models/postal_address.rb +1 -25
  59. data/lib/alogram_payrisk/models/problem.rb +1 -21
  60. data/lib/alogram_payrisk/models/purchase.rb +1 -19
  61. data/lib/alogram_payrisk/models/purchase_initiator_enum.rb +1 -1
  62. data/lib/alogram_payrisk/models/purchase_sequence_enum.rb +1 -1
  63. data/lib/alogram_payrisk/models/purchase_usage_enum.rb +1 -1
  64. data/lib/alogram_payrisk/models/realtime.rb +1 -1
  65. data/lib/alogram_payrisk/models/reason_detail.rb +1 -1
  66. data/lib/alogram_payrisk/models/risk_breakdown.rb +1 -1
  67. data/lib/alogram_payrisk/models/risk_category_enum.rb +1 -1
  68. data/lib/alogram_payrisk/models/risk_level_enum.rb +1 -1
  69. data/lib/alogram_payrisk/models/sca_method_enum.rb +1 -1
  70. data/lib/alogram_payrisk/models/score_record.rb +1 -16
  71. data/lib/alogram_payrisk/models/scores_success_response.rb +1 -5
  72. data/lib/alogram_payrisk/models/signals_account_variant.rb +1 -1
  73. data/lib/alogram_payrisk/models/signals_interaction_variant.rb +1 -2
  74. data/lib/alogram_payrisk/models/signals_request.rb +1 -1
  75. data/lib/alogram_payrisk/models/stored_credential_context.rb +1 -1
  76. data/lib/alogram_payrisk/models/three_ds_data.rb +1 -1
  77. data/lib/alogram_payrisk/models/wallet.rb +1 -1
  78. data/lib/alogram_payrisk/version.rb +2 -2
  79. data/lib/alogram_payrisk.rb +1 -1
  80. data/spec/api/forensic_data_api_spec.rb +1 -1
  81. data/spec/api/risk_scoring_api_spec.rb +1 -1
  82. data/spec/api/roadmap_preview_api_spec.rb +1 -1
  83. data/spec/api/signal_intelligence_api_spec.rb +1 -1
  84. data/spec/api/system_api_spec.rb +1 -1
  85. data/spec/models/account_check_request_spec.rb +1 -1
  86. data/spec/models/account_spec.rb +1 -1
  87. data/spec/models/avs_result_enum_spec.rb +1 -1
  88. data/spec/models/bank_transfer_spec.rb +1 -1
  89. data/spec/models/card_network_enum_spec.rb +1 -1
  90. data/spec/models/card_spec.rb +1 -1
  91. data/spec/models/category_signal_spec.rb +1 -1
  92. data/spec/models/channel_enum_spec.rb +1 -1
  93. data/spec/models/check_request_spec.rb +1 -1
  94. data/spec/models/confidence_enum_spec.rb +1 -1
  95. data/spec/models/crypto_spec.rb +1 -1
  96. data/spec/models/cvv_result_enum_spec.rb +1 -1
  97. data/spec/models/decision_response_spec.rb +1 -1
  98. data/spec/models/device_info_spec.rb +1 -1
  99. data/spec/models/discount_code_spec.rb +1 -1
  100. data/spec/models/entity_ids_spec.rb +1 -1
  101. data/spec/models/entry_method_enum_spec.rb +1 -1
  102. data/spec/models/external_assessment_spec.rb +1 -1
  103. data/spec/models/fraud_score_spec.rb +1 -1
  104. data/spec/models/identity_spec.rb +1 -1
  105. data/spec/models/integrity_spec.rb +1 -1
  106. data/spec/models/interaction_spec.rb +1 -1
  107. data/spec/models/interaction_type_enum_spec.rb +1 -1
  108. data/spec/models/invoice_spec.rb +1 -1
  109. data/spec/models/ip_info_spec.rb +1 -1
  110. data/spec/models/kyc_check_request_spec.rb +1 -1
  111. data/spec/models/kyc_payload_spec.rb +1 -1
  112. data/spec/models/merchant_context_spec.rb +1 -1
  113. data/spec/models/order_context_spec.rb +1 -1
  114. data/spec/models/payer_type_enum_spec.rb +1 -1
  115. data/spec/models/payment_authorization_outcome_spec.rb +1 -1
  116. data/spec/models/payment_capture_outcome_spec.rb +1 -1
  117. data/spec/models/payment_card_type_enum_spec.rb +1 -1
  118. data/spec/models/payment_chargeback_outcome_spec.rb +1 -1
  119. data/spec/models/payment_chargeback_spec.rb +1 -1
  120. data/spec/models/payment_dispute_outcome_spec.rb +1 -1
  121. data/spec/models/payment_event_spec.rb +1 -1
  122. data/spec/models/payment_event_type_spec.rb +1 -1
  123. data/spec/models/payment_method_spec.rb +1 -1
  124. data/spec/models/payment_outcome_spec.rb +1 -1
  125. data/spec/models/payment_realtime_type_enum_spec.rb +1 -1
  126. data/spec/models/payment_refund_outcome_spec.rb +1 -1
  127. data/spec/models/payment_wallet_type_enum_spec.rb +1 -1
  128. data/spec/models/postal_address_spec.rb +1 -1
  129. data/spec/models/problem_spec.rb +1 -1
  130. data/spec/models/purchase_initiator_enum_spec.rb +1 -1
  131. data/spec/models/purchase_sequence_enum_spec.rb +1 -1
  132. data/spec/models/purchase_spec.rb +1 -1
  133. data/spec/models/purchase_usage_enum_spec.rb +1 -1
  134. data/spec/models/realtime_spec.rb +1 -1
  135. data/spec/models/reason_detail_spec.rb +1 -1
  136. data/spec/models/risk_breakdown_spec.rb +1 -1
  137. data/spec/models/risk_category_enum_spec.rb +1 -1
  138. data/spec/models/risk_level_enum_spec.rb +1 -1
  139. data/spec/models/sca_method_enum_spec.rb +1 -1
  140. data/spec/models/score_record_spec.rb +1 -1
  141. data/spec/models/scores_success_response_spec.rb +1 -1
  142. data/spec/models/signals_account_variant_spec.rb +1 -1
  143. data/spec/models/signals_interaction_variant_spec.rb +1 -1
  144. data/spec/models/signals_request_spec.rb +1 -1
  145. data/spec/models/stored_credential_context_spec.rb +1 -1
  146. data/spec/models/three_ds_data_spec.rb +1 -1
  147. data/spec/models/wallet_spec.rb +1 -1
  148. data/spec/spec_helper.rb +1 -1
  149. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-13.0.0/gem_make.out +5 -5
  150. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.1/gem_make.out +5 -5
  151. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.2/gem_make.out +5 -5
  152. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  153. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.3.1/gem_make.out +5 -5
  154. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
  155. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.2.0/gem_make.out +5 -5
  156. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7591b22f8f3afc507e63979405aca564bf22757431658577e577cc91403141e
4
- data.tar.gz: 6a045bd1a4fed021407b366c5dfdc0f3fba3039c05502e4d128ab9df5ed79ed7
3
+ metadata.gz: 82ee05be7ec0996e7a1a84180a8512ad7273111f9d93fc668f151090cd3548b3
4
+ data.tar.gz: bf108941673db9172c82a611e7c0b4df8c5217ff984a314d6591e9f2450a3c07
5
5
  SHA512:
6
- metadata.gz: 2f7d2795681190c6ff7ba0e950cc6f679090b22064f281cfb540a758c5474a92aeaa5c594d40b49dd82791cb31100efde66ae020cefbce257304801585343ac5
7
- data.tar.gz: 2b58df2f404019b1e495176b7eae798370f5bb8fb74fb4660cf10e20489052c41f9805e11523cc392e3e6b6f1e5ece45a0cf8ea700350c782e2e3fd147183547
6
+ metadata.gz: a991780eec0b3e3278c515acd741ce491c389c00f6c2b5a277a953208b59d4ab186077df8287c21e9ba9d10827c9ddf719eff3d68393f12d40a53becbc6d6d96
7
+ data.tar.gz: 44ea1ee4441340ca3a3cdf9fa3f904f63adfa537e9391219a23b5f5e72d0ad52e094e7237ce52d851c097f0705b693158cb72e7caf6c8dd01f55bb7296d0d6f9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- alogram_payrisk (0.2.9)
4
+ alogram_payrisk (0.2.10)
5
5
  httpx (~> 1.0, >= 1.0.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,252 +1,140 @@
1
- # alogram_payrisk
1
+ # Alogram PayRisk Ruby SDK
2
2
 
3
- AlogramPayRisk - the Ruby gem for the Alogram PayRisk Engine
3
+ [![Gem Version](https://badge.fury.io/rb/alogram_payrisk.svg)](https://badge.fury.io/rb/alogram_payrisk)
4
+ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
4
5
 
5
- Alogram PayRisk is an AI-native decision engine built for the speed and
6
- complexity of the modern commerce era. In a high-velocity world where
7
- AI-driven threats evolve in milliseconds, Alogram provides the real-time
8
- adaptability and forensic transparency needed to protect your ecosystem
9
- with total confidence. We solve the challenge of balancing frictionless
10
- growth with regulatory explainability, delivering instant, intelligent
11
- risk orchestration at enterprise scale.
6
+ The official Ruby client for the **Alogram PayRisk Engine**.
12
7
 
13
- ---
14
-
15
-
16
- ## Licensing & Terms
17
-
18
-
19
- Our client libraries and API specifications are open-source under the **Apache License 2.0**
20
- to ensure seamless integration into your tech stack.
21
-
22
- Use of the Alogram PayRisk API service is proprietary and governed by our
23
- [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**,
24
- if applicable.
25
-
26
- To access the service, you must have:
27
- * A valid Alogram API Key.
28
- * An active subscription or signed Master Service Agreement.
29
-
30
- Unauthorized use, including automated scraping or reverse engineering of the
31
- scoring engine, is strictly prohibited.
8
+ Alogram is an AI-native risk orchestration platform built for high-velocity commerce. This SDK provides sub-millisecond risk scoring, behavioral intelligence ingestion, and forensic transparency for enterprise ecosystems.
32
9
 
10
+ ### 🏎️ High-Performance Networking
11
+ Built for scale, this SDK features:
12
+ * **HTTP/2 Native**: Multiplexed connections for low-latency parallel scoring.
13
+ * **Asynchronous I/O**: Built on `httpx` for non-blocking integration into modern Ruby apps (Fibers/Async).
14
+ * **TLS 1.3**: The highest standard of transit security for sensitive transaction data.
15
+ * **Spec-compliant**: Automatically kept in sync with the Alogram OpenAPI 3.0.4 specification.
33
16
 
34
17
  ---
35
18
 
19
+ ## 📦 Installation
36
20
 
37
- ## Support & Traceability
38
-
21
+ Add this line to your application's `Gemfile`:
39
22
 
40
- Every Alogram API response includes a unique **`x-trace-id`** header.
41
- Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai)
42
- regarding specific transactions or errors.
23
+ ```ruby
24
+ gem 'alogram_payrisk', '~> 0.2.10'
25
+ ```
43
26
 
27
+ And then execute:
28
+ ```bash
29
+ bundle install
30
+ ```
44
31
 
45
32
  ---
46
33
 
34
+ ## 🚀 Quick Start (The "Full Circle" Lifecycle)
47
35
 
48
- ## Specification
49
-
36
+ Alogram is designed for a three-step risk lifecycle: **Score -> Ingest -> Query.**
50
37
 
51
- The authoritative OpenAPI specification for this version is available for download:
52
- **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
53
-
54
-
55
- ---
56
-
57
- ### 🏎️ High Performance & Security
58
- The Alogram Ruby SDK is built for enterprise-scale workloads:
59
- * **Async-Ready**: Built on `httpx` with native support for Fibers and Event Loops.
60
- * **Modern Protocols**: Native support for **HTTP/2** multiplexing and **TLS 1.3**.
61
- * **Connection Pooling**: Persistent session management for sub-millisecond connection reuse.
62
- * **Traceable**: Full support for `x-trace-id` and `x-idempotency-key` for forensic audit compliance.
38
+ ### 1. Configure the Client
39
+ ```ruby
40
+ require 'alogram_payrisk'
63
41
 
64
- ---
42
+ AlogramPayRisk.configure do |config|
43
+ config.api_key['x-api-key'] = 'sk_live_your_key'
44
+ # For local development against the emulator:
45
+ # config.host = 'localhost:8080'
46
+ # config.scheme = 'http'
47
+ end
65
48
 
66
- ## Installation
49
+ api = AlogramPayRisk::RiskScoringApi.new
50
+ ```
67
51
 
68
- ### Build a gem
52
+ ### 2. Request a Risk Decision
53
+ Call Alogram *before* you charge the customer to get a real-time decision.
69
54
 
70
- To build the Ruby code into a gem:
55
+ ```ruby
56
+ request = AlogramPayRisk::CheckRequest.new({
57
+ entities: {
58
+ tenant_id: "your_tenant_id",
59
+ session_id: "sid_550e8400",
60
+ client_id: "cid_998234"
61
+ },
62
+ purchase: {
63
+ amount: 99.99,
64
+ currency: "USD",
65
+ payment_method: {
66
+ type: "card",
67
+ bin: "411111",
68
+ card_network: "visa"
69
+ }
70
+ }
71
+ })
71
72
 
72
- ```shell
73
- gem build alogram_payrisk.gemspec
73
+ begin
74
+ # Decision is returned in < 100ms
75
+ decision = api.risk_check("idk_unique_key_123", request)
76
+
77
+ if decision.decision == 'approve'
78
+ puts "✅ Transaction approved (Score: #{decision.decision_score})"
79
+ # Proceed with payment...
80
+ else
81
+ puts "❌ Transaction declined: #{decision.reason_codes}"
82
+ end
83
+ rescue AlogramPayRisk::ApiError => e
84
+ puts "Error: #{e.code} - #{e.response_body}"
85
+ end
74
86
  ```
75
87
 
76
- Then either install the gem locally:
88
+ ### 3. Ingest Lifecycle Events
89
+ Once the payment is processed, notify Alogram of the outcome to improve your AI model's accuracy.
77
90
 
78
- ```shell
79
- gem install ./alogram_payrisk-0.2.9.gem
91
+ ```ruby
92
+ events_api = AlogramPayRisk::SignalIntelligenceApi.new
93
+
94
+ event = AlogramPayRisk::PaymentEvent.new({
95
+ event_type: 'authorization',
96
+ payment_intent_id: decision.payment_intent_id,
97
+ outcome: {
98
+ status: 'success',
99
+ processor_response_code: '00'
100
+ }
101
+ })
102
+
103
+ events_api.ingest_payment_event("idk_event_123", event)
80
104
  ```
81
105
 
82
- (for development, run `gem install --dev ./alogram_payrisk-0.2.9.gem` to install the development dependencies)
83
-
84
- or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
85
-
86
- Finally add this to the Gemfile:
87
-
88
- gem 'alogram_payrisk', '~> 0.2.9'
89
-
90
- ### Install from Git
91
-
92
- If the Ruby gem is hosted at a git repository: https://github.com/alogram/alogram-ruby, then add the following in the Gemfile:
93
-
94
- gem 'alogram_payrisk', :git => 'https://github.com/alogram/alogram-ruby.git'
95
-
96
- ### Include the Ruby code directly
97
-
98
- Include the Ruby code directly using `-I` as follows:
99
-
100
- ```shell
101
- ruby -Ilib script.rb
102
- ```
106
+ ---
103
107
 
104
- ## Getting Started
108
+ ## 🧪 Local Development & Testing
105
109
 
106
- Please follow the [installation](#installation) procedure and then run the following code:
110
+ We provide a **Local Emulator** to let you test without network access or production keys.
107
111
 
108
- ```ruby
109
- # Load the gem
110
- require 'alogram_payrisk'
112
+ 1. **Start the Emulator**:
113
+ ```bash
114
+ docker run -p 8080:8080 us-docker.pkg.dev/alogram-public/sdk/payrisk-emulator:0.2.10
115
+ ```
116
+ 2. **Point the SDK to Localhost**:
117
+ ```ruby
118
+ AlogramPayRisk.configure do |config|
119
+ config.scheme = 'http'
120
+ config.host = 'localhost:8080'
121
+ config.api_key['x-api-key'] = 'test' # Accepts any string
122
+ end
123
+ ```
111
124
 
112
- # Setup authorization
113
- AlogramPayRisk.configure do |config|
114
- # Configure API key authorization: ApiKey
115
- config.api_key['x-api-key'] = 'YOUR API KEY'
116
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
117
- # config.api_key_prefix['x-api-key'] = 'Bearer'
118
- # Configure httpx session
119
- config.configure_session { |session| 'YOUR CONNECTION CONFIG PROC' }
120
-
121
- # Configure OAuth2 access token for authorization: oAuth2
122
- config.access_token = 'YOUR ACCESS TOKEN'
123
- # Configure a proc to get access tokens in lieu of the static access_token configuration
124
- config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
125
- # Configure httpx session
126
- config.configure_session { |session| 'YOUR CONNECTION CONFIG PROC' }
127
- end
125
+ ---
128
126
 
129
- api_instance = AlogramPayRisk::ForensicDataApi.new
130
- tenant_id = 'tenant_id_example' # String |
131
- opts = {
132
- x_trace_id: 'x_trace_id_example', # String | Echoed or generated trace ID for tracking requests.
133
- x_idempotency_key: 'x_idempotency_key_example', # String | Unique Idempotency-Key sent in the GET request etc.
134
- start_time: 'start_time_example', # String |
135
- end_time: 'end_time_example', # String |
136
- page_size: 56, # Integer |
137
- page_token: 'page_token_example' # String |
138
- }
127
+ ## 🛡️ Error Handling
139
128
 
140
- begin
141
- #Query Historical Assessments
142
- result = api_instance.get_fraud_scores(tenant_id, opts)
143
- p result
144
- rescue AlogramPayRisk::ApiError => e
145
- puts "Exception when calling ForensicDataApi->get_fraud_scores: #{e}"
146
- end
129
+ | Status | Meaning | Action |
130
+ | :--- | :--- | :--- |
131
+ | `401` | Unauthorized | Check your `x-api-key` configuration. |
132
+ | `422` | Validation Error | Ensure IDs follow the required patterns (e.g., `sid_`, `idk_`). |
133
+ | `429` | Rate Limited | Implement an exponential backoff. |
134
+ | `5xx` | Alogram Downtime | Fallback to a default 'approve' to avoid conversion loss. |
147
135
 
148
- ```
136
+ ---
149
137
 
150
- ## Documentation for API Endpoints
151
-
152
- All URIs are relative to *https://api.alogram.ai*
153
-
154
- Class | Method | HTTP request | Description
155
- ------------ | ------------- | ------------- | -------------
156
- *AlogramPayRisk::ForensicDataApi* | [**get_fraud_scores**](docs/ForensicDataApi.md#get_fraud_scores) | **GET** /v1/scores/{tenantId} | Query Historical Assessments
157
- *AlogramPayRisk::RiskScoringApi* | [**risk_check**](docs/RiskScoringApi.md#risk_check) | **POST** /v1/risk/check | Assess Transaction Risk
158
- *AlogramPayRisk::RoadmapPreviewApi* | [**account_risk_check**](docs/RoadmapPreviewApi.md#account_risk_check) | **POST** /v1/risk/account/check | Synchronous fraud decision for account/session events
159
- *AlogramPayRisk::RoadmapPreviewApi* | [**kyc_risk_check**](docs/RoadmapPreviewApi.md#kyc_risk_check) | **POST** /v1/risk/kyc/check | Synchronous decision for KYC/identity verification
160
- *AlogramPayRisk::SignalIntelligenceApi* | [**ingest_payment_event**](docs/SignalIntelligenceApi.md#ingest_payment_event) | **POST** /v1/events | Ingest Lifecycle Signals
161
- *AlogramPayRisk::SignalIntelligenceApi* | [**ingest_signals**](docs/SignalIntelligenceApi.md#ingest_signals) | **POST** /v1/signals | Submit Behavioral Intelligence
162
- *AlogramPayRisk::SystemApi* | [**health_check**](docs/SystemApi.md#health_check) | **GET** /v1/health | Health check for the service
163
-
164
-
165
- ## Documentation for Models
166
-
167
- - [AlogramPayRisk::Account](docs/Account.md)
168
- - [AlogramPayRisk::AccountCheckRequest](docs/AccountCheckRequest.md)
169
- - [AlogramPayRisk::AvsResultEnum](docs/AvsResultEnum.md)
170
- - [AlogramPayRisk::BankTransfer](docs/BankTransfer.md)
171
- - [AlogramPayRisk::Card](docs/Card.md)
172
- - [AlogramPayRisk::CardNetworkEnum](docs/CardNetworkEnum.md)
173
- - [AlogramPayRisk::CategorySignal](docs/CategorySignal.md)
174
- - [AlogramPayRisk::ChannelEnum](docs/ChannelEnum.md)
175
- - [AlogramPayRisk::CheckRequest](docs/CheckRequest.md)
176
- - [AlogramPayRisk::ConfidenceEnum](docs/ConfidenceEnum.md)
177
- - [AlogramPayRisk::Crypto](docs/Crypto.md)
178
- - [AlogramPayRisk::CvvResultEnum](docs/CvvResultEnum.md)
179
- - [AlogramPayRisk::DecisionResponse](docs/DecisionResponse.md)
180
- - [AlogramPayRisk::DeviceInfo](docs/DeviceInfo.md)
181
- - [AlogramPayRisk::DiscountCode](docs/DiscountCode.md)
182
- - [AlogramPayRisk::EntityIds](docs/EntityIds.md)
183
- - [AlogramPayRisk::EntryMethodEnum](docs/EntryMethodEnum.md)
184
- - [AlogramPayRisk::ExternalAssessment](docs/ExternalAssessment.md)
185
- - [AlogramPayRisk::FraudScore](docs/FraudScore.md)
186
- - [AlogramPayRisk::Identity](docs/Identity.md)
187
- - [AlogramPayRisk::Integrity](docs/Integrity.md)
188
- - [AlogramPayRisk::Interaction](docs/Interaction.md)
189
- - [AlogramPayRisk::InteractionTypeEnum](docs/InteractionTypeEnum.md)
190
- - [AlogramPayRisk::Invoice](docs/Invoice.md)
191
- - [AlogramPayRisk::IpInfo](docs/IpInfo.md)
192
- - [AlogramPayRisk::KycCheckRequest](docs/KycCheckRequest.md)
193
- - [AlogramPayRisk::KycPayload](docs/KycPayload.md)
194
- - [AlogramPayRisk::MerchantContext](docs/MerchantContext.md)
195
- - [AlogramPayRisk::OrderContext](docs/OrderContext.md)
196
- - [AlogramPayRisk::PayerTypeEnum](docs/PayerTypeEnum.md)
197
- - [AlogramPayRisk::PaymentAuthorizationOutcome](docs/PaymentAuthorizationOutcome.md)
198
- - [AlogramPayRisk::PaymentCaptureOutcome](docs/PaymentCaptureOutcome.md)
199
- - [AlogramPayRisk::PaymentCardTypeEnum](docs/PaymentCardTypeEnum.md)
200
- - [AlogramPayRisk::PaymentChargeback](docs/PaymentChargeback.md)
201
- - [AlogramPayRisk::PaymentChargebackOutcome](docs/PaymentChargebackOutcome.md)
202
- - [AlogramPayRisk::PaymentDisputeOutcome](docs/PaymentDisputeOutcome.md)
203
- - [AlogramPayRisk::PaymentEvent](docs/PaymentEvent.md)
204
- - [AlogramPayRisk::PaymentEventType](docs/PaymentEventType.md)
205
- - [AlogramPayRisk::PaymentMethod](docs/PaymentMethod.md)
206
- - [AlogramPayRisk::PaymentOutcome](docs/PaymentOutcome.md)
207
- - [AlogramPayRisk::PaymentRealtimeTypeEnum](docs/PaymentRealtimeTypeEnum.md)
208
- - [AlogramPayRisk::PaymentRefundOutcome](docs/PaymentRefundOutcome.md)
209
- - [AlogramPayRisk::PaymentWalletTypeEnum](docs/PaymentWalletTypeEnum.md)
210
- - [AlogramPayRisk::PostalAddress](docs/PostalAddress.md)
211
- - [AlogramPayRisk::Problem](docs/Problem.md)
212
- - [AlogramPayRisk::Purchase](docs/Purchase.md)
213
- - [AlogramPayRisk::PurchaseInitiatorEnum](docs/PurchaseInitiatorEnum.md)
214
- - [AlogramPayRisk::PurchaseSequenceEnum](docs/PurchaseSequenceEnum.md)
215
- - [AlogramPayRisk::PurchaseUsageEnum](docs/PurchaseUsageEnum.md)
216
- - [AlogramPayRisk::Realtime](docs/Realtime.md)
217
- - [AlogramPayRisk::ReasonDetail](docs/ReasonDetail.md)
218
- - [AlogramPayRisk::RiskBreakdown](docs/RiskBreakdown.md)
219
- - [AlogramPayRisk::RiskCategoryEnum](docs/RiskCategoryEnum.md)
220
- - [AlogramPayRisk::RiskLevelEnum](docs/RiskLevelEnum.md)
221
- - [AlogramPayRisk::ScaMethodEnum](docs/ScaMethodEnum.md)
222
- - [AlogramPayRisk::ScoreRecord](docs/ScoreRecord.md)
223
- - [AlogramPayRisk::ScoresSuccessResponse](docs/ScoresSuccessResponse.md)
224
- - [AlogramPayRisk::SignalsAccountVariant](docs/SignalsAccountVariant.md)
225
- - [AlogramPayRisk::SignalsInteractionVariant](docs/SignalsInteractionVariant.md)
226
- - [AlogramPayRisk::SignalsRequest](docs/SignalsRequest.md)
227
- - [AlogramPayRisk::StoredCredentialContext](docs/StoredCredentialContext.md)
228
- - [AlogramPayRisk::ThreeDSData](docs/ThreeDSData.md)
229
- - [AlogramPayRisk::Wallet](docs/Wallet.md)
230
-
231
-
232
- ## Documentation for Authorization
233
-
234
-
235
- Authentication schemes defined for the API:
236
- ### ApiKey
237
-
238
-
239
- - **Type**: API key
240
- - **API key parameter name**: x-api-key
241
- - **Location**: HTTP header
242
-
243
- ### oAuth2
244
-
245
-
246
- - **Type**: OAuth
247
- - **Flow**: accessCode
248
- - **Authorization URL**: https://api.alogram.ai/oauth2/authorize
249
- - **Scopes**:
250
- - payrisk.read: Read fraud scores and decisions.
251
- - payrisk.write: Submit fraud checks, events, and signals.
138
+ ## ⚖️ License
252
139
 
140
+ Apache License 2.0. See [LICENSE](LICENSE) for details.
data/RELEASE.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "sdk": "ruby",
3
- "version": "0.2.9",
4
- "monorepo_commit": "2596bfbe92f49e4c4cc4861bd5e414ecf12653a9",
3
+ "version": "0.2.10",
4
+ "monorepo_commit": "5469476c646798a3f913e0d93cfc380aa3bff4ef",
5
5
  "openapi_path": "apis/payrisk-v1/openapi.yaml",
6
- "openapi_commit": "2596bfbe92f49e4c4cc4861bd5e414ecf12653a9",
6
+ "openapi_commit": "5469476c646798a3f913e0d93cfc380aa3bff4ef",
7
7
  "generator": "openapi-generator-cli@7.19.0",
8
- "built_at": "2026-04-24T09:05:43Z"
8
+ "built_at": "2026-04-25T08:14:44Z"
9
9
  }
@@ -5,7 +5,7 @@
5
5
 
6
6
  #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)**
7
7
 
8
- The version of the OpenAPI document: 0.2.9
8
+ The version of the OpenAPI document: 0.2.10
9
9
  Contact: packages@alogram.ai
10
10
  Generated by: https://openapi-generator.tech
11
11
  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.2.9
6
+ The version of the OpenAPI document: 0.2.10
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.2.9
6
+ The version of the OpenAPI document: 0.2.10
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.2.9
6
+ The version of the OpenAPI document: 0.2.10
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.2.9
6
+ The version of the OpenAPI document: 0.2.10
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.2.9
6
+ The version of the OpenAPI document: 0.2.10
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.2.9
6
+ The version of the OpenAPI document: 0.2.10
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.2.9
6
+ The version of the OpenAPI document: 0.2.10
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.2.9
6
+ The version of the OpenAPI document: 0.2.10
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.2.9
6
+ The version of the OpenAPI document: 0.2.10
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.2.9
6
+ The version of the OpenAPI document: 0.2.10
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -171,10 +171,6 @@ module AlogramPayRisk
171
171
  # Custom attribute writer method with validation
172
172
  # @param [Object] timestamp Value to be assigned
173
173
  def timestamp=(timestamp)
174
- if timestamp.nil?
175
- fail ArgumentError, 'timestamp cannot be nil'
176
- end
177
-
178
174
  pattern = Regexp.new(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,9})?(Z|[+-]\d{2}:\d{2})$/)
179
175
  if timestamp !~ pattern
180
176
  fail ArgumentError, "invalid value for \"timestamp\", must conform to the pattern #{pattern}."
@@ -186,10 +182,6 @@ module AlogramPayRisk
186
182
  # Custom attribute writer method with validation
187
183
  # @param [Object] phone Value to be assigned
188
184
  def phone=(phone)
189
- if phone.nil?
190
- fail ArgumentError, 'phone cannot be nil'
191
- end
192
-
193
185
  if phone.to_s.length > 20
194
186
  fail ArgumentError, 'invalid value for "phone", the character length must be smaller than or equal to 20.'
195
187
  end
@@ -209,10 +201,6 @@ module AlogramPayRisk
209
201
  # Custom attribute writer method with validation
210
202
  # @param [Object] email Value to be assigned
211
203
  def email=(email)
212
- if email.nil?
213
- fail ArgumentError, 'email cannot be nil'
214
- end
215
-
216
204
  if email.to_s.length > 320
217
205
  fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to 320.'
218
206
  end
@@ -232,10 +220,6 @@ module AlogramPayRisk
232
220
  # Custom attribute writer method with validation
233
221
  # @param [Object] metadata Value to be assigned
234
222
  def metadata=(metadata)
235
- if metadata.nil?
236
- fail ArgumentError, 'metadata cannot be nil'
237
- end
238
-
239
223
  if metadata.to_s.length > 2048
240
224
  fail ArgumentError, 'invalid value for "metadata", the character length must be smaller than or equal to 2048.'
241
225
  end
@@ -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.2.9
6
+ The version of the OpenAPI document: 0.2.10
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.2.9
6
+ The version of the OpenAPI document: 0.2.10
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.2.9
6
+ The version of the OpenAPI document: 0.2.10
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0