🪙Step 5 - Verify a Transaction

To complete a transaction, verify the OTP sent to the user's phone by making a POST request to the /verify-otp endpoint.

Sample POST Request to Verify OTP:

curl -X POST 'https://live.linkuppay.com/verify-otp' \
-H 'Content-Type: application/json' \
-H 'api-key: your_api_key_here' \
-d '{
    "otp": "123456",
    "transaction_id": "tx_123456789"
}'

Additional Tips:

  • Read the Documentation: Familiarize yourself with the detailed API documentation to understand all available features and functionalities.

  • Secure Your Integration: Always use HTTPS to ensure that all information transmitted is secure.

  • Error Handling: Implement robust error handling to manage and respond to errors effectively.

By following these steps, you will be well on your way to successfully integrating LinkUpPay's payment processing capabilities into your application. If you have any questions or need further assistance, our support team is always here to help.

Last updated