Skip to content

Get member details

GET /api/member

Returns the account details of the currently authenticated member. Useful for verifying credentials and reading credit settings.

Terminal window
curl -X GET \
-H "Api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
https://www.transdirect.com.au/api/member

A successful response returns a 200 status code with the member’s details.

{
"id": 12345,
"company_name": "Example Pty Ltd",
"contact_name": "Jane Smith",
"address": "123 George Street",
"suburb": "SYDNEY",
"postcode": 2000,
"state": "NSW",
"phone": "0412345678",
"discount_factor": 0,
"credit_limit": 0,
"credit_limit_available": 0,
"charge_type": null,
"last_invoice_timestamp": null,
"terms": null,
"active": 1
}
FieldTypeDescription
idintegerUnique member ID
company_namestringCompany or business name
contact_namestringPrimary contact name
addressstringStreet address
suburbstringSuburb
postcodeintegerPostcode
statestringState or territory (e.g. NSW, VIC, QLD)
phonestringContact phone number
discount_factornumberAccount discount factor
credit_limitnumberCredit account limit (0 if none)
credit_limit_availablenumberRemaining credit available
charge_typestring | nullCharge / billing type when set
last_invoice_timestampstring | number | nullLast invoice marker when set
termsstring | number | nullPayment terms when set
activenumber | stringAccount active flag
Status codeMeaning
401Unauthorised — invalid credentials or API key