# Archive a PayoutMethod object

Archive a PayoutMethod object. Archived objects cannot be used as payout methods and will not appear in the payout method list.

## Request

```curl
curl -X POST https://api.stripe.com/v2/money_management/payout_methods/usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2/archive \
  -H "Authorization: Bearer <<YOUR_SECRET_KEY>>" \
  -H "Stripe-Version: 2025-11-17.preview"
```

### Response

```json
{
  "id": "usba_test_61S8MLMQAjFLoPjqt16QsOpAPpE97EJALhqt1U5mCNB2",
  "object": "v2.money_management.payout_method",
  "available_payout_speeds": [
    "standard"
  ],
  "bank_account": {
    "archived": true,
    "bank_name": "Test Bank",
    "country": "US",
    "enabled_delivery_options": [
      "local"
    ],
    "last4": "6789",
    "routing_number": "110000000",
    "supported_currencies": [
      "usd"
    ],
    "bank_account_type": "checking"
  },
  "created": "2025-03-04T16:32:04.907Z",
  "latest_outbound_setup_intent": "osi_test_61S8MLMXLJbg85kWm16QsOpAPpE97EJALhqt1U5mCXrk",
  "type": "bank_account",
  "usage_status": {
    "payments": "eligible",
    "transfers": "eligible"
  },
  "livemode": true
}
```

## Parameters

- `id` (string, required)
  ID of the payout method.

## Returns

## Response attributes

- `id` (string)
  ID of the PayoutMethod object.

- `object` (string, value is "v2.money_management.payout_method")
  String representing the object’s type. Objects of the same type share the same value of the object field.

- `available_payout_speeds` (array of enums)
  A set of available payout speeds for this payout method.
Possible enum values:
  - `instant`
    Instant.

  - `standard`
    Standard.

- [`bank_account`](https://docs.stripe.com/api/v2/money-management/payout-methods/archive.md?query=bank_account) (object, nullable)
  The PayoutMethodBankAccount object details.

- [`card`](https://docs.stripe.com/api/v2/money-management/payout-methods/archive.md?query=card) (object, nullable)
  The PayoutMethodCard object details.

- `created` (timestamp)
  Created timestamp.

- `latest_outbound_setup_intent` (string, nullable)
  ID of the underlying active OutboundSetupIntent object, if any.

- `livemode` (boolean)
  Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.

- `type` (enum)
  The type of payout method.
Possible enum values:
  - `bank_account`
    Bank account.

  - `card`
    Card.

  - `crypto_wallet`
    Crypto wallet.

- [`usage_status`](https://docs.stripe.com/api/v2/money-management/payout-methods/archive.md?query=usage_status) (object)
  Indicates whether the payout method has met the necessary requirements for outbound money movement.

## Error Codes

| HTTP status code | Code | Description |
| --- | --- | --- |
| 400 | bank_account_cannot_be_archived | Returned when the PayoutMethodBankAccount object is controlled by the Stripe Dashboard, and cannot be archived. |
| 400 | invalid_payout_method | Returned in cases where the ID provided doesn’t correspond to a valid payout method. |
| 404 | not_found | The resource wasn’t found. |
