RapidAPI logo

Sign Up

Log In

Noodlio Pay - Smooth Payments with Stripe

FREE
By noodlio
Updated 3 months ago
Commerce
7.9/10
Popularity Score
1189ms
Latency
100%
Success Rate

Noodlio Pay - Smooth Payments with Stripe API Documentation

An easy, straightforward solution for accepting payments on your website, in your app, or elsewhere on the web. Thanks to the REST setup, your application can immediately start making requests to the API, which validates the Credit Card details and charges your clients for their purchases. All funds will immediately be transferred to your account.

Essentially, this API replaces your server-side, saving you the time to learn a new server language, test, validate and so on the server-side for your payments. In other words, it's hassle-free payment!

View API Details
POST/tokens/create
POST/charge/token
POST/tokens/create

Validates the credit card input of your user. Upon succes, returns a single use token to charge your client. This token is used as the parameter 'source' in the routes starting with /charge. Alternatively, you can use Checkout to retrieve the token.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
numberNUMBER
REQUIREDThe credit card number (16 digits)
cvcNUMBER
REQUIREDThe security code (CVC) of the credit card (3 digits)
exp_monthNUMBER
REQUIREDThe expiration month MM of the credit card (2 digits)
exp_yearNUMBER
REQUIREDThe expiration year YYYY of the credit card (4 digits)
Optional Parameters
testSTRING
OPTIONALDefines whether the application is in development mode (test: true) or production mode (test: false). Assumes by default production mode.
Request Snippet
unirest.post("https://noodlio-pay.p.rapidapi.com/tokens/create")
.header("X-RapidAPI-Host", "noodlio-pay.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("number=4242424242424242")
.send("cvc=123")
.send("exp_month=08")
.send("exp_year=2020")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://noodlio-pay.p.rapidapi.com/tokens/create")
.header("X-RapidAPI-Host", "noodlio-pay.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("number=4242424242424242")
.send("cvc=123")
.send("exp_month=08")
.send("exp_year=2020")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication