---
title: "Create transaction for an order."
method: POST
path: "/api/v3.3/transactions"
tags: ["Transactions"]
---

# Create transaction for an order.

`POST /api/v3.3/transactions`

## Request body

- TransactionAddingApi3Dto
  - `manual` boolean — Determines whether the payment went through a payment processor or not. If 'manual' is false, then payment must've gone through a payment processor, so fields {type, status, transactionId} are required.
  - `type` 'SALE' | 'PAYMENT_METHOD_VERIFICATION' | 'REFUND' | 'SECURITY_DEPOSIT_CHARGE' | 'SALE_MARKETPLACE', required
  - `status` 'SUCCESS' | 'FAILURE' | 'UNCAPTURED', required
  - `amount` number — Amount of the transaction. Required when 'fullPayment' is not given or false.
  - `fullPayment` boolean — If true, then the created transaction will have amount of remaining order balance.
  - `transactionId` string — Required when 'manual' is false. Id of the transaction from payment processor.
  - `referenceTransactionId` string — Can be specified only for transactions of type 'REFUND'. 'transactionId' of transaction that is refunded
  - `notes` string
  - `errorMessage` string
  - `orderUid` string, required

## Response `200`

OK

---

[API](https://skmtc.dev/hostfully/apis/hostfully-api.md) · [All operations](https://skmtc.dev/hostfully/apis/hostfully-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hostfully/hostfully-api/revisions/8387ad22afc6/schema)
