Usage
Installation
cargo add square-rust
How to use
Example:
use CreateCustomerRequestV20230925;
use SquareApiConfig;
use SquareHttpClient;
let idempotency_key = None;
let given_name = Some;
let family_name = Some;
let company_name = None;
let nickname = None;
let email_address = None;
let address = None;
let phone_number = None;
let reference_id = None;
let note = None;
let birthday = None;
let tax_ids = None;
let config = builder.build;
let http_client = try_new.unwrap;
let client = new;
let request = new;
let _ = client.create_customer.await.unwrap;
Planed features
- Payments
- Payments
- Refunds
- Disputes
- Checkout
- Apple pay
- Cards
- Payouts
- Terminal
- Orders
- Subscriptions
- Invoices
- Catalog
- Inventory
- Customers
- Loyalty
- Gift Cards
- Bookings
- Business
- Team
- Financials
- Online
- Auth
- Webhook Subscriptions