---
title: "Cancel split request"
method: POST
path: "/v1/transactions/{merchantTransactionId}/split/cancel"
tags: ["Split requests"]
---

# Cancel split request

`POST /v1/transactions/{merchantTransactionId}/split/cancel`

## Request

- Base URL: `https://sandbox.pismolabs.io/sellers`
- URL: `https://sandbox.pismolabs.io/sellers/v1/transactions/{merchantTransactionId}/split/cancel`
- Auth: HTTP bearer

Cancel a merchant transaction split request.<br>
This endpoint generates a [Merchant transaction created](https://developers.pismo.io/events/docs/merchants-merchant-transaction-created-1) event.

## Path parameters

- `merchantTransactionId` integer, required

## Headers

- `Authorization` string, required

## Request body

- SplitRequestPostCancelRequest
  - `event_date` string, datetime, required: Event datetime. The datetime format follows the ISO 8601 format (UTC).
  - `installments` integer: Number of installments
  - `processing_code` string, required: Processing code.<br> For more information, refer to [Processing codes](doc:processing-codes-and-transaction-types).
  - `definitions` SplitRequestPostCancelDefinitionsRequest[]: Determines how the transaction amount is split among merchants and specify the applicable taxes and discounts. `definitions` defines the number of merchants involved in the transaction, amount of tax or discount to apply, and the percentage or amount allocated to each merchant.<br> If you cancel a split request without specifying any values in the object, the amounts split among all merchants are canceled.
    - `merchant_id` integer, required: Merchant ID
    - `amount` number, float, nullable: Requested amount of the merchant. If the amount is null, the amount is calculated using the proportion of the amount from each merchant.
    - `processing_code` string, nullable: Merchant transaction processing code

## Response `202`

Successfully canceled split requests

- SplitRequestPostResponse: Split request ID
  - `id` integer: Marketplace ID

## Other responses

- `400`: Bad request
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/seller-management-transactions.md) - [All operations](https://skmtc.dev/pismo/apis/seller-management-transactions/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/seller-management-transactions/revisions/95ba885d7f40?raw)
