caelum0x 70af9a6740 feat(rago): close the remaining Lago REST routes
Instant-fee estimates (single and batch) and enriched events; API logs
recorded by middleware with secrets masked; security logs for API key,
webhook endpoint and password events; activity log show; usage
analytics; organization gRPC token; invoice/credit note document
requests; flat quote-version routes; order form mark_as_signed.

Webhook endpoints now store the requested signature algorithm, and jwt
endpoints are delivered with an RS256 JWT (RAGO_RSA_PRIVATE_KEY) whose
public key is served at /webhooks/public_key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 18:21:27 +03:00

35 lines
1.1 KiB
TOML

[package]
name = "rago-integrations"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "Rago payment providers (Stripe) + outbound webhooks, over an injectable HTTP transport"
[features]
default = []
# The live reqwest-backed HTTP transport (owner-gated: needs real provider keys).
live = ["dep:reqwest", "egress-guard/reqwest"]
[dependencies]
rago-core.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
uuid.workspace = true
chrono.workspace = true
rust_decimal.workspace = true
async-trait.workspace = true
hmac.workspace = true
sha2.workspace = true
base64.workspace = true
# RS256 webhook signatures (Lago `signature_algo: jwt`).
rsa = { version = "0.9", default-features = false, features = ["std", "pem", "sha2"] }
reqwest = { workspace = true, optional = true }
# Outbound webhooks reach public addresses only (shared with rithub).
egress-guard = { path = "../egress-guard", default-features = false }
[dev-dependencies]
tokio = { workspace = true }
rand = "0.8"