get_customer_record
Retrieve a customer record by CUST-NNNNN ID to check account status and refundable balance before issuing a refund.
Instructions
Returns the customer record for a customer ID in the format CUST-NNNNN, including account status and refundable balance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customer_id": "<customer_id>"
},
"name": "get_customer_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| Yes | |||
| status | Yes | ||
| currency | Yes | ||
| createdAt | Yes | ||
| customerId | Yes | ||
| refundableBalance | Yes |