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
POSTcreateRefund

払い戻しを作成します。

ヘッダーパラメータ
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ
chargeIdSTRING
REQUIREDThe identifier of the charge to refund.
apiKeyCREDENTIALS
REQUIREDThe api key obtained from Stripe.
パラメータ(Option)
metadataARRAY
OPTIONALA set of key/value pairs that you can attach to a refund object. It can be useful for storing additional information about the refund in a structured format. You can unset individual keys if you POST an empty value for that key. You can clear all keys if you POST an empty value for metadata.You can unset an individual key by setting its value to null and then saving. To clear all keys, set metadata to null, then save.
amountSTRING
OPTIONALA positive integer in cents representing how much of this charge to refund. Can only refund up to the unrefunded amount remaining of the charge.
reasonSELECT
OPTIONALString indicating the reason for the refund. If set, possible values are duplicate, fraudulent, and requested_by_customer. Specifying fraudulent as the reason when you believe the charge to be fraudulent will help us improve our fraud detection algorithms.
reverseTransferSELECT
OPTIONALBoolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed for the same amount being refunded (either the entire or partial amount). A transfer can only be reversed by the application that created the charge.
refundApplicationFeeSELECT
OPTIONALBoolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Else, the application fee will be refunded with an amount proportional to the amount of the charge refunded. An application fee can only be refunded by the application that created the charge.
コードスニペット
SDKをインストール
レスポンス例

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

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