Enroll New User

This endpoint allows you to enroll new users.

Request OTP

POST https://api-npay.bluegreensoft.com/v1/banks/link-status

This endpoint allows you to initiate the enrollment process by making a request for an OTP.

Headers

Request Body

{
    "status": true,
    "message": "otp sent succesfully",
}

Provide OTP

POST https://api-npay.bluegreensoft.com/v1/banks/activate/link-status

This endpoint allows you to complete the enrollment process by entering a valid OTP.

Headers

Request Body

{
 "status": true,
   "message": "account activated successfully",
   "data": {
       "last_login": "2020-09-30T09:00:59.602Z",
       "blocked": false,
       "firstLogin": true,
       "status": "active",
       "source": "WEB",
       "_id": "5f744bb03a4g1f0b3bc12ca4",
       "deleted": false,
       "username": "07053796646",
       "accountType": "PHONE",
       "role": "CUSTOMER",
       "createdAt": "2020-09-30T09:11:12.700Z",
       "updatedAt": "2020-09-30T09:11:12.700Z",
       "__v": 0
 }

Last updated