Using the Marqeta API to simulate a transaction in Ruby.
- Fork repo and clone locally.
- Create an account to use their API in a sandbox environment.
- Create a file called
secrets.rb
and add the followingSecrets
module to it:
module Secrets
Application_Token = "insert application token here"
Master_Access_Token = "insert master access token here"
Shared_environment_base_URL = "insert shared environment base URL here"
end
- Use
api_test.rb
to play around with the API.