Crate ramp_api[][src]

Expand description

A rust library for interacting with the Ramp v3 API.

For more information, the Ramp v1 API is documented at ramp.stoplight.io.

Example:

use ramp_api::Ramp;

async fn get_transactions() {
    // Initialize the Ramp client.
    let ramp = Ramp::new_from_env().await;

    let transactions = ramp.get_transactions().await.unwrap();

    println!("transactions: {:?}", transactions);
}

Modules

deserialize_null_string

Structs

APIError

Error type returned by our library.

AccessToken
Card
CardHolder
Cards
Department
Departments
Fulfillment
Page
Ramp

Entrypoint for interacting with the Ramp API.

Receipt
SpendingRestrictions
Transaction
Transactions
User
Users