Rust SDK

The official reevit crate provides an async, Rustls-based client for server-side Reevit integrations. crates.io docs.rs GitHub

Installation

Rust 1.86 or newer is required.

Quick start

Amounts are expressed in the smallest currency unit. The client defaults to https://api.reevit.io and sends X-Reevit-Key and X-Org-Id automatically.

Checkout sessions

Use client.checkout_sessions().create(...) to create a server-side session, then pass the returned session_secret to a Reevit browser SDK.

Available modules

  • Payments
  • Checkout sessions
  • Connections
  • Subscriptions
  • Fraud policies
  • Customers
  • Payment links
  • Webhooks
  • Routing rules
  • Invoices

Connections

list() returns one page, list_page() preserves pagination metadata, and list_all() follows pagination to fetch every matching PSP connection.

Verify webhooks

Always verify the exact raw request bytes before parsing the webhook JSON.