Provides:

Users

<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e68543d5-3f08-43a8-b5a1-ad5937c8e2bf/end.svg" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e68543d5-3f08-43a8-b5a1-ad5937c8e2bf/end.svg" width="40px" /> Endpoints

POST/ registration

POST /authorization POST /authorization/refresh GET /logout GET /user PUT /user POST /user/photo PUT /user/password PUT /user/email POST /confirm-email POST /resend-confirmation POST /confirm-password POST /reset-password GET /user/subscriptions POST /user/subscriptions/{subscription_id} GET /user/plans GET /user/transactions GET /user/resources GET /user/resources/subscriptions GET /user/resources/purchases GET /user/resources/transactions POST /user/card/{id}/default DELETE /user/card/{id} GET /user/cards GET /user/teams POST /user/teams GET /user/teams/{id} PUT /user/teams/{id} DELETE /user/teams/{id} GET /user/content/{key} POST /payment POST /payment/calculate-price GET /user/teams/{team_id}/invites PUT /user/teams/{team_id}/invites/{invite_id} DELETE /user/teams/{team_id}/invites/{invite_id} POST /user/teams/{team_id}/invites/{invite_id}/resend POST /user/stripe/token POST /user/customers PUT /user/customers/{customer_id}/resources/{resource_key} POST /user/braintree/customer GET /user/braintree/client-token POST /user/history POST /user/suspend GET /user/content POST /promo-validation POST /invite-validation POST /invite-activation GET /currency GET /countries GET /resources GET /resource GET /integrations/plans GET /integrations/resource-settings

</aside>

Request for user registration


Request for creating user and get authorization token.

His profile is not “confirmed” by default when creating a user. You must configure the

“Confirmation” email using the “user registration” event.

jsSDK: Wallkit.registration(object)

User Object:

{
  "email": "string",
  "password": "string",
  "password_confirm": "string",
  "first_name": "string",
  "last_name": "string",
  "company": "string",
  "job": "string",
  "zip": "string",
  "phone": "string",
  "country": "string",
  "state": "string",
  "city": "string",
  "ip": "string",
  "invite": "string",
  "extra": {},
  "subscription_id": 0,
  "guest_email": "string"
}

Responses: