Wow. Thanks to some awesome metaprogramming support in Elixir, pattern matching, and the consistency of WebPay's API, I have made a response parser that puts WebPay's return values in to structs I can use in Elixir -- only 30 lines of code.