Stripe
フリー
開発者dimashirokov
更新日 1年前

「Stripe 」のドキュメント

オンライン決済を受け入れ、処理し、管理します。

このAPIについて詳しく見る
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
POSTupdateCustomer

渡されたパラメーターの値を設定して、指定されたカスタマーを更新します。

ヘッダーパラメータ
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ
apiKeyCREDENTIALS
REQUIREDThe api key obtained from Stripe.
customerIdSTRING
REQUIREDIf of customer to update.
パラメータ(Option)
metadataARRAY
OPTIONALA set of key/value pairs that you can attach to a customer object. It can be useful for storing additional information about the customer in a structured format. This will be unset if you POST an empty value.This can be unset by updating the value to null and then saving.
sourceSTRING
OPTIONALThe source can either be a token, like the ones returned by our Stripe.js, or a dictionary containing a user’s credit card details (with the options shown below).child arguments
descriptionSTRING
OPTIONALAn arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard. This will be unset if you POST an empty value.This can be unset by updating the value to null and then saving.
businessVatIdSTRING
OPTIONALThe customer’s VAT identification number. If you are using Relay, this field gets passed to tax provider you are using for your orders. This will be unset if you POST an empty value.This can be unset by updating the value to null and then saving.
accountBalanceSTRING
OPTIONALAn integer amount in cents that is the starting account balance for your customer. A negative amount represents a credit that will be used before attempting any charges to the customer’s card; a positive amount will be added to the next invoice.
emailSTRING
OPTIONALCustomer’s email address. It’s displayed alongside the customer in your dashboard and can be useful for searching and tracking. This will be unset if you POST an empty value.This can be unset by updating the value to null and then saving.
couponSTRING
OPTIONALIf you provide a coupon code, the customer will have a discount applied on all recurring charges. Charges you create through the API will not have the discount.
コードスニペット
SDKをインストール
レスポンス例

SDKをインストール((Node.js)Unirest)

OAuth2認証
クライアントID
クライアントシークレット
OAuth2認証