---
displayed_sidebar: homepage
---

import ParameterTypes from "@site/src/components/ParameterTypes"

# StorePostPaymentCollectionsBatchSessionsReq

## Properties

<ParameterTypes parameters={[
  {
    "name": "sessions",
    "type": "[StorePostPaymentCollectionsSessionsReq](medusa.StorePostPaymentCollectionsSessionsReq.mdx)[]",
    "description": "Payment sessions related to the Payment Collection. Existing sessions that are not added in this array will be deleted.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": [
      {
        "name": "amount",
        "type": "`number`",
        "description": "The payment amount",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "provider_id",
        "type": "`string`",
        "description": "The ID of the Payment Provider.",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "session_id",
        "type": "`string`",
        "description": "The ID of the Payment Session to be updated. If no ID is provided, a new payment session is created.",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      }
    ]
  }
]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records"/>
