POST
/
v1
/
debtors
curl --request POST \
  --url https://api.paywise.de/v1/debtors/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "your_reference": "MEMBER-ID-1413",
  "person": {
    "salutation": "Herr",
    "first_name": "Max",
    "last_name": "Mustermann",
    "birth_date": "1986-08-24"
  },
  "acting_as": "consumer",
  "addresses": [
    {
      "street": "Am Beispielbach 4",
      "zip": "80804",
      "city": "München",
      "country": "DE"
    }
  ],
  "communication_channels": [
    {
      "type": "email",
      "value": "[email protected]"
    }
  ],
  "bank_accounts": [
    {
      "iban": "DE53500105178977267179",
      "bic": "BYLADEM1001"
    }
  ],
  "metadata": [
    {
      "type": "user:reference",
      "value": "string"
    }
  ],
  "events": [
    {
      "type": "registration",
      "title": "string",
      "occurence": "2019-08-24T14:15:22Z",
      "your_reference": "string",
      "description": "string",
      "location": "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.

Body

Response

201 - application/json

The response is of type object.