Class: Mercadopago::PaymentMethods
- Defined in:
- lib/mercadopago/resources/payment_methods.rb
Overview
Lists the payment methods available for the caller’s MercadoPago site (credit cards, debit cards, bank transfer, cash, etc.).
Useful for building dynamic checkout forms that only show the methods the buyer can actually use.
Instance Method Summary collapse
-
#get(request_options: nil) ⇒ Hash{Symbol => Object}
Retrieves all payment methods available for the authenticated account.
Methods inherited from MPBase
#_check_headers, #_check_request_options, #_delete, #_get, #_post, #_put, #initialize
Constructor Details
This class inherits a constructor from Mercadopago::MPBase
Instance Method Details
#get(request_options: nil) ⇒ Hash{Symbol => Object}
Retrieves all payment methods available for the authenticated account.
18 19 20 |
# File 'lib/mercadopago/resources/payment_methods.rb', line 18 def get(request_options: nil) _get(uri: '/v1/payment_methods', request_options: ) end |