Older version?

User States

The "user" object has the following states and the following possible state transitions
(you can receive callback notifications when the user changes state, please read our
IPN Tutorial for more details):

pending

The user registered with /user/register and did not confirm the registration yet.

registered

The user's registration on WePay is complete.

deleted

The user's registration was deleted.

/user

This call allows you to lookup the details of the user associated with the access token you are using to make the call.

Arguments:

There are no arguments necessary for this call. Only an access token is required.

Response:

Response

Type

Description

user_id

Integer (64 bits)

The unique ID of the user

user_name

String (255 chars)

The full name of the user

first_name

String (127 chars)

The first name of the user

last_name

String (127 chars)

The last name of the user

email

String (255 chars)

The email of the user

state

String (255 chars)

Either "registered" if the user has registered, or "pending" if the user still needs to confirm their registration