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
Create a payment for an invoice with Stripe 200 response
object
success
required
boolean
paymentIntent
required
string
ephemeralKey
required
string
customerId
required
string
publishableKey
required
string
400
Create a payment for an invoice with Stripe 400 response
object
success
required
boolean
message
required
string
403
Create a payment for an invoice with Stripe 403 response
object
success
required
boolean
message
required
string
404
Create a payment for an invoice with Stripe 404 response
object
success
required
boolean
message
required
string
500
Create a payment for an invoice with Stripe 500 response
object
success
required
boolean
message
required
string