Mass payouts

Verify payout

This method is required to verify payouts by using your 2FA code.
You’ll have 10 attempts to verify the payout. If it is not verified after 10 attempts, the payout will remain in ‘creating’ status.
Payout will be processed only when it is verified.

If you have 2FA app enabled in your dashboard, payouts will accept 2FA code from your app. Otherwise the code for payouts validation will be sent to your registration email.

Please take a note that unverified payouts will be automatically rejected in an hour after creation.

Next is a description of the required request fields:

  • :batch-withdrawal-id - payout id you received in 2. Create payout method;

  • verification_code - 2fa code you received with your Google Auth app or via email;

In order to establish an automatic verification of payouts, you should switch 2FA through the application.
There are several libraries for different frameworks aimed on generating 2FA codes based on a secret key from your account settings, for example, Speakeasy for JavaScript.
We do not recommend to change any default settings.

const 2faVerificationCode = speakeasy.totp({
      your_2fa_secret_key,
      encoding: 'base32',
})

post/v1/payout/{batch-withdrawal-id}/verify

Request

Headers

x-api-keystring

(Required) Your NOWPayments API key

Request body

verification_codestring

Response

200

Changes

No recorded changes to this operation across all 1 revision of this API.