Mr. Carter declined to comment, and a spokesman for Spotify declined to speak further about the deal.

Spotify, which has led the music industry’s shift to streaming, continues to face strong competition from Apple, Tidal and other services, as it has for the last year. Exclusive content deals, like the ones that propelled new albums by Drake at Apple and Beyoncé at Tidal, have emerged as the most potent form of warfare, helping those services draw millions of new subscribers and forge tight bonds with superstar acts.

So far, Spotify has been reluctant to make such exclusive deals on new albums.

“We believe long-term exclusives are bad for artists and they’re bad for fans,” Jonathan Prince, a Spotify spokesman, said in April after the release of the Beyoncé album “Lemonade,” which is widely available for sale but can be streamed only through Tidal.

But Spotify has also been developing other forms of content. It recently hired Tom Calderone, a former Viacom executive, and announced a slate of original video programming, including series with the actor Tim Robbins and the veteran hip-hop executive Russell Simmons.

Spotify says it has at least 89 million regular users around the world, including 30 million who pay for subscriptions. But its competitors have been growing fast. Apple’s streaming service, Apple Music, has 13 million paying subscribers, and the company is expected to announce a revamp of the service soon. Tidal, which so far this year has had exclusives for limited periods with Rihanna and Kanye West, has said that it has four million subscribers. Other players include Rhapsody, YouTube and Deezer.