Invoice Payments

Create payment intent for invoice

Creates a Stripe PaymentIntent for paying an invoice. This is a public endpoint that uses the invoice token for authentication.

post/invoice-payments/payment-intent

Request

  • Base URL
    https://api.midday.ai
  • URL
    https://api.midday.ai/invoice-payments/payment-intent
  • Auth
    • OAuth 2
      Authorization code: https://app.midday.ai/oauth/authorize
      Token URL: https://api.midday.ai/oauth/token
    • or HTTP bearer

Request body

tokenstring required

Invoice token for authentication

Response

Payment intent created

clientSecretstring required
amountnumber required
currencystring required
stripeAccountIdstring required

Changes

No recorded changes to this operation across all 1 revision of this API.