Create a GAP contract for the given GAP draft. Only one GAP contract can be created for each GAP draft.

Request

POST https://sbx-api.qover.me/{country}/motor/gap/drafts/{draftId}/to-contract

Path parameters

Parameter name Value Description Additional
country string

The country ISO code case insensitive Country code in ISO 3166-1 alpha-2 The currently countries for which a line of business is available are:

  • BE
Required
draftId string

The Draft unique Id

Required

Request headers

Parameter name Value Description Additional
Qover-Api-Version string

The version of the api. Currently only '1.0' is available.

Required

Request body

The request body takes a complete To-Contract Payload resource, containing the following writable properties:

{
    "paymentTerm": "string",
    "transactionAmount": {
        "currency": "string",
        "value": "integer"
    },
    "userTermsToken": "string"
}

Properties

Name Type Description Additional
paymentTerm string

The payment term to be used for the contract

transactionAmount object
transactionAmount.currency string

ISO 4217 currency code. The only currenlty supported currency is EUR.

Possible values are:

  • EUR
transactionAmount.value integer

The amount value multiplied by 100. 13.25 will be represented by the integer 1325.

userTermsToken string

The user terms token showing the user terms have been retreived

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
303 See Other

OK: Result can be found on the provided Link

Headers returned

Name Type Description
Location string
401 Unauthorized

Unauthorized: The authentication failed or is missing

403 Forbidden

Forbidden: You do not have the right to perform this operation

404 Not Found

Not Found: The requested ressource cannot be found

500 Internal Server Error

Internal Server error: The request could not processed due to a server error

General Error

Explore this API

country

The country ISO code case insensitive Country code in ISO 3166-1 alpha-2 The currently countries for which a line of business is available are:

  • BE
draftId

The Draft unique Id

body
Request Content-Type
Qover-Api-Version

The version of the api. Currently only '1.0' is available.

Response Content-Type
Try it out!