The FeedHenry PayPal Connector. For more information on PayPal see: https://github.com/paypal/rest-api-sdk-nodejs.
Create a new card on a PayPal account
Endpoint | /cloud/paypal |
HTTP Method | POST |
{
"card": {
"type": "mastercard",
"number": "12345678901234",
"expire_month": "01",
"expire_year": "1970",
"cvv2": "123",
"first_name": "Joe",
"last_name": "Bloggs"
}
}
{
"ok": "true"
}
All the tests are in the "test/" directory. The cloud app is using mocha as the test runner.
npm run unit
or
npm run test
npm run coverage