API दस्तावेज़ीकरण
post
/api/v1/Psp/beneficiaries/{beneficiaryId}/verify-otpConfirms a registered bank account with the one-time code sent to the user.
Psp
पैरामीटर
beneficiaryId
path · string
आवश्यक
provider
query · string
वैकल्पिक
version
path · string
आवश्यक
अनुरोध निकाय
{
"code": "string"
}जवाब
- 200{result} is true when the bank account is confirmed, false when the code is wrong.application/json
{ "result": true } - 400The code is not in the expected format.application/json
"string"
- 401Not authenticated.application/json
{} - 403Too many attempts; request a new code.application/json
"string"
- 404Unknown bank account, or no valid code was sent.application/json
"string"