Configure OTP

We describe how to configure OTP for P2p operations

In BM's yml file (application.yml) you can set you configure as this

This is configuration for OTP

otp.simulation

if you set true to this field simulation service works for otp generating

otp.timeoutSeconds

Timeout for OTP. We set expired for OTP after this seconds

otp.p2p.fromAmount

We send OTP while P2p if your amount is more than this amount

otp.p2p.toAmount

We send OTP while P2p if your amount is less than this amount

otp.p2p.send-sms-url

Sms sender service's URL

otp.p2p.username

Username for sms sender service's API

otp.p2p.password

Password for sms sender service's API

otp.p2p.sms-request-template

Sms request template for send as body to sms sender service API

otp.otp-template

Templates for sms context

Last updated