DocuSign.Api.Payments.billing_payments_post_payment

You're seeing just the function billing_payments_post_payment, go back to DocuSign.Api.Payments module for more information.
Link to this function

billing_payments_post_payment(connection, account_id, opts \\ [])

View Source

Specs

billing_payments_post_payment(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, DocuSign.Model.BillingPaymentResponse.t()} | {:error, Tesla.Env.t()}

Posts a payment to a past due invoice. Posts a payment to a past due invoice. ###### Note: This can only be used if the `paymentAllowed` value for a past due invoice is true. This can be determined calling [ML:GetBillingInvoicesPastDue]. The response returns information for a single payment, if a payment ID was used in the endpoint, or a list of payments. If the from date or to date queries or payment ID are not used, the response returns payment information for the last 365 days. If the request was for a single payment ID, the `nextUri` and `previousUri` properties are not returned. Privileges required: account administrator

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID Guid.
  • opts (KeywordList): [optional] Optional parameters
    • :billing_payment_request (BillingPaymentRequest):

Returns

} on success {:error, info} on failure