Associate

Associate an holder with the provided card

Request


POST https://api.domec.tools/v2.0/card:strings/{card:string}/holder


Request Body


{
  "Password": "",
  "AuthorizationPin": "",
  "Approvals": "",
  "SecurityActivationToken": "",
  "NotificationType": 0,
  "Holder": {
    "FirstName": "",
    "LastName": "",
    "CompanyName": "",
    "Email": "",
    "BirthDate": "",
    "BirthPlace": "",
    "FiscalCode": "",
    "VATCode": "",
    "Gender": 0,
    "Addresses": [
      {
        "AddressType": 0,
        "Direction": "",
        "Zip": "",
        "District": "",
        "City": "",
        "Country": ""
      }
    ]
  },
  "Partnerships": [
    {
      "CustomerBasePartnerID": 0,
      "AssociationCode": ""
    }
  ],
  "MobileDevices": [
    {
      "Token": "",
      "Os": "",
      "DeviceIdiom": ""
    }
  ]
}

Parameters

The Associate receive the following parameters in the input.

NameTypeData TypeMandatory
cardpathstring
modelbodyCardDataResult

Responses

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

Status codeDescriptionResponse body
201Created
Create
View body
400BadRequest
The input request contains errors which prevents executing the request
View body
404NotFound
Endpoint not found
View body