How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Stripe Refunds API

Refund objects allow you to refund a previously created charge that isn't refunded yet. Funds are refunded to the credit or debit card that's initially charged.

Stripe Refunds API is one of 159 APIs that Stripe publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Refunds. The published artifact set on APIs.io includes API documentation, an API reference, and an OpenAPI specification.

This API exposes 6 operations across 4 paths, and defines 10 schemas. It is described by OpenAPI 3.2.0, at version 2023-10-16.

Requests are made against a single base URL, https://api.stripe.com/.

6 operations 4 paths 10 schemas 3 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2023-10-16
Server
https://api.stripe.com/
Authentication
HTTP Basic, HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 2

Stripe Refunds API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (basicAuth). It accepts HTTP bearer tokens (auth-scheme) (bearerAuth). By default, every request must be authenticated.

  • basicAuth — Basic HTTP authentication. Allowed headers-- Authorization: Basic | Authorization: Basic
  • bearerAuth — Bearer HTTP authentication. Allowed headers-- Authorization: Bearer

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 3 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Refunds 6
GET
/v1/refunds
Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds appearing first The 10 most recent refunds are always available by default on the Charge…
GetRefunds 7 params body → 200default
POST
/v1/refunds
When you create a new refund, you must specify a Charge or a PaymentIntent object on which to create it. Creating a new refund will refund a charge that has previously been created but not yet refund…
PostRefunds body → 200default
GET
/v1/refunds/{refund}
Retrieves the details of an existing refund.
GetRefundsRefund 2 params body → 200default
POST
/v1/refunds/{refund}
Updates the refund that you specify by setting the values of the passed parameters. Any parameters that you don’t provide remain unchanged. This request only accepts metadata as an argument.
PostRefundsRefund 1 param body → 200default
POST
/v1/refunds/{refund}/cancel
Cancels a refund with a status of requiresaction . You can’t cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requiresaction state.
PostRefundsRefundCancel 1 param body → 200default
GET
/v1/application_fees/{id}/refunds
Stripe List Application Fee Refunds
GetApplicationFeesIdRefunds 5 params body → 200default

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are refund (20 properties), application_fee (14 properties), PostRefundsRequest (12 properties), fee_refund (8 properties). Each schema is shown below with its type and property counts.

PostRefundsRefundRequest
object
2 properties
application_fee
object
14 properties 12 required
error
object
An error response from the Stripe API
1 property 1 required
PostRefundsRefundCancelRequest
object
1 property
refund
object
Refund objects allow you to refund a previously created charge that isn't refunded yet. Funds are refunded to the credit or debit card that's initially charged…
20 properties 5 required
APIMethodRefundList
object
4 properties 4 required
fee_refund
object
Application Fee Refund objects allow you to refund an application fee that has previously been created but not yet refunded. Funds will be refunded to the Stri…
8 properties 6 required
GetRefundsRequest
object
PostRefundsRequest
object
12 properties
GetRefundsRefundRequest
object

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

stripe-refunds-api-openapi.yml Raw ↑

Other APIs Stripe publishes across the network.

Stripe Accounts API
Stripe Balance API
Stripe Billing API
Stripe Charges API
Stripe Checkout API
Stripe Climate API
Stripe Country API
Stripe Coupons API
Stripe Credit Notes API
Stripe Customers API
Stripe Disputes API
Stripe Ephemeral Keys API
Where this information came from

This is an independent, third-party profile of Stripe Refunds API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.