mark_as_paid: Mark as Paid

Description Usage Arguments

Description

This marks an invoice as paid in cases where it was paid offline

Usage

1
mark_as_paid(authorization, invoice_id, ...)

Arguments

authorization

set_keys("", "SECRET_KEY")$secret, equivalent of "-H Authorization: Bearer SECRET_kEY"

...

Body Params

amount_paid

int32. REQUIRED Amount paid by customer

paid_by

string. REQUIRED The email address of the customer

payment_date

string. REQUIRED Date payment was made

payment_method

string. REQUIRED The method of payment which are "Cash", "POS", "Cheque", "Bank Transfer" or "Other"

note

string. An optional note


ebinabo/paystack documentation built on May 16, 2019, 8:16 p.m.