Currently, I create an account by calling /create-account (JSON API) but it only accepts email/password. I'd like to pass some additional attributes (user firstname/lastname) in that request and have them stored in a separate users table which points to the accounts table.
How should I go about that? If it's not possible with the /create-account endpoint, I could use the create_account library method directly from within my own endpoint, but I'm not sure whether in doing so I'd be giving up on some rate-limiting middleware in the default endpoint.
Currently, I create an account by calling /create-account (JSON API) but it only accepts email/password. I'd like to pass some additional attributes (user firstname/lastname) in that request and have them stored in a separate users table which points to the accounts table.
How should I go about that? If it's not possible with the /create-account endpoint, I could use the create_account library method directly from within my own endpoint, but I'm not sure whether in doing so I'd be giving up on some rate-limiting middleware in the default endpoint.
Thanks