Requests that the issuer send the cardholder an additional OTP if the user requests one. It is sent using the same information provided in the authenticate
request.
If the endpoint encounters an error while processing the request, the response body from this endpoint should be of type
.ErrorResponse
An example request looks like:
{
"requestHeader": {
"protocolVersion": {
"major": 1
},
"requestId": "cmVxdWVzdDE",
"requestTimestamp": {
"epochMillis": "1481899949606"
},
"paymentIntegratorAccountId": "SpeedyPaymentsIndia_INR"
},
"authenticateRequestId": "G112YZH4XPDV88J"
}
An example response looks like:
{
"responseHeader": {
"responseTimestamp": {
"epochMillis": "1481899949611"
}
},
"result": {
"success": {}
}
}
HTTP request
POST https://www.integratorhost.example.com/integrator-base-path/v1/payment-integrator-authenticated-card-fop-api/resendOtp
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"requestHeader": {
object ( |
Fields | |
---|---|
request |
REQUIRED: Common header for all requests. |
authenticate |
REQUIRED: A unique identifier representing the request to send an OTP. This is the |
Response body
This method supports multiple return types. For additional information about what 4XX or 5XX HTTP status code to return with an ErrorResponse
, consult the ErrorResponse
object and HTTP status codes documentation.
Possible response messages | |
---|---|
HTTP 200 Status |
|
HTTP 4XX / 5XX Status |
|
ResendOtpResponse
Response object for the payment integrator hosted resendOtp
method.
JSON representation |
---|
{ "responseHeader": { object ( |
Fields | |
---|---|
response |
REQUIRED: Common header for all responses. |
result |
REQUIRED: The result of the |
ResendOtpResultCode
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field resend_otp_result_code . Result codes for resendOtp . resend_otp_result_code can be only one of the following: |
|
success |
The request to send an OTP to the user was successful. |
request |
The request to authenticate the user has expired. A new |
otp |
The number of requests to send an OTP has reached its limit and no more OTPs can be requested for this |