Create a Customer
Most data is grouped by customer, which is Walker Street Data's term for an Australian business entity. To create a customer you will need to submit the customer's 11-digit Australian Business Number (ABN).
Prefer using the web app?
When you submit transactions in the Walker Street Data sandbox application, customer creation is handled automatically in the background. This guide details the equivalent workflow using the API.
If this customer is already known to Walker Street Data, their existing customerId will be returned.
Once you have the customerId, you can:
- Submit transactions for enrichment
- Upload PDF bank statements
- Retrieve enriched transaction data
Endpoint: POST https://api.walkerstdata.com.au/v1/customer
Request:
- cURL
- JavaScript
- Python
curl -X POST "https://api.walkerstdata.com.au/v1/customer" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"abn": "12345678901"}'
const response = await fetch('https://api.walkerstdata.com.au/v1/customer', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
abn: '12345678901',
}),
});
const result = await response.json();
const customerId = result.data.customerId;
import requests
response = requests.post(
'https://api.walkerstdata.com.au/v1/customer',
headers={
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
json={'abn': '12345678901'}
)
result = response.json()
customer_id = result['data']['customerId']
Response:
{
"data": {
"customerId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"abn": "12345678901"
},
"message": null
}