v1

latestOpenAPI 3.1.02026-07-24620123.6 KB

Validate OTP

This endpoint validates a deposit transaction that requires OTP confirmation after charge initiation. Use it only when Honeycoin returns or sends stepRequired: "otp". For provider-required OTPs that must be collected before creating the charge, follow the operator-specific customer instructions and pass the generated code as otpCode in the Mobile Money Charge request.

post/api/b2b/fiat/deposit/{transactionId}/validate-otp

Path parameters

transactionIdstring required

The transactionId to validate.

Request body

otpstring required

The otp sent to the user

Response

200

successboolean
messagestring
transactionIdstring

Example response

{
  "success": true,
  "message": "OTP validated successfully.",
  "transactionId": "pA7dbAjcXr9CZrG5"
}