Refund
Refund Certified

Create a Stripe refund

yaml
type: io.kestra.plugin.stripe.payment.Refund
yaml
id: refund_payment
namespace: company.team

tasks:
  - id: refund_payment
    type: io.kestra.plugin.stripe.payment.Refund
    apiKey: "{{ secret('STRIPE_API_KEY') }}"
    chargeId: "ch_123456789"

yaml
id: refund_partial
namespace: company.team

tasks:
  - id: refund_partial
    type: io.kestra.plugin.stripe.payment.Refund
    apiKey: "{{ secret('STRIPE_API_KEY') }}"
    paymentIntentId: "pi_123456789"
    amount: 500  # amount in cents
Properties