In-person payment intents on MercadoPago Point (POS) devices.
These wrap the /point/integration-api/* payment-intent endpoints, which
MercadoPago now classifies as legacy. The newer Orders-based Point flow and the
/terminals/v1/* endpoints are not exposed yet, and neither is the
operating-mode change (PATCH /point/integration-api/devices/{id}), though
Mercadopago.HTTP.patch/4 now makes the latter reachable directly.
Summary
Functions
Cancels a payment intent on the given device. Uses DELETE, mirroring the Ruby SDK.
Creates a payment intent on the given Point device.
Fetches a payment intent by id.
Lists Point devices matching filters (query-string parameters).
Functions
@spec cancel( Mercadopago.Client.t(), Mercadopago.HTTP.id(), Mercadopago.HTTP.id(), keyword() ) :: Mercadopago.HTTP.response()
Cancels a payment intent on the given device. Uses DELETE, mirroring the Ruby SDK.
@spec create(Mercadopago.Client.t(), Mercadopago.HTTP.id(), map(), keyword()) :: Mercadopago.HTTP.response()
Creates a payment intent on the given Point device.
@spec get(Mercadopago.Client.t(), Mercadopago.HTTP.id(), keyword()) :: Mercadopago.HTTP.response()
Fetches a payment intent by id.
@spec get_devices(Mercadopago.Client.t(), map() | nil, keyword()) :: Mercadopago.HTTP.response()
Lists Point devices matching filters (query-string parameters).