# Unpaid Debt

### Example URL:

```
https://api2.redflagalert.net/v4/companies/01777777/unpaid-debt/
```

### JSON Structure:

```javascript
{
	"data": [{
		"attributes": {
			"statement_date": "2016-02-19",
			"debtor_company_name": "Oyster Travel Training Services Limited T/A Oyster Training Group",
			"creditor_company_name": "British Airways",
			"amount": 7216,
			"creditor_company_number": "01777777",
			"debtor_company_number": "05413662"
		},
		"type": "unpaid_debt",
		"id": "690773",
		"links": {
			"debtor": "https://api2.redflagalert.net/v4/companies/05413662/",
			"creditor": "https://api2.redflagalert.net/v4/companies/01777777/"
		}
	}]
}
```

### Attributes

| Field Key                 | Description         | Notes |
| ------------------------- | ------------------- | ----- |
| `statement_date`          | Needs clarification |       |
| `debtor_company_name`     | Needs clarification |       |
| `creditor_company_name`   | Needs clarification |       |
| `amount`                  | Needs clarification |       |
| `creditor_company_number` | Needs clarification |       |
| `debtor_company_number`   | Needs clarification |       |
