Class: Mercadopago::IdentificationType
- Defined in:
- lib/mercadopago/resources/identification_type.rb
Overview
Lists the identification document types accepted in each country (e.g. CPF in Brazil, DNI in Argentina).
The returned list is used to populate identification-type selectors in checkout forms and to validate payer documents.
Instance Method Summary collapse
-
#get(request_options: nil) ⇒ Hash{Symbol => Object}
Retrieves all identification types available for the caller’s country.
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 identification types available for the caller’s country.
18 19 20 |
# File 'lib/mercadopago/resources/identification_type.rb', line 18 def get(request_options: nil) _get(uri: '/v1/identification_types', request_options: ) end |