Mercadopago.Card (mercadopago_sdk_elixir v0.2.1)

Copy Markdown View Source

Stored cards linked to a customer. Customers themselves live in Mercadopago.Customer.

Summary

Functions

Stores a new card for the given customer.

Deletes a stored card from the given customer.

Fetches a stored card by id for the given customer.

Lists all stored cards for the given customer.

Functions

create(client, customer_id, card_data, opts \\ [])

Stores a new card for the given customer.

delete(client, customer_id, card_id, opts \\ [])

Deletes a stored card from the given customer.

get(client, customer_id, card_id, opts \\ [])

Fetches a stored card by id for the given customer.

list(client, customer_id, opts \\ [])

Lists all stored cards for the given customer.