PDF invoice downloads.
Summary
Functions
Calls Dodo operation invoices_payment_download (GET /invoices/payments/{payment_id}). Required parameters: none.
Calls Dodo operation invoices_payout_download (GET /invoices/payouts/{payout_id}). Required parameters: none.
Calls Dodo operation invoices_refund_download (GET /invoices/refunds/{refund_id}). Required parameters: none.
Functions
@spec download_payment(DodoPayments.Client.t(), String.t() | integer(), keyword()) :: {:ok, binary() | DodoPayments.Response.t(binary())} | {:error, Exception.t()}
Calls Dodo operation invoices_payment_download (GET /invoices/payments/{payment_id}). Required parameters: none.
Options are request-local.
@spec download_payout(DodoPayments.Client.t(), String.t() | integer(), keyword()) :: {:ok, binary() | DodoPayments.Response.t(binary())} | {:error, Exception.t()}
Calls Dodo operation invoices_payout_download (GET /invoices/payouts/{payout_id}). Required parameters: none.
Options are request-local.
@spec download_refund(DodoPayments.Client.t(), String.t() | integer(), keyword()) :: {:ok, binary() | DodoPayments.Response.t(binary())} | {:error, Exception.t()}
Calls Dodo operation invoices_refund_download (GET /invoices/refunds/{refund_id}). Required parameters: none.
Options are request-local.