API Reference
Record payment for an invoice
POST
/
invoices
/
{invoiceId}
/
pay
Authorizations
X-CUSTOMER-OS-API-KEY
string
headerrequiredPath Parameters
invoiceId
string
requiredBody
application/json
amount
number
requiredcurrency
string
requiredpaymentMethod
enum<string>
requiredAvailable options:
stripe
, bank_transfer
, other
stripePaymentIntentId
string
Response
200 - application/json
invoiceId
string
paymentId
string
amount
number
currency
string
paymentMethod
string
paymentDate
string
stripePaymentIntentId
string