- Creem, Dodo Payments and Iyzico as invoice payment providers: hosted
checkout via payment.requires_action, refunds, signed webhooks at
/webhooks/{creem,dodo,iyzico}/:org with replay protection; GraphQL
mutations + console settings forms (migration 0043)
- Free customer billing portal at /portal/:token: signed expiring,
revocable links (POST/DELETE customers/:id/portal_sessions), invoices
with PDF + pay, usage, wallet top-up, cancel, payment method update;
strict CSP/no-cache; console share/revoke buttons (migration 0045)
- Real-time wallets backed by Mint holds: per-event pricing under the
plan charge model, reject/flag policies (503 fail-closed when Mint is
down), capture at finalize and release on void (migration 0044)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
986 B
TOML
37 lines
986 B
TOML
[package]
|
|
name = "rago-graphql"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
description = "Rago GraphQL dashboard API (async-graphql) over the ported billing services"
|
|
|
|
[dependencies]
|
|
rago-core.workspace = true
|
|
rago-db.workspace = true
|
|
rago-billing.workspace = true
|
|
rago-integrations.workspace = true
|
|
rago-jobs.workspace = true
|
|
rago-mail.workspace = true
|
|
async-graphql.workspace = true
|
|
serde_json.workspace = true
|
|
uuid.workspace = true
|
|
chrono.workspace = true
|
|
rust_decimal.workspace = true
|
|
base64.workspace = true
|
|
tracing.workspace = true
|
|
# Auth (slice 4): argon2 password hashing + HS256 JWT (hmac/sha2).
|
|
argon2 = "0.5"
|
|
hmac.workspace = true
|
|
sha2.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tokio.workspace = true
|
|
sqlx.workspace = true
|
|
rust_decimal_macros.workspace = true
|
|
|
|
[features]
|
|
# Opt-in Postgres-backed #[sqlx::test] suites (need DATABASE_URL; see README
|
|
# "Running the tests"). Plain `cargo test` skips them.
|
|
pg-tests = []
|