# API: SEPA: Get debtor details
# sepaGetDebtor
Get debtor details. Method only available for installations with enabled SEPA Direct Debit plugin
# Required parameters
Parameter | Description |
---|---|
id | Debtor ID |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=sepaGetDebtor&id=ID
# PHP Samples
# Response
{
"success": true,
"debtor": {
"client_id": "14",
"iban": "DE75512108001245126199",
"bic": "AARBDE5W",
"bank_name": "AAREAL BANK AG",
"bank_account_name": "Debtor Bank Account",
"mandate_id": "1",
"mandate_date": "2024-11-28",
"mandate_status": "NotAgreed",
"mandate_type": "Recurring",
"client_details": {
"id": 14,
"parent_id": 0,
"firstname": "Ara",
"lastname": "Hauck",
"companyname": "",
"address1": "786 Feil Ports",
"address2": "184 Hills View",
"city": "Fond du Lac",
"state": "SU",
"postcode": "123-12",
"country": "FJ",
"phonenumber": "+11 111111111",
"datecreated": "2024-04-01",
"notes": "0",
"language": "english",
"company": 0
}
},
"call": "sepaGetDebtor",
"server_time": 1732865736
}