POST /v1/order/{id}/company-payment-finish

Path parameters

  • id string Required

    Order id

application/json

Body Required

Request to confirm payment for a payment schedule or specific order item. At least one of orderItemId or date must be provided.

  • paymentMethodId string Required

    Stripe Payment Method ID (must start with pm_)

  • orderItemId string | null Required

    Order item ID

  • date string | null Required

    Date of payment schedules to pay

Responses

  • 204

    Empty response

POST /v1/order/{id}/company-payment-finish
curl \
 --request POST 'https://api.classmanager.io/v1/order/ord_123123123123/company-payment-finish' \
 --header "Content-Type: application/json" \
 --data '{"paymentMethodId":"pm_123456789","orderItemId":"ordi_123456789","date":"2025-09-01"}'
Request examples
{
  "paymentMethodId": "pm_123456789",
  "orderItemId": "ordi_123456789",
  "date": "2025-09-01"
}