Sign Up

Log In

Stripe

FREE
By dimashirokov
Updated 6 months ago
Payments
-/10
Popularity Score
-
Latency
-
Success Rate

Stripe API Documentation

Accept, process and manage online payments & subscriptions.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

POSTcancelSubscription
POSTcaptureCharge
POSTcloseDispute
POSTcreateAccount
POSTcreateBankAccount
POSTcreateBankAccountToken
POSTcreateCard
POSTcreateCardToken
POSTcreateCharge
POSTcreateCoupon
POSTcreateCustomer
POSTcreateFeeRefund
POSTcreateFileUpload
POSTcreateInvoice
POSTcreateInvoiceItem
POSTcreateOrder
POSTcreatePiiToken
POSTcreatePlan
POSTcreateProduct
POSTcreateReceiver
POSTcreateRefund
POSTcreateSKU
POSTcreateSubscription
POSTcreateTransfer
POSTcreateTransferReversal
POSTdeleteAccount
POSTdeleteBankAccount
POSTdeleteCard
POSTdeleteCoupon
POSTdeleteCustomer
POSTdeleteCustomerDiscount
POSTdeleteInvoiceItem
POSTdeletePlan
POSTdeleteProduct
POSTdeleteSKU
POSTdeleteSubscriptionDiscount
POSTgetAccount
POSTgetAccountBalance
POSTgetAccountList
POSTgetApplicationFee
POSTgetApplicationFeeList
POSTgetBalanceHistory
POSTgetBalanceTransaction
POSTgetBankAccount
POSTgetBankAccountList
POSTgetCard
POSTgetCardList
POSTgetCharge
POSTgetChargesList
POSTgetCountrySpec
POSTgetCountrySpecsList
POSTgetCoupon
POSTgetCouponList
POSTgetCustomer
POSTgetCustomerList
POSTgetDispute
POSTgetDisputes
POSTgetEvent
POSTgetEventList
POSTgetFeeRefund
POSTgetFeeRefundList
POSTgetInvoice
POSTgetInvoiceItem
POSTgetInvoiceItemsList
POSTgetInvoiceLineItems
POSTgetInvoiceList
POSTgetOrder
POSTgetOrderList
POSTgetOrderReturn
POSTgetOrderReturnList
POSTgetPlan
POSTgetPlanList
POSTgetProduct
POSTgetProductList
POSTgetReceiver
POSTgetReceiverList
POSTgetRefund
POSTgetRefundList
POSTgetSKU
POSTgetSKUList
POSTgetSubscription
POSTgetSubscriptionList
POSTgetToken
POSTgetTransfer
POSTgetTransferList
POSTgetTransferReversal
POSTgetTransferReversalList
POSTpayInvoice
POSTpayOrder
POSTrejectAccount
POSTreturnOrder
POSTupdateAccount
POSTupdateBankAccount
POSTupdateCard
POSTupdateCharge
POSTupdateCoupon
POSTupdateCustomer
POSTupdateDispute
POSTupdateFeeRefund
POSTupdateInvoice
POSTupdateInvoiceItem
POSTupdateOrder
POSTupdatePlan
POSTupdateProduct
POSTupdateRefund
POSTupdateSKU
POSTupdateSubscription
POSTupdateTransfer
POSTupdateTransferReversal
POSTwebhookEvent
POSTcancelSubscription

Cancels a customer's subscription. If you set the atperiodend parameter to true, the subscription will remain active until the end of the period, at which point it will be canceled and not renewed.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
apiKeyCREDENTIALS
REQUIREDThe api key obtained from Stripe.
subscriptionIdSTRING
REQUIREDID of subscription to retrieve.
Optional Parameters
atPeriodEndSELECT
OPTIONALA flag that if set to true will delay the cancellation of the subscription until the end of the current period.
Request Snippet
unirest.post("https://StripedimashirokovV1.p.rapidapi.com/cancelSubscription")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("atPeriodEnd=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://StripedimashirokovV1.p.rapidapi.com/cancelSubscription")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("atPeriodEnd=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard