
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
revolutcardapi
Advanced tools
A UnOfficial Revolut API Wrapper which allows you to manage (get, create, delete, freeze, etc) your Revolut Credit Cards
Unofficial
This module helps you to manage your credit cards, through phone number + pin authentication.
For specif information about the Revolut API see my UnOfficial Revolut's API documentation.
Simple example that utilizes all the current functions available.
require("dotenv").config()
import Revolut from 'revolutapi'
let sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms));
(async () => {
//Make sure we have the environment variables
if(!process.env.NUMBER || !process.env.PASSCODE) {
throw new Error('Missing environment variables')
}
//Create a new instance of a revolut account
let revolut = new Revolut(process.env.NUMBER, process.env.PASSCODE)
//Signin with the credentials given in the constructor
await revolut.signin()
//Get all cards on the account
console.log(await revolut.getCards())
//Create a new virtual card with the label "hello!"
let card = await revolut.newVirtualCard("hello!")
//Get the expiry date, cvv and pan of the credit card
let details = await revolut.getCardSecrets(card.id)
console.log(details)
//Revolut takes ~500ms to process the new card into their system
await sleep(1000);
//Delete the newly created card
//await revolut.deleteCard(card.id)
})()
To build the libary, run npm run build
FAQs
A UnOfficial Revolut API Wrapper which allows you to manage (get, create, delete, freeze, etc) your Revolut Credit Cards
We found that revolutcardapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.