Stripe

Complete a payment for campaign

Records a completed payment for a campaign in the database

post/api/stripe/complete-payment

Request

  • Base URL: https://api.kolect.com
  • URL: https://api.kolect.com/api/stripe/complete-payment
  • Auth: HTTP bearer

Request body

campaignIdstring required

ID of the campaign the payment is for

paymentTypestring required

Type of payment (e.g., deposit, full_payment)

amountnumber required

Payment amount in USD

paymentIntentIdstring

Stripe payment intent ID for reference

Response

Payment completed and recorded successfully

successboolean

Example response

{
  "success": true
}

Changes

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