Skip to content

Instantly share code, notes, and snippets.

@mathemandy
Last active November 22, 2019 09:05
Show Gist options
  • Save mathemandy/eb360e125a92a872668100277e051f1a to your computer and use it in GitHub Desktop.
Save mathemandy/eb360e125a92a872668100277e051f1a to your computer and use it in GitHub Desktop.
Step 1 - Show Verification Screen.
Step 2 - Fetch List of bank Banks from paystack Api
Endpoint . (https://api.paystack.co/bank) This is a `GET`request.
step 3 . Loop through the response you get from step two and display a drop down of the nice name
Step 4 : user enters account Number.
Step 5 - User clicks verify Button
Step 6 . : i. You get the account number from the field and assign to a vraiable
ii. get the user bank name and find the sort code from the list you got in step 2.
you may have to use a forloop to get it.
Step 7 : Make a `POST` request to paystack api (initial gist i sent)
Step 7 : Parse the response if its either success or failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment