DocuSign Momentum 2018DocuSign Momentum 2018

Payments: create

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

Request

HTTP request

POST /v2/accounts/{accountId}/billing_payments

Parameters

Parameter NameValueDescription
Path Parameters
accountIdstring

The external account number (int) or account ID Guid.

Responses

CodeDescriptionReference
201

Successful response.

billingPaymentResponse
400

Error encountered.

errorDetails

SDK Method

Billing::makePayment

Definitions

billingPayment
billingPaymentRequest
billingPaymentResponse
errorDetails

Examples

Generic JSON Request/Response
Generic XML Request/Response