Payment company Square reported quarterly earnings and revenue that beat analysts' expectations on Wednesday but came up slightly short on forward guidance.

Here's how the company did compared with what Wall Street expected:

Earnings: 13 cents per share vs. 11 cents per share forecast by Refinitiv.

13 cents per share vs. 11 cents per share forecast by Refinitiv. Revenue: $431 million vs. $413.9 million forecast by Refinitiv.

Adjusted revenue grew 68 percent year over year. The company reported its first quarterly profit of $20 million, compared with a net loss of $16 million in the third quarter of last year. Square's chief financial officer, Sarah Friar, said a "big driver" of the profitability was the investment in EventBrite, which went public in October.

Square met expectations for Wall Street's fourth-quarter revenue guidance, but came up short on earnings guidance for the upcoming quarter. It expects to earn between 12 and 13 cents, below Wall Street's expectations of 15 cents for the fourth quarter.

Shares of the fintech company fell more than 3.5 percent in after-hours trading Wednesday. The stock has popped more than 120 percent year over year, and is up 136 percent this year alone.

Subscription- and services-based revenue was especially strong, up 155 percent year over year to $166 million in the third quarter. Caviar, Square Capital and Cash Card, a Visa debit card generated by Square's peer-to-peer Cash App, were key drivers of Square's third-quarter revenue growth, the company said.

"Clearly from the third quarter we're seeing strong momentum in our businesses," Friar said on the earnings call. "That is symptomatic of a strong macro environment but also of the value proposition."

In October, Square announced Friar was stepping down to become CEO of start-up Nextdoor. Shares of Square dropped as much as 8 percent after the announcement.

Square CEO Jack Dorsey, who also runs Twitter, said on the call with analysts that Square had not yet hired a new CFO but was "working with urgency" to do so. Dorsey called finding Friar's replacement the "No. 1 focus for the company."

Square has expanded its small-business lending — an increasingly competitive area in fintech — through Square Capital. In the third quarter of 2018, Square Capital facilitated more than 62,000 business loans, up 34 percent year over year.

The move into small business and exposure to consumer credit has been a cause of concern for some analysts. Friar acknowledged risks and said the diversity of Square's ecosystem should help balance that in any potential economic downturn.

"We are being very mindful of the risk that we are taking and using the very best technology to do it well," Friar said.

Square launched bitcoin trading through its popular Cash App in January and generated $43 million in revenue from the cryptocurrency in the third quarter.

San Francisco-based Square is well-known in the payments sector for its credit card processor, payment hardware and popular Cash app. While the company didn't give specific metrics on the app's growth, Dorsey said customers in many cases are now using it as a traditional bank.

"We do see people use the Cash App fundamentally as you would expect them to use a bank account," Dorsey said. "They store money with us, it's accepted anywhere Visa is accepted. They can send and receive money from friends and family."