5.2 - Sign Contracts
POST - /v2.1/contract/:customerServicerNumber
Sends data for signing a proposal contract
Path Params:
customerServicerNumber: Proposal number (String)
CURL Request Example
curl --request POST \
--url https://demo-api.easycredito.com.br/api/external/v2.1/contract/65411456156156165165 \
--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 '
{
"aceptedCheckSum": [
"8de41a016d5270686c6cf3b5bf25ac5cc523db39f9573c5f2232b9ee0ec7fc11"
],
"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": "201.20.50.200",
"mac": "00:00:00:00:00:00"
}
}
'
Response Example
{
"aceptedCheckSum": [
"8de41a016d5270686c6cf3b5bf25ac5cc523db39f9573c5f2232b9ee0ec7fc11"
]
}
Updated 2 months ago