Skip to main content
Accounts API

Authenticate Account

PUT /accounts/authenticate

View and authenticate an account.

The endpoint authenticate an Account object

Request Body

account_uuid

string
REQUIRED

The UUID of the Account that you want to validate.

Example value:  acc_ff6c5094-1cd1-11ec-9621-0242ac130002

slug

string
REQUIRED

The slug of the pending account validation.

Example value:  018addfb-cf77-48db-9884-f6b036a3e278- e775cf1e-7986-4691-946a-136179fecc0

otp

string
REQUIRED*

The otp received by the user on his device.

Example value: 72

*This field is REQUIRED only if pending_account_validation action is CONFIRM_OTP_VIA_MICRODEPOSIT

PUT /accounts/authenticate
curl --location 'https://api.druo.com/accounts/authenticate' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ACCESS_TOKEN' \
--data-raw '{
  "account_uuid": "acc_b60227ab-8da8-4d0f-951c-68195ba27f9c",
  "slug": "018addfb-cf77-48db-9884-f6b036a3e278-e775cf1e-7986-4691-946a-136179fecc0e"
}'

Response Fields

status

string

The current status for this Account Validation.

Example value:  VERIFICATION_IN_PROGRESS

Check out the list of Account Connection Status here.

action

string

Action to be performed by the user

Example value: CONFIRM_REQUEST_WITH_INSTITUTION

remarks

string

The account remarks for this Account Validation.

Example value:  ACCOUNT_DOES_NOT_EXIST

Response
{
        "status": "VERIFICATION_IN_PROGRESS",
        "action": "CONFIRM_REQUEST_WITH_INSTITUTION",
        "remarks": null,
}