Setup Contract

Create a new Setup Contract record.

post/api/cp/setup/contract

Request

  • Base URL
    https://app.connexcs.com
  • Auth
    • OAuth 2
      Authorization code: https://auth.connexcs.com/authorize
      Token URL: https://auth.connexcs.com/token
    • or HTTP bearer

Request body

idinteger

Id

account_idinteger

Account Id (references account.id)

namestring required

Name

defaultinteger required

Default

deletedinteger required

Deleted

kycinteger required

Kyc

Example request

{
  "id": 12345,
  "account_id": 1,
  "name": "Example Name",
  "default": 1,
  "deleted": 1,
  "kyc": 1
}

Response

Successful response

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes

    • info

      the endpoint scheme security oAuth2 was added to the API

    • info

      the endpoint scheme security opaqueToken was added to the API

    • info

      the endpoint scheme security basicAuth was removed from the API