Verify mobile-money OTP (payer-facing)
curl --request POST \
--url https://api.xentfi.com/v1/checkout/mobile-money/{depositInstructionId}/verify-otp \
--header 'Content-Type: application/json' \
--data '
{
"otp": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({otp: '<string>'})
};
fetch('https://api.xentfi.com/v1/checkout/mobile-money/{depositInstructionId}/verify-otp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.xentfi.com/v1/checkout/mobile-money/{depositInstructionId}/verify-otp"
payload = { "otp": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.xentfi.com/v1/checkout/mobile-money/{depositInstructionId}/verify-otp"
payload := strings.NewReader("{\n \"otp\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({otp: '<string>'})
};
fetch('https://api.xentfi.com/v1/checkout/mobile-money/{depositInstructionId}/verify-otp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "<string>",
"otpVerified": true
}
}Checkout
Verify mobile-money OTP (payer-facing)
Confirms the OTP the payer received. This only confirms authorization — the payment link transfer becomes paid when the provider’s webhook is received, never from this response.
POST
/
v1
/
checkout
/
mobile-money
/
{depositInstructionId}
/
verify-otp
Verify mobile-money OTP (payer-facing)
curl --request POST \
--url https://api.xentfi.com/v1/checkout/mobile-money/{depositInstructionId}/verify-otp \
--header 'Content-Type: application/json' \
--data '
{
"otp": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({otp: '<string>'})
};
fetch('https://api.xentfi.com/v1/checkout/mobile-money/{depositInstructionId}/verify-otp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.xentfi.com/v1/checkout/mobile-money/{depositInstructionId}/verify-otp"
payload = { "otp": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.xentfi.com/v1/checkout/mobile-money/{depositInstructionId}/verify-otp"
payload := strings.NewReader("{\n \"otp\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({otp: '<string>'})
};
fetch('https://api.xentfi.com/v1/checkout/mobile-money/{depositInstructionId}/verify-otp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "<string>",
"otpVerified": true
}
}
