Resend PIN/OTP (One-Time Password)
Description
This will trigger the workflow to resend the PIN/OTP to the customer. Useful if the customer misses or loses the pin. You can resend the OTP by calling.
Production Endpoint URL: https://api.cpaas.symphony.rakuten.net/twofa/v1/re-send-pin/$request_id
Methods: POST
HTTP Headers
Parameter | Required | Value |
---|---|---|
Authentication | Y | Type: Bearer Token: JWT Token |
Accept | Y | application/json |
Content-Type | Y | application/json; charset=UTF-8 |
Request Body Schema: application/json
Parameter | Required | Description/Values |
---|---|---|
request_id | Y | This is the request_id returned by platform when a new PIN is requested for |
Response:
If successful, the API call will return an HTTP 200 OK with a Json document as a response. Please see section “Errors Codes" for a description of the failure responses.
Parameter | Description |
---|---|
success | true |
result_code | Refer Result Code List |
result_message | Description of the result code |
client_reference | Client reference is returned only when specified in request. |
request_id | The request_id provided in the request is returned for reference |
Sample Response
{
"success" : true,
"result_code" : 0,
"result_message" : "Request successfully submitted",
"comment": "Request accepted to re-send PIN",
"client_reference": "...if provided during original request...",
"request_id" : "...the request_id provided in the request is returned for reference..."
}