Plaid.AssetReport.create_audit_copy

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

create_audit_copy(asset_report_token, auditor_id, config)

View Source

Specs

create_audit_copy(String.t(), String.t(), Plaid.config()) ::
  {:ok, Plaid.AssetReport.CreateAuditCopyResponse.t()}
  | {:error, Plaid.Error.t()}

Create an audit copy token.

Does a POST /asset_report/audit_copy/create call to create an audit copy token which can be sent to participating auditors.

Params:

  • asset_report_token - The token for which you want to create an audit copy.
  • auditor_id - The auditor_id of the third party with whom you would like to share the Asset Report.

Examples

AssetReport.create_audit_copy("assets-sandbox-123xxx", "fannie_mae", client_id: "123", secret: "abc")
{:ok, %AssetReport.CreateAuditCopyResponse{}}