Skip to content

Enrol a user device for authentication using one-time passwords

Request

This is the first step in enrolling the logged-in user's mobile device, where a one-time password is sent to the device.

Note that on the Sandbox Environment, text messages are not sent and the one-time-password is always "123456".

Security
apiKey and authToken
Path
channelstringrequired

The unique identifier for the channel.

Value:"SMS"
curl -i -X POST \
  'https://sandbox.weavr.io/payment-run/v1/authentication_factors/otp/{channel}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'api-key: YOUR_API_KEY_HERE'

Responses

Success - No Content.

Headers
request-refstringrequired

A request identifier. Providing this reference when contacting our support team will help us investigate your query.

Response
No content