Ubupay Documentation
  1. Authentication
Ubupay Documentation
  • Overview
    • Introduction
    • Getting started
  • Agent API Documentation
    • Introduction
    • Authentication
      • Agent authentication
        POST
      • OTP Request
        POST
      • OTP Verification
        POST
      • Password reset
        POST
    • Profile management
      • Create agent business profile
      • Update agent business profile
      • Retrieve agent business profile
      • Agent profile
    • Transactions
      • Transfers list
      • Transactions status amount
      • Transactions status count
      • Update transaction status
  1. Authentication

OTP Verification

POST
/authentication/agent/otp/verification
This endpoint is to verify the OTP you received after the OTP request call.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/authentication/agent/otp/verification' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "tinganjeff90@gmail.com",
    "otp_type": "PASSWORD_RESET",
    "otp": "080024"
}'
Response Response Example
{
    "status": "error",
    "message": "Invalid verification attempt"
}
Modified at 2025-06-03 20:26:51
Previous
OTP Request
Next
Password reset
Built with