Accounts
Open a family account
POST
The caller becomes its owner. First step of onboarding.
Bearerheader
AuthorizationBearer <JWT>application/json- body
name*stringthe family as it names itself, e.g. "Família Silva"
Length
1 <= length <= 120The account, with the caller as owner
application/json- response
success*trueValue in
truedata*Example Request
curl -X POST 'http://localhost:3000/accounts' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "success": true, "data": { "uid": "string", "name": "string", "role": "owner", "onboardedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" }}