> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mitu.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mitu.ai/_mcp/server.

# List wallet approvals

GET https://api.mitu.ai/v1/wallets/{id}/approvals

List the payments from a wallet that are waiting for the customer's approval, and the outcome of earlier ones.

Reference: https://docs.mitu.ai/api-reference/agent-wallets/list-wallet-approvals

## Authentication

- `x-api-key` header (required) — Your API key, using a test key for the sandbox and a live key for production.

## Servers

- `https://api.mitu.ai` (Production, default)
- `https://sandbox-api.mitu.ai` (Sandbox)

## Request

### Path parameters

- `id` (string, required) — Unique identifier of the resource.

### Query parameters

- `status` (enum, optional) — Only approvals in this state.
  - Allowed values: `pending`, `approved`, `rejected`, `expired`, `used`
- `limit` (integer, optional, default: 20) — Maximum number of records to return.
- `cursor` (string, optional) — Cursor returned as `next_cursor` from the previous response. Omit for the first request.

## Response

### 200

Approvals retrieved successfully.

- `message` (string, required)
- `data` (list of WalletApproval, required)
- `meta` (PaginationMeta, required)

## Errors

### 401 Unauthorized Error

Authentication failed because the API key is missing or invalid.

- `statusCode` (integer, required) — The HTTP status code of the response.
- `message` (ErrorResponseMessage, required) — What went wrong. For a request that fails validation, a list with one entry for each field to correct.
- `error` (string, required) — The name of the HTTP status.

### 403 Forbidden Error

The authenticated account is not allowed to perform this action.

- `statusCode` (integer, required) — The HTTP status code of the response.
- `message` (ErrorResponseMessage, required) — What went wrong. For a request that fails validation, a list with one entry for each field to correct.
- `error` (string, required) — The name of the HTTP status.

### 404 Not Found Error

The requested resource could not be found.

- `statusCode` (integer, required) — The HTTP status code of the response.
- `message` (ErrorResponseMessage, required) — What went wrong. For a request that fails validation, a list with one entry for each field to correct.
- `error` (string, required) — The name of the HTTP status.

### 429 Too Many Requests Error

Too many requests were sent in a short period.

- `statusCode` (integer, required) — The HTTP status code of the response.
- `message` (ErrorResponseMessage, required) — What went wrong. For a request that fails validation, a list with one entry for each field to correct.
- `error` (string, required) — The name of the HTTP status.

### 500 Internal Server Error

An unexpected error occurred while processing the request.

- `statusCode` (integer, required) — The HTTP status code of the response.
- `message` (ErrorResponseMessage, required) — What went wrong. For a request that fails validation, a list with one entry for each field to correct.
- `error` (string, required) — The name of the HTTP status.

### 503 Service Unavailable Error

The service is temporarily unavailable.

- `statusCode` (integer, required) — The HTTP status code of the response.
- `message` (ErrorResponseMessage, required) — What went wrong. For a request that fails validation, a list with one entry for each field to correct.
- `error` (string, required) — The name of the HTTP status.

## Types

### WalletApproval

- `id` (string, optional) — The identifier of the approval.
- `wallet_id` (string, optional, nullable) — The wallet the payment would be made from.
- `customer_id` (string, optional, nullable) — The customer who owns the wallet.
- `status` (enum, optional) — Whether the payment is waiting for the customer, has been decided, has lapsed or has been completed after approval.
  - Allowed values: `pending`, `approved`, `rejected`, `expired`, `used`
- `reason` (string, optional) — Why the payment needs approval, such as being above the approval amount or a spending limit.
- `amount` (string, optional) — The amount of the payment.
- `currency` (string, optional)
- `network` (string, optional, nullable) — The network the payment would be made on.
- `payee` (WalletApprovalPayee, optional) — Who the payment would be made to.
- `url` (string, optional) — The request the agent is paying for.
- `method` (string, optional) — The HTTP method of the request the agent is paying for.
- `expires_at` (datetime, optional, nullable) — When the approval lapses if the customer has not decided.
- `decided_at` (datetime, optional, nullable) — When the customer approved or rejected the payment.
- `created_at` (datetime, optional)

### PaginationMeta

- `total` (integer, required) — Total number of records matching the request.
- `limit` (integer, required) — Maximum number of records requested for this response.
- `has_more` (boolean, required) — Whether more records are available after this response.
- `next_cursor` (string, required, nullable) — Cursor to pass in the next request. `null` when there are no more records.

### ErrorResponseMessage

What went wrong. For a request that fails validation, a list with one entry for each field to correct.

- string
- list of string

### WalletApprovalPayee

Who the payment would be made to.

- `host` (string, optional) — The service the agent is paying.
- `address` (string, optional, nullable) — The address the payment would be sent to.

## Examples

**Response**

```json
{
  "message": "Approvals retrieved successfully",
  "data": [
    {
      "id": "req_9f2c4a7e1b3d",
      "wallet_id": "wal_65286515b43d4e3eba93",
      "customer_id": "cus_0t9549fps3xd",
      "status": "pending",
      "reason": "approve_above",
      "amount": "180.00",
      "currency": "USDC",
      "network": "base",
      "payee": {
        "host": "api.example.com",
        "address": "0x7a1c3e5b9d2f4a6c8e0b1d3f5a7c9e2b4d6f8a0c"
      },
      "url": "https://api.example.com/v1/bookings",
      "method": "POST",
      "expires_at": "2026-10-29T14:35:11.402Z",
      "decided_at": null,
      "created_at": "2026-10-29T14:05:11.402Z"
    }
  ],
  "meta": {
    "total": 84,
    "limit": 20,
    "has_more": true,
    "next_cursor": "cur_01HXYZ9999XXXXXX"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.mitu.ai/v1/wallets/id/approvals"

headers = {"x-api-key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.mitu.ai/v1/wallets/id/approvals';
const options = {method: 'GET', headers: {'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.mitu.ai/v1/wallets/id/approvals"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.mitu.ai/v1/wallets/id/approvals")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.mitu.ai/v1/wallets/id/approvals")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.mitu.ai/v1/wallets/id/approvals', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.mitu.ai/v1/wallets/id/approvals");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.mitu.ai/v1/wallets/id/approvals")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```