QB / ESX

Agency-Phone

Modern multi-framework phone for FiveM with auto-detection for QBCore and ESX. Full app suite including Dialer with pma-voice calls, Buzz SMS messaging, Snap in-game camera, Pulse social feed, Postbox mail, Wallet with AgencyPay checkout, Gallery, Contacts, and Settings. Supports programmable notifications with accept/deny buttons and integrated payment flows.

v26.4Paid5 Pages
Agency-Phone

01 Exports & API

Client Exports

ExportDescription
IsPhoneOpen()Returns true if phone is open
HasPhone()Returns true if player has phone item
PhoneNotification(title, text, icon, color, timeout, acceptIcon, denyIcon)Show phone notification with optional accept/deny buttons
StartCall(contactData)Start a call
StartAgencyPayCheckout(data)Open Agency Pay checkout

Server Exports

ExportDescription
SendMail(identifier, mailData)Send mail (online or offline)
AddChirp(chirpData)Post a Chirper message

Agency Pay Integration

exports['agency-phone']:StartAgencyPayCheckout({
    merchant    = 'Agency Corner',
    title       = 'Agency Pay',
    subtitle    = 'Checkout ready',
    label       = 'Premium Coffee',
    amount      = 24.50,
    icon        = 'fa-solid fa-mug-hot',
    accent      = '#ff9f0a',
    clientEvent = 'my-resource:client:agencyPayResult',
    serverEvent = 'my-resource:server:agencyPayResult',
    metadata    = { orderId = 'order_2048', item = 'premium_coffee' }
})
-- Result: status, requestId, amount, cardId, balance, metadata

Need help? Join our Discord community for support!

Join Discord