POST
/
v1
/
debtors
/
{id}
/
communicationchannels
curl --request POST \
  --url https://api.paywise.de/v1/debtors/{id}/communicationchannels/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "email",
  "value": "<string>"
}'
{
  "href": "<string>",
  "id": "<string>",
  "your_reference": "<string>",
  "person": {
    "salutation": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "birth_date": "2023-12-25",
    "death_date": "2023-12-25"
  },
  "organization": {
    "name": "<string>"
  },
  "acting_as": "consumer",
  "addresses": [
    {
      "street": "<string>",
      "zip": "<string>",
      "city": "<string>",
      "country": "AF"
    }
  ],
  "communication_channels": [
    {
      "type": "email",
      "value": "<string>"
    }
  ],
  "bank_accounts": [
    {
      "iban": "<string>",
      "bic": "<string>"
    }
  ],
  "metadata": [
    {
      "type": "user:reference",
      "value": "<string>"
    }
  ],
  "events": [
    {
      "type": "registration",
      "title": "<string>",
      "occurence": "2023-11-07T05:31:56Z",
      "your_reference": "<string>",
      "description": "<string>",
      "location": "<string>"
    }
  ],
  "created": "2023-11-07T05:31:56Z",
  "updated": "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

id
string
required

Body

Response

201 - application/json

The response is of type object.