Stripe

Create Stripe Refund

Create Stripe Refund.

1 creditRuns in your Stripe account

Endpoint

Parameters

NameTypeRequiredNote
identifieraccount · requiredaccountrequired—
chargestring · optionalstringoptional

Charge ID to refund (ch_xxx) — provide this or paymentIntent

paymentIntentstring · optionalstringoptional

Payment intent ID to refund (pi_xxx)

amountnumber · optionalnumberoptional

Integer amount in the currency’s smallest unit.

reasonstring · optionalstringoptional

Refund reason

One of: duplicate, fraudulent, requested_by_customer

metadataobject · optionalobjectoptional

Key-value metadata

Response schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "data": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "total": {
                "type": "number"
              },
              "active": {
                "type": "boolean"
              },
              "amount": {
                "type": "number"
              },
              "object": {
                "type": "string"
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "deleted": {
                "type": "boolean"
              },
              "invoice": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "product": {
                "type": "string"
              },
              "currency": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "customer": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "metadata": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "amount_due": {
                "type": "number"
              },
              "amount_paid": {
                "type": "number"
              },
              "subscription": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "payment_intent": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "amount_remaining": {
                "type": "number"
              }
            },
            "additionalProperties": true
          }
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "total": {
          "type": "number"
        },
        "active": {
          "type": "boolean"
        },
        "amount": {
          "type": "number"
        },
        "object": {
          "type": "string"
        },
        "status": {
          "type": [
            "string",
            "null"
          ]
        },
        "deleted": {
          "type": "boolean"
        },
        "invoice": {
          "type": [
            "string",
            "null"
          ]
        },
        "product": {
          "type": "string"
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "customer": {
          "type": [
            "string",
            "null"
          ]
        },
        "has_more": {
          "type": "boolean"
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "amount_due": {
          "type": "number"
        },
        "amount_paid": {
          "type": "number"
        },
        "subscription": {
          "type": [
            "string",
            "null"
          ]
        },
        "payment_intent": {
          "type": [
            "string",
            "null"
          ]
        },
        "amount_remaining": {
          "type": "number"
        }
      },
      "additionalProperties": true
    }
  },
  "additionalProperties": false
}

Get started

How to use this action

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, then connect your account for this app. There’s no API key to manage.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this app’s actions when the job calls for them, along with any other tools it needs.

  3. Make it a workflow

    Add an action as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether each action runs on its own or asks first. When it asks, you see an Allow or Deny card before anything changes in the app.