API V3Debtor
Retrieves a Debtor resource.
This endpoint returns the personal and contact information of a single debtor. The debtor is identified by the {debtor_number} path parameter and must belong to your account - otherwise the endpoint responds with 404.
The response contains the same fields as accepted by POST /v3/debtors.
GET
/v3/debtors/{debtor_number}curl -X GET "/v3/debtors/{debtor_number}" \
-H "Authorization: Bearer $POM_API_DOCUMENTATION_API_KEY"Authorization
AuthorizationstringheaderrequiredOAuth 2.0 client credentials Grant
Parameters
debtor_numberstringpathrequiredDebtor identifier
Response
application/json
Debtor resource
debtor_numberstring | nullpersonalDebtorPersonalOutput-debtor.read | nullcontactDebtorContactOutput-debtor.read | nulladdressDebtorAddressOutput-debtor.read | nullsecondary_addressDebtorAddressOutput-debtor.read | nullibanstring | nullblock_messagingDebtorBlockMessagingOutput-debtor.read | null
{
"debtor_number": "string",
"personal": {
"first_name": "string",
"last_name": "string",
"company_name": "string",
"personal_identification_number": "string",
"date_of_birth": "string",
"gender": "string",
"language": "string"
},
"contact": {
"email": "string",
"secondary_email": "string",
"phone_number": "string",
"secondary_phone_number": "string",
"mobile_number": "string"
},
"address": {
"street_name": "string",
"house_number": "string",
"zip_code": "string",
"city": "string",
"country": "string"
},
"secondary_address": {
"street_name": "string",
"house_number": "string",
"zip_code": "string",
"city": "string",
"country": "string"
},
"iban": "string",
"block_messaging": {
"email": true,
"sms": true,
"letter": true,
"call": true,
"home_visit": true
}
}