ExYapay v1.0.0 ExYapay.Transaction View Source

This module provides functions to manage transactions on Yapay Intermediador API.

More information about a Transaction can be found on the yapay docs:

Link to this section Summary

Functions

Creates a transaction and returns the checkout url.

Gets a transaction by token_account and token_transaction.

Link to this section Functions

Link to this function

create(attributes, opts)

View Source

Specs

create(map(), options()) :: {:ok, String.t()} | {:error, reason()}

Creates a transaction and returns the checkout url.

Link to this function

get(token_account, token_transaction, opts \\ [])

View Source

Specs

get(String.t(), String.t(), options()) ::
  {:ok, ExYapay.Resources.Transaction.t()} | {:error, reason()}

Gets a transaction by token_account and token_transaction.