W/O Payments
POST
Accepts payment against the work order's project balance due. Supports charging a saved Stripe card on file or creating a Stripe Tap to Pay payment intent.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
workOrderintegerrequired
Body
amountstringrequiredpayment_type"card_on_file" | "tap_to_pay"requiredAllowed values:
"card_on_file" | "tap_to_pay"payment_method_idstringRequired when `payment_type` is `card_on_file`.
descriptionstringmetaobjectResponse
application/json
Payment processed or Tap to Pay intent created.
messagestringrequiredpaymentobjectrequiredpayment.idintegerrequiredpayment.amountnumber<float>requiredpayment.providerstringrequiredpayment.statestringrequiredpayment.descriptionstringpayment.payment_intent_idstringpayment.payment_method_idstringtap_to_payobjecttap_to_pay.payment_intent_idstringrequiredtap_to_pay.client_secretstringtap_to_pay.statusstringrequiredproject_balance_duenumber<float>required