Run in Apifox
Create, update, or delete a list of payment sessions of a Payment Collections. If a payment session is not provided in the sessions
array, it's deleted.
Request Body Params application/json
{
"sessions" : [
{
"provider_id" : "string" ,
"amount" : 0 ,
"session_id" : "string"
}
]
}
Request samples curl --location --request POST 'https://api.medusa-commerce.com/store/payment-collections//sessions/batch' \
--header 'Content-Type: application/json' \
--data-raw '{
"sessions": [
{
"provider_id": "string",
"amount": 0,
"session_id": "string"
}
]
}'
Responses application/json Generate Code
Modified at 2024-01-06 03:57:20