Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Latest commit

 

History

History
20 lines (11 loc) · 699 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 699 Bytes

Sample Charge Card Backend

This is a really simple NODE webapp that you can use to test Paystack's sample mobile apps.

It has only 2 endpoints

  • GET /verify/:reference which verifies a transaction, returning the gateway response.

  • GET /new-access-code which starts a new transaction and returns a fresh access code.

This is intended as a sample only: you'll likely need something more serious for your production apps.

To deploy this for free on Heroku, click this button:

Deploy

Then make your apps post to the url heroku provides e.g. jingle-bells.heroku.com.

Happy testing!