Facebook Messenger is all set up to allow friends to send each other money. All Facebook has to do is turn on the feature, according to screenshots and video taken using iOS app exploration developer tool Cycrypt by Stanford computer science student Andrew Aude. Messenger’s payment option lets users can send money in a message similar to how they can send a photo. Users can add a debit card in Messenger or use one they already have on file with Facebook, and set an in-app pincode for added security around payments.

Facebook Payments Select MethodIt’s unclear whether Facebook will monetize Messenger by charging a small fee for money transfers, or offer the functionality for free to drive usage of its standalone chat app. That will be up to David Marcus, the new head of Messenger who was formerly the president of PayPal. Why Facebook chose to poach Marcus is now obvious: Facebook Messenger payments could compete with Venmo, PayPal, Square Cash, and other peer-to-peer money transfer apps.

The presence of payments code in Messenger was first discovered by security researcher Jonathan Zdziarski last month. Aude tells me he used Cycrypt to dig into the Messenger for iOS code on his jailbroken iPhone and turn on the payments feature to nab the screenshots and video. I contacted Facebook to inquire about Messenger payments, but it told me “we don’t have a comment/anything to share right now.”

Aude played around the with feature and its code. He tells me you simply hit a button to initiate a payment, enter the amount you want to send, and send it. Facebook keeps the transaction private and doesn’t publish anything about it to the News Feed.

In the version Aude investigated, Messenger payments only worked with debit cards, not credit cards or bank accounts. That’s likely because money transfers are cheaper to process when they come from debit cards and don’t require approvals or numbers some people don’t know off-hand like connecting a bank account. Aude didn’t see PayPal as a payment option in Messenger, though there are notes about PayPal in the code unearthed by Aude. Facebook automatically lists payment methods you’ve set up in its main app to pay for games or ads.

Facebook Payments SettingsAs for how the money is actually transferred, Aude tells me that “The mechanism it uses is to debit one account, and then use some magical means to lookup the bank account number of the recipient and ACH [Automated Clearing House] deposit it, Identical to Square Cash.

For now, payments will be one person to one person, but Messenger will eventually support group payments according a note in the code that explains “In the short term, we will only support single payment attachment. Multiple payment attachments will be supported in the future.”

Aude tells me he thinks Facebook will enable the feature in the US in the next few months, and then eventually in other parts of the world. One day, Facebook might even be able to disrupt the remittance industry that charges foreign workers exorbitant fees sometimes in the 10% to 20% range to send money home to their families.

There’s a global battle for messaging going on right now between Facebook/WhatsApp, Apple iMessage, Tencent’s WeChat, Line, KakaoTalk, Google Hangouts, Kik, Rakuten’s Viber, and others. Each is trying to differentiate itself, sometimes with stickers, games, commerce, or social networking.

If Messenger payments is a success, it could create a whole new reason to choose Facebook’s chat app over everyone else’s, while simultaneously building Facebook’s collection of debit card numbers and other payment methods. Those could be very useful, as Facebook’s also working on a Buy button for making ecommerce purchases straight from the News Feed.