update_customer
Update a customer's name and phone in Paystack, optionally attaching metadata for additional structured information.
Instructions
Update a customer's details
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": {
"code": "<code>",
"first_name": "<first_name>",
"last_name": "<last_name>"
},
"name": "update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| phone | No | Customer's phone number | |
| metadata | No | A set of key/value pairs that you can attach to the customer. It can be used to store additional information in a structured format. | |
| last_name | Yes | Customer's last name | |
| first_name | Yes | Customer's first name |