3.4 - Get Contracts For Sign

GET - /v2.1/contract/:customerServicerNumber

Get the contracts for a proposal to be signed

Path Params:

customerServicerNumber: Proposal number (String)

CURL Request Example

curl --request GET \
     --url https://demo-api.easycredito.com.br/api/external/v2.1/contract/662561296556416516515616 \
     --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'

Response Example

{
  "customerServiceNumber": "20201104135023860005735",
  "contracts": [
    {
      "checksum": "8de41a016d5270686c6cf3b5bf25ac5cc523db39f9573c5f2232b9ee0ec7fc11",
      "contract": "PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9InB0LWJyIj4KPGhlYWQ+CiAgPG1ldGE ...."
    }
  ]
}