Pay sales
Allows to pay multiple sales specifying a payment method and optionally a customer
POST https://eu.golfmanager.com/api/billing/paySales
Parameters
{
ids: int[]
amount: float
paymentMethod: int
customer: int?
}
Example request:
{
ids: [11],
amount: 5,
paymentMethod: 2,
}
Response
[
{
"amount":5,
"created":"2025-03-14T13:25:04+01:00",
"id":1364,
"method":2,
"virtual":false
}
]