# Record manual payment via custom saved for order item **POST /v1/order/{id}/charge-card-on-file** Record manual payment via custom saved for order item ## Servers - Development Server: https://api-dev.classmanager.io (Development Server) - Localhost: https://localhost (Localhost) - Local (Valet): https://classmanager.test (Local (Valet)) - Staging Server: https://api-stage.classmanager.io (Staging Server) - Production Server: https://api.classmanager.io (Production Server) ## Parameters ### Path parameters - **id** (string) ### Body: application/json (object) Request to charge order item via card on file - **itemId** (string) Order item ID - **amount** (integer) Payment amount - **paymentMethodId** (string) Stripe Payment Method ID (must start with pm_) - **paymentScheduleDate** (string(date) | null) Payment schedule date to mark as paid (optional) ## Responses ### 200 Order #### Body: application/json (object) - **id** (string) - **status** (string) Current status of the order - **createdAt** (string(date-time)) - **orderDisp** (string) - **familyId** (string) - **familyName** (string) - **paid** (string) - **grossPrice** (integer) - **netPrice** (integer) - **discountAmount** (integer) - **taxAmount** (integer | null) - **totalTendered** (integer) - **totalDue** (integer) - **totalWithCredit** (integer) Gross price minus total credits applied - **totalRemaining** (integer) Amount remaining to be paid (totalWithCredit - totalTendered) - **creditSum** (integer) Credit sum - **subs** (array[object]) - **payments** (array[object]) - **paymentSchedules** (array[object]) ### 403 Not authorized #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception ### 422 Validation error #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception [Powered by Bump.sh](https://bump.sh)