Reference API Roblox

Engine API

Website

Related

Reference API Roblox

ReceiptType

ReceiptType is used to work with server-sided receipt processing.

Items 3

HistoryNameValueDescription
717DeveloperProduct0
717RobuxTransferSender1

Used for processing receipts for the user who initiated a Robux transfer. The receipt's PlayerId is the sender's user ID and includes a TransferRequestId field. Delivered immediately if no receiver approval was required, otherwise deferred until the sender's next session join.

717RobuxTransferReceiver2

Used for processing receipts for the user who received Robux via a transfer. The receipt's PlayerId is the receiver's user ID and includes a TransferRequestId field. Always deferred until the receiver's next session join.

Description

ReceiptType works with MarketplaceService:BindReceiptHandler() to indicate the different type of receipts a developer can bind to for processing. When you call BindReceiptHandler, you pass a ReceiptType to specify which kind of receipt your handler should process.

For Robux transfers initiated with PromptRobuxTransferAsync, two receipts are generated: one for the sender (RobuxTransferSender) and one for the receiver (RobuxTransferReceiver). You should register handlers for both types to fully process a transfer.

Transfer receipts may not be delivered while the player is still in the originating server. RobuxTransferReceiver is always deferred to the receiver's next session join. RobuxTransferSender is immediate if no receiver approval was required, otherwise deferred to the sender's next session join. See BindReceiptHandler for details.

History 4

Settings