# Processor Data Model

This model represents additional data that can be sent to the processor, currently used by Sola, TSYS and Stripe.

| field               | type   | description                                                                                                 | field name at processor                          |
| ------------------- | ------ | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| platformOrderNumber | string | order number                                                                                                | <p>Sola: xPONum<br>Tsys: PurchaseOrderNumber</p> |
| taxIndicator        | string | tax indicator                                                                                               | Tsys: Invoice.TaxIndicator                       |
| unitOfMeasure       | string | unit of measurement of a product                                                                            | Tsys: LineItem.UnitOfMeasure                     |
| shippingAmount      | string | shipping amount                                                                                             | Tsys: Invoice.ShippingAmount                     |
| extendedAmount      | string | extended amount of a product                                                                                | Tsys: LineItem.ExtendedAmount                    |
| totalTax            | string | total amount of tax                                                                                         | Sola: xTax                                       |
| payload             | object | key value pairs that will be sent to Stripe as metadata in the payment - <https://docs.stripe.com/metadata> | Stripe: metadata                                 |

### Example

Basic example of "processorData" object sent in the Transactions/Init request body

```json
"processorData": {
    "unitOfMeasure": "kg",
    "totalTax": "3",
    "payload": {
        "request_id": "d20f2b44-72c2-41de-80cc-d79452ae1a43",
        "ip_address": "161.239.206.69"
    },
    
}
```
