Create a payment for an invoice with Stripe
POST
/api/invoices/{invoiceId}/pay/stripe
Post /api/invoices/:invoiceId/pay/stripe
Parameters
Path Parameters
invoiceId
required
string
Request Body required
Responses
200
Response for status ok
object
success
required
boolean
paymentIntent
required
string
ephemeralKey
required
string
customerId
required
string
publishableKey
required
string
400
Response for status badRequest
object
success
required
boolean
message
required
string
403
Response for status forbidden
object
success
required
boolean
message
required
string
404
Response for status notFound
object
success
required
boolean
message
required
string
500
Response for status internalServerError
object
success
required
boolean
message
required
string