Mercadopago.Point (mercadopago_sdk_elixir v0.1.0)

Copy Markdown View Source

In-person payment intents on MercadoPago Point (POS) devices.

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

cancel(client, device_id, payment_intent_id, opts \\ [])

Cancels a payment intent on the given device. Uses DELETE, mirroring the Ruby SDK.

create(client, device_id, payment_intent_data, opts \\ [])

Creates a payment intent on the given Point device.

get(client, payment_intent_id, opts \\ [])

Fetches a payment intent by id.

get_devices(client, filters \\ nil, opts \\ [])

@spec get_devices(Mercadopago.Client.t(), map() | nil, keyword()) ::
  Mercadopago.HTTP.response()

Lists Point devices matching filters (query-string parameters).