Backend for Mobile Apps

by PaystackHQ


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:


Then make your apps post to the url heroku provides e.g.

Happy testing!