Checkout Pro payment preferences.
This is the hosted flow: create a preference, then redirect the buyer to the
init_point MercadoPago returns. For the Checkout API — where you own the
payment form — see Mercadopago.Order and Mercadopago.Payment.
Summary
Functions
@spec create(Mercadopago.Client.t(), map(), keyword()) :: Mercadopago.HTTP.response()
Creates a preference from preference_data.
@spec get(Mercadopago.Client.t(), Mercadopago.HTTP.id(), keyword()) :: Mercadopago.HTTP.response()
Fetches a preference by id.
@spec search(Mercadopago.Client.t(), map() | nil, keyword()) :: Mercadopago.HTTP.response()
Searches preferences matching filters (query-string parameters).
@spec search_stream(Mercadopago.Client.t(), map() | nil, keyword()) :: Enumerable.t()
Streams every result of search/3, fetching each page as it is consumed.
See Mercadopago.Pagination.stream/3 for the options and for how failures are
reported.
@spec update(Mercadopago.Client.t(), Mercadopago.HTTP.id(), map(), keyword()) :: Mercadopago.HTTP.response()
Updates a preference.