Creates an installment and/or direct debit contract that can be displayed for the customer.

Resource URL /api/v3/checkout/{checkoutId}/contract
HTTP method POST
Content type application/json; text/json;

Input parameters

Parameter name Location Type / Model Description
checkoutId path required
request body CreateContractRequest required


HTTP status code Model Comment
OK(200) CreateContractResponse Create Contract Response
BadRequest (400) array of ResponseMessage Request failed. Check response model for list of Errors.
Unauthorized (401) API user is unauthorized. Make sure X-Auth-Key header is sent.
InternalServerError (500) Request failed due internal error. Retry request later.


  "paymentInfo": {
    "type": "Invoice",
    "directDebit": {
      "bankCode": "GENODEM1GTL",
      "bankAccount": "DE20478601250040154100"
  "requireCustomerConfirmation": true,
  "contractList": [
      "contractType": "DirectDebit",
      "contractContent": "CustNo : \r\nSSN: SSN198411090111\r\nAddress: Ice road\r\nPostalcode: 10088\r\nPostalPlace: North pole\r\nBalance: 720.00\r\nNoticeFee: \r\nInterestRate: 5.50\r\nElectronice communication: ",
      "contractNumber": "00000000000001"