Paying Customer Transactions

Description

Allows to pay Invoices and Debit Notes. Atleast one of the parameters needs to be provided. The Invoices and Debit Notes would be settled only if the Customer has sufficient funds.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key or auth-password String Required Authentication Parameter
invoice-ids Array Of Integer Required Invoice Ids
debit-ids Array Of Integer Required Debit Ids

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/billing/customer-pay.xml?auth-userid=0&api-key=key&invoice-ids=0&invoice-ids=1&debit-ids=0&debit-ids=1

Response

Returns a map of transactions (Invoice and Debits Ids which are provided to this function) with the respective status.