> For the complete documentation index, see [llms.txt](https://developer.paywall.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.paywall.one/payment-orchestration-integration-document/callback-examples/partial-transaction-callback.md).

# Partial Transaction Callback

In split payment transactions, if one or more payments fail and the **AutoRollback** parameter is set to **true** for successful payments, a cancellation process is initiated Once these cancellation processes are completed, the final payment results are sent to the specified Callback address and the final status is reported

Example: If in a 10-part split payment, 9 payments are successful and 1 fails, and **AutoRollback** is true, the 9 successful payments are canceled After all operations are completed, the system sends the payment statuses to the specified Callback address

<table><thead><tr><th>Key</th><th>Description</th></tr></thead><tbody><tr><td><pre><code>Type
</code></pre></td><td>Notification type<br><br>See: <a href="/pages/zEIvla8ZN22dNrlNQODr">Review</a></td></tr><tr><td><pre><code>SplitPaymentId
</code></pre></td><td>Split payment / transaction ID</td></tr><tr><td><pre><code>ErrorMessage
</code></pre></td><td>If an error occurs during split processing this field contains the descriptive error message</td></tr><tr><td><pre><code>DateTime
</code></pre></td><td>Last action date of the split transaction</td></tr><tr><td><pre><code>FinishedAt
</code></pre></td><td>Completion date of the split transaction</td></tr><tr><td><pre><code>CreatedAt
</code></pre></td><td>Creation date of the split transaction</td></tr><tr><td><p></p><pre><code>MerchantUniqueCode
</code></pre></td><td>Transaction number defined by you at the time of split payment request</td></tr><tr><td><pre><code>Hash
</code></pre></td><td><p>It is the hash value used to verify that the notification is sent from Paywall</p><p>It is generated using the System Webhook Hash Key activated in the Paywall panel</p><p></p><p>The key mentioned above may vary depending on the value of the HashKeyType parameter A dynamic structure should be implemented</p></td></tr><tr><td><pre><code>HashFormat
</code></pre></td><td>Format type used to generate the hash information<br><br>See: <a href="/pages/CwGK9IsyjWbnxDaBvQOq">Hash Formats</a></td></tr><tr><td><pre><code>HashKeyType
</code></pre></td><td>Key type used in generating the hash information<br><br>See: <a href="/pages/rGeM863mExwJKspEaXUG">Key Types</a></td></tr><tr><td><p></p><pre><code>List&#x3C;Payments>
</code></pre></td><td>Payment Detail List</td></tr></tbody></table>

**List**<mark style="color:orange;">**\<Payments>**</mark>**&#x20;Details:**

<table><thead><tr><th>Key</th><th>Description</th></tr></thead><tbody><tr><td><pre><code>PaymentId
</code></pre></td><td>Payment transaction ID</td></tr><tr><td><pre><code>Amount
</code></pre></td><td>Amount information</td></tr><tr><td><pre><code>UniqueCode
</code></pre></td><td>Tracking number assigned to the transaction by Paywall<br><br><mark style="color:purple;">*</mark> <mark style="color:blue;">Must be stored for successful transactions</mark></td></tr><tr><td><pre><code>MerchantUniqueCode
</code></pre></td><td>This parameter is automatically assigned by Paywall<br><br><mark style="color:purple;">*</mark> <mark style="color:purple;">Must be stored for successful transactions</mark></td></tr><tr><td><pre><code>CurrencyId
</code></pre></td><td>Currency<br><br>See: <a href="/pages/bahfUMz1dqpN1ZCnpVtM">Currency</a></td></tr><tr><td><pre><code>Installment
</code></pre></td><td>Installment value</td></tr><tr><td><p></p><pre><code>ActivityTypeId
</code></pre></td><td>Transaction type<br><br>See: <a href="/pages/lKKjlHSFhNub8tANQcXz">Transaction Types</a></td></tr><tr><td><pre><code>ActivityStatusId
</code></pre></td><td>Transaction status<br><br>See: <a href="/pages/mrO7Ldm0PcNWZXhNk5gq">Transaction Statues</a></td></tr></tbody></table>

**Sample JSON:**

```json
{
    "Type": 1,
    "SplitPaymentId": 2881,
    "Payments": [
        {
            "PaymentId": 3705770,
            "Amount": 1.00,
            "UniqueCode": "E86FFB24-CCA4-4F8B-A3B5-BC6A328C0F3B",
            "MerchantUniqueCode": "9f23c7df-f798-4c52-b38a-0d7b52e76f8b",
            "CurrencyId": 1,
            "Installment": 1,
            "ActivityTypeId": 1,
            "ActivityStatusId": 5
        },
        {
            "PaymentId": 3705771,
            "Amount": 1.00,
            "UniqueCode": "56CBA995-1B4B-4B83-BFA1-056715F42B83",
            "MerchantUniqueCode": "d09d5ff2-ba8d-48bc-8a66-9c2ffd47e23b",
            "CurrencyId": 1,
            "Installment": 1,
            "ActivityTypeId": 1,
            "ActivityStatusId": 5
        },
        {
            "PaymentId": 3705772,
            "Amount": 1.00,
            "UniqueCode": "1FBC95B5-F811-4BCE-A216-F9B799F53E97",
            "MerchantUniqueCode": "5b10063c-f715-4644-bf59-dd85b0c59afe",
            "CurrencyId": 1,
            "Installment": 1,
            "ActivityTypeId": 1,
            "ActivityStatusId": 4
        },
        {
            "PaymentId": 3705773,
            "Amount": 1.00,
            "UniqueCode": "0F6B0BAA-FA66-4E62-8EE2-3AFACF3CEABE",
            "MerchantUniqueCode": "56d7bcb0-4434-4584-8586-3b86186d92bb",
            "CurrencyId": 1,
            "Installment": 1,
            "ActivityTypeId": 1,
            "ActivityStatusId": 4
        },
        {
            "PaymentId": 3705774,
            "Amount": 1.00,
            "UniqueCode": "4A6926AD-C340-4283-ADB8-0EDB57123213",
            "MerchantUniqueCode": "d7fdfbda-3173-48d4-8d12-8964867174f7",
            "CurrencyId": 1,
            "Installment": 1,
            "ActivityTypeId": 1,
            "ActivityStatusId": 5
        },
        {
            "PaymentId": 3705775,
            "Amount": 1.00,
            "UniqueCode": "77AC004E-E641-43B7-952B-F932EBCCF5F9",
            "MerchantUniqueCode": "d5ec3bd9-9596-49da-9d6a-519c2d75574c",
            "CurrencyId": 1,
            "Installment": 1,
            "ActivityTypeId": 1,
            "ActivityStatusId": 4
        },
        {
            "PaymentId": 3705776,
            "Amount": 1.00,
            "UniqueCode": "5BE6E448-E675-422D-8D73-1DF025D72660",
            "MerchantUniqueCode": "d3d3ad91-ebea-41b3-80dd-77977ffac2e6",
            "CurrencyId": 1,
            "Installment": 1,
            "ActivityTypeId": 1,
            "ActivityStatusId": 4
        }
    ],
    "ErrorMessage": "",
    "DateTime": "2025-04-03T23:53:33.018504+03:00",
    "CreatedAt": "2025-04-03T22:01:05.357",
    "FinishedAt": "2025-04-03T22:01:12.0185082+03:00",
    "Hash": "95126cbeba7efabdda705d24568f2f4edc17c986b1022603cff4c99bfc4b9a8b"
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.paywall.one/payment-orchestration-integration-document/callback-examples/partial-transaction-callback.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
