API Reference

Send verification code

POST https://ev.apis.paypi.dev/sendCode

This request send's a code to the given email address, which should be returned to check it is correct.

All emails are sent from emailverify@paypi.dev

Headers

Name
Type
Description

Authorization*

string

PayPI subscriber secret in Bearer <token> format

Request Body

Name
Type
Description

email*

string

The email address to send the verification code to

{
    success: true,
    message: "Verification email sent"
}

Check verification code

POST https://ev.apis.paypi.dev/checkCode

Checks the user's emailed code is valid.

If this returns success=true, you can safely assume the user you are interacting with is the owner of that email address.

Headers

Name
Type
Description

Authorization*

string

PayPI subscriber secret in Bearer <token> format

Request Body

Name
Type
Description

email*

string

The email address to check the code against

code*

string

The 6 digit code given by the user.

{
      success: true,
      message: "email successfully verified"
}

Last updated