cURL
curl --request GET \ --url https://getbill.io/external-api/v1/creditors/{id} \ --header 'Authorization: <authorization>'
{ "error": false, "message": "Success", "data": { "data": { "id": "abc123def456", "name": "Acme Corporation", "email": "billing@acmecorp.com", "phone": "+33142123456", "address": "123 Business Street", "city": "Paris", "postalCode": "75001", "country": "France", "registrationNumber": "B123456789", "taxNumber": "FR12345678901", "contactPerson": "John Billing", "createdAt": "2024-01-15 10:30:00", "updatedAt": "2024-01-20 14:22:00", "totalDebts": 45, "totalAmount": 125750.00 } } }
Retrieve detailed information about a specific creditor
creditors:read
curl -X GET "/external-api/v1/creditors/abc123def456" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json"
false
Show creditor object
{ "error": true, "message": "Authentication credentials are missing or invalid", "code": 401 }