Recipients
A recipient is someone your account bills. Every invoice is addressed to one. A recipient has a name and, optionally, an email address and phone number for reaching them.
Recipients are separate from customers. A customer holds Agent Wallets and connects to AI agents through Mitu. A recipient only receives invoices, and needs no reference, key or wallet.
You do not have to create recipients before invoicing. Pass recipient inline when you create an invoice and Mitu saves them for you. Use the Recipients API when you want to manage the list yourself.
Create a recipient
Only name is required.
Parameters
Response fields
One recipient per email and phone
Within your account, an email address or phone number can belong to only one recipient. If you set a reference on your recipients, that rule applies within each reference instead, so different references can each have someone with the same email. Creating or updating a recipient with an email or phone another recipient already uses returns 409.
This is also how inline recipients on invoices are matched. When you create an invoice with recipient, Mitu looks for a saved recipient with the same email, then the same phone. If it finds one, the invoice goes to them and their saved name is kept. To rename a recipient, update them directly.
Retrieve recipients
List the recipients saved in your account. search matches name, email or phone.
The response is a page of recipients under data, with meta describing what comes next. Pass meta.next_cursor as cursor to fetch the next page. Stop when has_more is false.
Retrieve a specific recipient using its ID:
Update a recipient
Send only the fields you want to change. Send null for email or phone to clear it.
Changes apply to invoices already addressed to the recipient, because an invoice reads the name, email and phone from the recipient rather than keeping its own copy.
Delete a recipient
Deleting removes the recipient from your list.
Invoices already addressed to a deleted recipient still show who they went to. You can no longer address new invoices to them by ID. Creating a recipient with their email or phone later brings the same record back.