GET
/
contracts
/
{contractId}
curl --request GET \
  --url https://connect.withvayu.com/contracts/{contractId} \
  --header 'Authorization: Bearer <token>'
{
  "contract": {
    "startDate": "2023-11-07T05:31:56Z",
    "endDate": "2023-11-07T05:31:56Z",
    "customerId": "<string>",
    "planId": "<string>",
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contractId
string
required

Response

200
application/json
RequestSuccess
contract
object
required