Plaid.PaymentInitiation.get_recipient

You're seeing just the function get_recipient, go back to Plaid.PaymentInitiation module for more information.
Link to this function

get_recipient(recipient_id, config)

View Source

Specs

get_recipient(recipient_id :: String.t(), Plaid.config()) ::
  {:ok, Plaid.PaymentInitiation.CreateRecipientResponse.t()}
  | {:error, Plaid.Error.t()}

Get a recipient for payment initiation.

Does a POST /payment_initiation/recipient/get call to get details about a payment recipient.

Params

  • recipient_id - The ID of the recipient.

Examples

PaymentInitiation.get_recipient("recipient-id-sandbox-123xxx", client_id: "123", secret: "abc")
{:ok, %PaymentInitiation.GetRecipientResponse{}}