Pay an Invoice.
The ID of the Invoice to be paid.
The amount that will be paid.
FM_api('Invoice_pay', ['id' => '1', 'amt' => 500]);
{'ok':1}
If the User is not logged in:
{'error':'not logged in'}
If the amount is not set:
Last updated 4 years ago
{'error':'amount is not set'}