💸 YPay
When called, this function creates a transaction in the YPay app.
lua-- !! NOTE: This export won't modify the money it will register -- the transaction to appear in the YPay app. --- Registers a transaction to the YPay system --- @param senderNumber string The phone number of the sender --- @param recipientNumber string The phone number of the recipient --- @param amount number The amount to transfer --- @param reason string The reason for the transaction --- @return boolean|number Returns the transaction ID if successful, or false if failed local result = exports.yseries:YPayAddTransaction( "555-0123", -- sender "555-0456", -- recipient 500, -- amount "Phone transfer" -- reason )