---
title: "Submits a transaction to be internalized"
method: POST
path: "/internalizeAction"
tags: ["HTTPWalletJSON"]
---

# Submits a transaction to be internalized

`POST /internalizeAction`

## Request body

- InternalizeActionArgs
  - `tx` number[]
  - `outputs` InternalizeOutput[]
    - `outputIndex` number
    - `protocol` 'wallet payment' | 'basket insertion'
    - `paymentRemittance` object
      - `derivationPrefix` string
      - `derivationSuffix` string
      - `senderIdentityKey` string
    - `insertionRemittance` object
      - `basket` string
      - `customInstructions` string
      - `tags` string[]
  - `description` string
  - `labels` string[]
  - `seekPermission` boolean

## Response `200`

The internalization result

- InternalizeActionResult
  - `accepted` boolean

## Other responses

- `400` — Invalid input
- `500` — Internal server error

---

[API](https://skmtc.dev/bsv-blockchain/apis/wallet-json-api.md) · [All operations](https://skmtc.dev/bsv-blockchain/apis/wallet-json-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bsv-blockchain/wallet-json-api/revisions/4b04a6edb128/schema)
