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
POSTcreateCharge

クレジットカードを請求するには、請求対象を登録します。 APIキーがテストモードの場合、カードやBitcoinレシーバなどの支払い元に実際に請求されることはありませんが、その他はすべてライブモードと同じように発生します。 (ストライプは、チャージが正常に完了したと仮定します)。

ヘッダーパラメータ
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ
amountSTRING
REQUIREDA positive integer in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a 0-decimal currency) representing how much to charge the card. The minimum amount is $0.50 US or equivalent in charge currency.
currencySTRING
REQUIRED3-letter ISO code for currency.
apiKeyCREDENTIALS
REQUIREDThe api key obtained from Stripe.
パラメータ(Option)
descriptionSTRING
OPTIONALAn arbitrary string which you can attach to a charge object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the description of the charge(s) that they are describing.
customerSTRING
OPTIONALThe ID of an existing customer that will be charged in this request.
statementDescriptorSTRING
OPTIONALAn arbitrary string to be displayed on your customer`s credit card statement. This may be up to 22 characters. As an example, if your website is RunClub and the item you`re charging for is a race ticket, you may want to specify a statement_descriptor of RunClub 5K race ticket. The statement description may not include <> characters, and will appear on your customer`s statement in capital letters. Non-ASCII characters are automatically stripped. While most banks display this information consistently, some may display it incorrectly or not at all.
receiptEmailSTRING
OPTIONALThe email address to send this charge's receipt to. The receipt will not be sent until the charge is paid. If this charge is for a customer, the email address specified here will override the customer's email address. Receipts will not be sent for test mode charges. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your email settings.
captureSELECT
OPTIONALBoolean. Whether or not to immediately capture the charge. When false, the charge issues an authorization (or pre-authorization), and will need to be captured later. Uncaptured charges expire in 7 days. For more information, see authorizing charges and settling later.
applicationFeeSTRING
OPTIONALA fee in cents that will be applied to the charge and transferred to the application owner's Stripe account. To use an application fee, the request must be made on behalf of another account, using the Stripe-Account header, an OAuth key, or the destination parameter. For more information, see the application fees documentation.
sourceSTRING
OPTIONALA payment source to be charged, such as a credit card. If you also pass a customer ID, the source must be the ID of a source belonging to the customer. Otherwise, if you do not pass a customer ID, the source you provide must either be a token, like the ones returned by Stripe.js, or a object containing a user's credit card details, with the options described below. Although not all information is required, the extra info helps prevent fraud.child attributes
コードスニペット
SDKをインストール
レスポンス例

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

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