A Rust client library for Braintree
If you clone the repository somewhere, you'll find a program in
examples/transaction
that can be used to perform various operations on
transactions. Example invocations are:
$ cargo run -- create <amount> # Create a transaction
$ cargo run -- find <transaction_id> # Find a transaction
$ cargo run -- void <transaction_id> # Void a transaction
$ cargo run -- settle <transaction_id> # Force a transaction into a settled state
$ cargo run -- refund <transaction_id> # Refund a settled transaction
- Replace the
ToXml
trait with a proper XML serializer. Serde currently does not support this, but once it does we should switch to using that.