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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +106 -218
- data/RELEASE.json +4 -4
- data/alogram_payrisk.gemspec +1 -1
- data/lib/alogram_payrisk/api/forensic_data_api.rb +1 -1
- data/lib/alogram_payrisk/api/risk_scoring_api.rb +1 -1
- data/lib/alogram_payrisk/api/roadmap_preview_api.rb +1 -1
- data/lib/alogram_payrisk/api/signal_intelligence_api.rb +1 -1
- 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 -17
- data/lib/alogram_payrisk/models/account_check_request.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 -9
- data/lib/alogram_payrisk/models/card_network_enum.rb +1 -1
- data/lib/alogram_payrisk/models/category_signal.rb +1 -5
- data/lib/alogram_payrisk/models/channel_enum.rb +1 -1
- data/lib/alogram_payrisk/models/check_request.rb +1 -5
- 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_response.rb +1 -13
- data/lib/alogram_payrisk/models/device_info.rb +1 -9
- data/lib/alogram_payrisk/models/discount_code.rb +1 -1
- data/lib/alogram_payrisk/models/entity_ids.rb +1 -49
- data/lib/alogram_payrisk/models/entry_method_enum.rb +1 -1
- data/lib/alogram_payrisk/models/external_assessment.rb +1 -5
- data/lib/alogram_payrisk/models/fraud_score.rb +1 -9
- data/lib/alogram_payrisk/models/identity.rb +1 -13
- data/lib/alogram_payrisk/models/integrity.rb +1 -1
- data/lib/alogram_payrisk/models/interaction.rb +1 -13
- 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 -25
- data/lib/alogram_payrisk/models/kyc_check_request.rb +1 -1
- data/lib/alogram_payrisk/models/kyc_payload.rb +1 -9
- data/lib/alogram_payrisk/models/merchant_context.rb +1 -9
- data/lib/alogram_payrisk/models/order_context.rb +1 -9
- data/lib/alogram_payrisk/models/payer_type_enum.rb +1 -1
- data/lib/alogram_payrisk/models/payment_authorization_outcome.rb +1 -5
- 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 -5
- 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 -15
- 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 -25
- data/lib/alogram_payrisk/models/problem.rb +1 -21
- data/lib/alogram_payrisk/models/purchase.rb +1 -19
- 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 +1 -1
- 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 +1 -16
- data/lib/alogram_payrisk/models/scores_success_response.rb +1 -5
- data/lib/alogram_payrisk/models/signals_account_variant.rb +1 -1
- data/lib/alogram_payrisk/models/signals_interaction_variant.rb +1 -2
- 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 +1 -1
- data/spec/api/forensic_data_api_spec.rb +1 -1
- data/spec/api/risk_scoring_api_spec.rb +1 -1
- data/spec/api/roadmap_preview_api_spec.rb +1 -1
- data/spec/api/signal_intelligence_api_spec.rb +1 -1
- 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/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_response_spec.rb +1 -1
- 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 +1 -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/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/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 +1 -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 +1 -1
- 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.3.1/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 +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82ee05be7ec0996e7a1a84180a8512ad7273111f9d93fc668f151090cd3548b3
|
|
4
|
+
data.tar.gz: bf108941673db9172c82a611e7c0b4df8c5217ff984a314d6591e9f2450a3c07
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a991780eec0b3e3278c515acd741ce491c389c00f6c2b5a277a953208b59d4ab186077df8287c21e9ba9d10827c9ddf719eff3d68393f12d40a53becbc6d6d96
|
|
7
|
+
data.tar.gz: 44ea1ee4441340ca3a3cdf9fa3f904f63adfa537e9391219a23b5f5e72d0ad52e094e7237ce52d851c097f0705b693158cb72e7caf6c8dd01f55bb7296d0d6f9
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,252 +1,140 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Alogram PayRisk Ruby SDK
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://badge.fury.io/rb/alogram_payrisk)
|
|
4
|
+
[](https://opensource.org/licenses/Apache-2.0)
|
|
4
5
|
|
|
5
|
-
|
|
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
|
-
|
|
38
|
-
|
|
21
|
+
Add this line to your application's `Gemfile`:
|
|
39
22
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
|
|
49
|
-
|
|
36
|
+
Alogram is designed for a three-step risk lifecycle: **Score -> Ingest -> Query.**
|
|
50
37
|
|
|
51
|
-
|
|
52
|
-
|
|
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
|
-
|
|
49
|
+
api = AlogramPayRisk::RiskScoringApi.new
|
|
50
|
+
```
|
|
67
51
|
|
|
68
|
-
###
|
|
52
|
+
### 2. Request a Risk Decision
|
|
53
|
+
Call Alogram *before* you charge the customer to get a real-time decision.
|
|
69
54
|
|
|
70
|
-
|
|
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
|
-
|
|
73
|
-
|
|
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
|
-
|
|
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
|
-
```
|
|
79
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
108
|
+
## 🧪 Local Development & Testing
|
|
105
109
|
|
|
106
|
-
|
|
110
|
+
We provide a **Local Emulator** to let you test without network access or production keys.
|
|
107
111
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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
|
-
##
|
|
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.
|
|
4
|
-
"monorepo_commit": "
|
|
3
|
+
"version": "0.2.10",
|
|
4
|
+
"monorepo_commit": "5469476c646798a3f913e0d93cfc380aa3bff4ef",
|
|
5
5
|
"openapi_path": "apis/payrisk-v1/openapi.yaml",
|
|
6
|
-
"openapi_commit": "
|
|
6
|
+
"openapi_commit": "5469476c646798a3f913e0d93cfc380aa3bff4ef",
|
|
7
7
|
"generator": "openapi-generator-cli@7.19.0",
|
|
8
|
-
"built_at": "2026-04-
|
|
8
|
+
"built_at": "2026-04-25T08:14:44Z"
|
|
9
9
|
}
|
data/alogram_payrisk.gemspec
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|