Customers
Get customer by Customer ID
Returns a customer object with the given TrueAccord CUSTOMER_ID. (Note: the CUSTOMER_ID appears in the meta field of the Customer object that was returned when you added the customer. The CUSTOMER_ID also appears in the GET https://api.trueaccord.com/api/v1/customers/ response.)
get/customers/{customerId}
Request
- Base URLhttps://api.trueaccord.com/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Ok
Example response
{
"meta": {
"id": "3ef84ff19ddc",
"isActive": true
},
"dateOfBirth": {
"day": 6,
"month": 4,
"year": 2012
},
"addresses": [
{
"streetLine1": "101 N First St",
"streetLine2": "Apt 2",
"city": "San Jose",
"state": "CA",
"zipcode": "55555",
"countryCode": "US"
}
],
"emails": [
{
"email": "example@trueaccord.com"
}
],
"comments": [
{
"comment": "Transaction failed due to insufficient funds."
}
],
"reference": "MyRef",
"debts": [
{
"initialPrincipal": {
"amount": 30000,
"currency": "USD"
},
"initialInterest": {
"amount": 30000,
"currency": "USD"
},
"initialFees": {
"amount": 30000,
"currency": "USD"
},
"postChargeOffInformation": {
"balanceAtChargeOff": {
"amount": 30000,
"currency": "USD"
},
"feesAccruedSinceChargeOff": {
"amount": 30000,
"currency": "USD"
},
"interestAccruedSinceChargeOff": {
"amount": 30000,
"currency": "USD"
},
"totalPaidSinceChargeOff": {
"amount": 30000,
"currency": "USD"
}
}
}
],
"ssn": "123456789"
}Changes
No recorded changes to this operation across all 1 revision of this API.