Nass Scripts
  • Nass Scripts
  • 📚nass_lib
    • Dependencies
    • Changelog
    • Config
  • Scripts
    • 💰Serverstore
    • 🎵Music Player
      • Dependencies
      • Installation
      • Changelog
      • Config
    • 👮Bossmenu
      • Dependencies
      • Installation
      • Changelog
      • Exports
        • Server Exports
      • Config
      • Common Issues
    • 💵Billing
      • Dependencies
      • Installation
      • Changelog
      • Exports
        • Server Exports
      • Config
      • Common Issues
    • 🔫Paintball
      • Dependencies
      • Installation
      • Changelog
      • Exports
        • Client Exports
      • Config
      • Common Issues
    • 💡Neons
      • Installation
      • Changelog
      • Exports
        • Client Exports
      • Config
    • 🏎️Dragstrips
      • Dependencies
      • Installation
      • Changelog
      • Config
Powered by GitBook
On this page
  1. Scripts
  2. Billing
  3. Exports

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

PreviousExportsNextConfig

Last updated 9 months ago

💵