# Split Payment and Routing

## Split Payment and Routing Object

Attach this object to the Request Body of [create-payment-session](https://pivot-payment.gitbook.io/pivot-docs/api-references/api-lists/payments/payment-session/create-payment-session "mention")

```json
{
  "splitRoutingConfigurations": [
    {
      "merchantId": "e485e01b-ff59-4a47-bb7d-9b39064f3388",
      "type": "FIXED",
      "currency": "IDR",
      "percentageAmount": 2.5,
      "fixedAmount": 25000,
      "remarks": "Fee Reforza Platform"
    }
  ]
}
```

**Detail Parameter Object**

<table><thead><tr><th width="230.01953125">Parameter</th><th width="120.9453125">Data Type</th><th width="133.1796875">Requirement</th><th>Description</th></tr></thead><tbody><tr><td>splitRoutingConfiguration</td><td>Array of Objects</td><td>O</td><td></td></tr><tr><td><ul><li>merchantId</li></ul></td><td>String</td><td>M</td><td>Route Payment destination, can route to Main Account or Sub-account within the platform</td></tr><tr><td><ul><li>type</li></ul></td><td>String</td><td>M</td><td><p>Type possible values:</p><ol><li>FIXED</li><li>PERCENTAGE</li></ol></td></tr><tr><td><ul><li>currency</li></ul></td><td>String</td><td>M</td><td>IDR</td></tr><tr><td><ul><li>percentageAmount</li></ul></td><td>Integer</td><td>C</td><td>Mandatory if the type value is "PERCENTAGE"</td></tr><tr><td><ul><li>fixedAmount</li></ul></td><td>Integer</td><td>C</td><td>Mandatory if the type value is "FIXED"</td></tr><tr><td><ul><li>remarks</li></ul></td><td>String</td><td>M</td><td></td></tr></tbody></table>
