Verify Phone Number OTP

This API allows you to verify the OTP code that was sent to a user's phone number during the phone number verification process.

Phone Number OTP

POST https://api.getspendo.com/gateway/api/v1/verify/phoneCheck

Headers

Name
Type
Description

apiKey*

String

The API key that you get from spendo's dashboard.

Request Body

Name
Type
Description

code*

String

The OTP code that the user entered to verify their phone number, represented as a string.

requestId*

String

The ID of the verification request that was sent to the phone number, represented as a string.

{
  "success": true,
  "message": "Request Succesful",
  "code": 0,
  "data": null
}

Good to know: You can use our API Method block to fully test all the API method.

Take a look at how you might call this method using our official libraries, or via curl:



curl --location --request POST 'https://api.getspendo.com/gateway/api/v1/verify/phoneCheck' \
--header 'apiKey: test_api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
  "code": "string",
  "requestId": "string"
}'

Last updated