Skip to content

HTTP Client for Mercado Pago's API πŸŒπŸ’΅πŸ”„

License

Notifications You must be signed in to change notification settings

hackermoon/mercadopago-ruby

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

32 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mercado Pago Gem

Gem Version

Index

  • API end-points
    • Clients
      • Create a customer
      • Search a customer by email
    • Cards
      • Retrieve

Installation

  $ gem install mercadopago-ruby
  require 'mercadopago'

Clients

  • Get a customer by email
  @client = MercadoPago::API::Clients.new(access_token: ACCESS_TOKEN)
  @client.search_customers_by_email(email: '[email protected]')
  • Create a new customer
  @client = MercadoPago::API::Clients.new(access_token: ACCESS_TOKEN)
  @client.create_customer(email: '[email protected]')

Cards

  • Retrieve customer cards
  @client = MercadoPago::API::Cards.new(access_token: ACCESS_TOKEN)
  @client.retrieve_customer_cards(CUSTOMER_ID)

About

HTTP Client for Mercado Pago's API πŸŒπŸ’΅πŸ”„

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%