paywall__customer_log_payment
Logs payment of an invoice, invoices may be paid in several micro payments. Only once the invoice is paid in full does the subscription activate. Any amount overpaid is saved towards credit for the next subscription @param invoice_id: The customer's database invoice_id @param amount_paid: The decimal amount paid @param customer_payment_reference: An optional payment reference @return: a json object, in the "values" object
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | ||
| amount_paid | Yes | ||
| customer_payment_reference | No | Paid |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||