Gets payment information for one or more payments
Retrieves a list containing information about one or more payments. If the from date or to date queries are not used, the response returns payment information for the last 365 days.
Privileges required: account administrator
Authorization
OAuth2 OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.
In: header
Path Parameters
The external account number (int) or account ID GUID.
Query Parameters
Specifies the date/time of the earliest payment in the account to retrieve.
Specifies the date/time of the latest payment in the account to retrieve.
Response Body
application/json
application/json
curl -X GET "https://example.com/v2.1/accounts/string/billing_payments"{ "billingPayments": [ { "amount": "string", "description": "string", "paymentDate": "string", "paymentId": "string", "paymentNumber": "string" } ], "nextUri": "string", "previousUri": "string"}Get a list of past due invoices GET
Returns a list past due invoices for the account and notes if payment can be made through the REST API. Privileges Required: account administrator
Posts a payment to a past due invoice POST
Posts a payment to a past due invoice. This method can only be used if the `paymentAllowed` value for a past due invoice is true. This can be determined calling [Billing::listInvoicesPastDue](https://developers.docusign.com/docs/esign-rest-api/reference/billing/invoices/listpastdue/). 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