Server Exports

payInvoice
exports["nass_billing"]:payInvoice(reference, identifier, signature)

Returns true or false if the invoice was able to be paid

createInvoice
exports["nass_billing"]:createInvoice(source, target, reason, description, amount, isBusiness, customAdjustment)

Create an invoice from player IDs

createInvoiceByIdentifier
exports["nass_billing"]:createInvoiceByIdentifier(sender_name, sender_identifier, target_name, target_identifier, reason, description, amount, isBusiness, customAdjustment)

Create an invoice from identifiers

cancelInvoice
exports["nass_billing"]:cancelInvoice(reference)

Cancels an invoice and returns true or false if it was cancelled

Last updated