The transaction ID in JSON response is then used to execute request(Step 2) to initiate a PIN prompt on the Subscriber's mobile handset to be debited.
Step 2 - Execute
You have two methods to execute the transaction
Redirect the customer to the {{checkout_url}} provided in the response from step 1 on the Paytota platform.
Take note the following parameters should be added to your Initial JSON body on using this method success_redirect, failure_redirect
After the payment is processed, the system will redirect the customer back to your website.
Alternatively, you can initiate a PIN prompt on the subscriber handset by sending a form-data request through your backend system.
Using the transaction ID received in Step 1, this method is then queried by sending a form-data request to initiate a PIN prompt on the subscriber handset.
POST{base url}/p/{id}/
Headers
Request Body
You will receive a callback on your webhook URL regarding the status of the transaction
This method is used to query the collections/purchases transaction status using the transaction ID. Please note that this API also requires authorization using the Secret Key.