3.1.2 - Simple Signup

POST - /v2.1/simple_signup

Make sign up of users (can return error if user already registered)

CURL Request Example

curl --request POST \
     --url https://demo-api.easycredito.com.br/api/external/v2.1/process/simple_signup \
     --header 'accept: application/json' \
     --header 'authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRfaWQiOjc1LCJ0YWdfbmFtZSI6ImQ3ZDI5ZWViLTNiMDctNDFiZC05MDQ4LWM1MWIxZjNkYmNlYyIsInNjb3BlIjpbImFwaS1leHRlcm5hbCJdLCJpYXQiOjE2NjY2NDQ5NTcsImV4cCI6MTY2NjczMTM1N30.NAKwoqT22Gdq8JgF5E3O_xP6hP89LHs1m_SaWkgcKJDQc72qFMCGEdCbQ0QAYmaTnX2d-Lelm8wNEO4wk6OPp-6ZkGaenZljTB-as7fhTwl4QwKPy8qGVFUS3dDnq30k1XmJ4sV_TBVuRfiI_QCELOdOigMc4QJtM5KqZBQ1ZelunYnsu84mhlealQsiKT5KrNQ1GSLEiMo-ImsghHNT-WFULZ-nr0gjQert6CYokXnIW9hPm3iPFKjk3kM1st7ZeFcHkcJCJ0zUpZlZV0vzLXsQ2o6xCAf1U7z_wd-9aLgFshVgfqdynZnfUfv-n8acHbCL8wDTjkhb9eZ3ZVi9QBYh_bGtJ0AHMoMmksRYi7Doiv05P_eNo4rgfZ5YjguRWMMPO0kEJZC6HXGOcAMjoStsrb7P_ACx58M_NCrkmBox3iRYPjy6EX4Ev8STu0gVgSUBbWoNc52d9sYtqHfU8_Xvi4Td5e_ykuu2tkjrjNxb22C6lvJQxjxPE10r9o2mLuSeChESv8datNhnyNvUBwtdX2SwIk9XjOyMIdroEHl0Wvptj58DvjGqJn7R3TXU7PI2fAAW8AV761o9cLbhL_gk5UDJBqk8ikV7XPlfY7b5t8GE6inZA6CWG4VdrCog42bnacwx0bD9ANuNzYXDPiFG8CaLDH7X-6gySEBZ0Ek' \
     --header 'content-type: application/json' \
     --data '
{
     "cpf": "00000000191",
     "name": "Fulano d'Tal",
     "birthday": "1992-07-25",
     "email": "[email protected]",
     "phone": "62987654321",
     "zipCode": "74180040",
     "hasCreditCard": true,
     "hasRestriction": true,
     "hasOwnHouse": true,
     "hasVehicle": true,
     "hasAndroid": true,
     "logData": {
          "latitude": -16.6982283,
          "longitude": -49.2581201,
          "occurrenceDate": "2019-08-21T14:31:17.459Z",
          "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36",
          "ip": "0.0.0.0",
          "mac": "00:00:00:00:00:00"
     }
}
'

Response Example

{
  "id": "20190805062216",
  "status": "SIGNUP_COMPLETED",
  "cpf": 191,
  "name": "Fulano d'Tal",
  "dateCreated": "2020-10-28T13:50:21.024Z",
  "lastUpdated": "2020-10-28T13:50:21.024Z"
}

Callback Example

{
  "id": "20190805062216",
  "status": "SIGNUP_COMPLETED",
  "cpf": 191,
  "name": "Fulano d'Tal",
  "dateCreated": "2020-10-28T13:50:21.024Z",
  "lastUpdated": "2020-10-28T13:50:21.024Z"
}