Update bundle OpenAPI specification

This commit is contained in:
Brandur 2017-03-14 16:50:50 -07:00
parent edac0b2c51
commit 8564d3b629
4 changed files with 361 additions and 300 deletions

View File

@ -19,7 +19,7 @@
"default_currency": "usd",
"details_submitted": false,
"display_name": "",
"email": "foo+hfdp1ea29h@example.com",
"email": "foo+ujebwko0fp@example.com",
"external_accounts": {
"data": [
@ -27,10 +27,10 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/accounts/acct_19qYWjAmUcJIthQ8/external_accounts"
"url": "/v1/accounts/acct_19xOmSA6KsQaPpsx/external_accounts"
},
"fake_account": false,
"id": "acct_19qYWjAmUcJIthQ8",
"id": "acct_19xOmSA6KsQaPpsx",
"legal_entity": {
"additional_owners": null,
"address": {
@ -138,11 +138,11 @@
"default_currency": "usd",
"details_submitted": false,
"display_name": "",
"email": "foo+hfdp1ea29h@example.com",
"email": "foo+ujebwko0fp@example.com",
"external_accounts": {
},
"fake_account": false,
"id": "acct_19qYWjAmUcJIthQ8",
"id": "acct_19xOmSA6KsQaPpsx",
"keys": {
},
"legal_entity": {
@ -177,8 +177,8 @@
"alipay_account": {
"created": 1234567890,
"customer": "",
"fingerprint": "wEUjqjvF4BeRenzq",
"id": "aliacc_19qYWoAmUcJIthQ86rdK7f78",
"fingerprint": "NmrPSTwAXOffguOu",
"id": "aliacc_19xOmZA6KsQaPpsx8SQGAn0E",
"livemode": false,
"metadata": {
},
@ -192,7 +192,7 @@
"apple_pay_domain": {
"created": 1234567890,
"domain_name": "example.com",
"id": "apwc_19qYWoAmUcJIthQ8aaWwMxUd",
"id": "apwc_19xOmYA6KsQaPpsxDX3zqwLL",
"livemode": true,
"object": "apple_pay_domain"
},
@ -233,17 +233,17 @@
"fee_details": [
],
"id": "txn_19qYWoAmUcJIthQ8nkS84OrS",
"id": "txn_19xOmYA6KsQaPpsxgSCbKQ3d",
"net": 100,
"object": "balance_transaction",
"source": "ch_19qYWoAmUcJIthQ8bXdOlg7i",
"source": "ch_19xOmYA6KsQaPpsxRpMRzREK",
"sourced_transfers": {
},
"status": "pending",
"type": "charge"
},
"bank_account": {
"account": "acct_19qYWjAmUcJIthQ8",
"account": "acct_19xOmSA6KsQaPpsx",
"account_holder_name": "Jane Austen",
"account_holder_type": "individual",
"address_city": "",
@ -259,8 +259,8 @@
"customer": "",
"customer_reference": "",
"default_for_currency": false,
"fingerprint": "Uv372FI5KdaHdZhl",
"id": "ba_19qYWoAmUcJIthQ8yfohLr7y",
"fingerprint": "rhUqyC2EcjMewT6o",
"id": "ba_19xOmZA6KsQaPpsx7DTyLvtT",
"last4": "6789",
"metadata": {
},
@ -283,7 +283,7 @@
"description": "Receiver for John Doe",
"email": "test@example.com",
"filled": false,
"id": "btcrcv_19qYWoAmUcJIthQ8GNgZ61HT",
"id": "btcrcv_19xOmZA6KsQaPpsx8TtHgMVX",
"inbound_address": "test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1",
"livemode": false,
"metadata": {
@ -301,9 +301,9 @@
"bitcoin_amount": 1757908,
"created": 1234567890,
"currency": "usd",
"id": "btctxn_19qYWoAmUcJIthQ85oxOPgem",
"id": "btctxn_19xOmZA6KsQaPpsx5FnHoZis",
"object": "bitcoin_transaction",
"receiver": "btcrcv_19qYWoBKPgWF2WHuRAP2vIic"
"receiver": "btcrcv_19xOmZB4YnRyKoofPMbLFiZa"
},
"card": {
"3d_secure": {
@ -335,7 +335,7 @@
"fingerprint": "",
"funding": "unknown",
"google_reference": "",
"id": "card_19qYWoAmUcJIthQ8t6Dm5Ol6",
"id": "card_19xOmYA6KsQaPpsx93IwBRHM",
"iin": "",
"issuer": "",
"last4": "4242",
@ -359,7 +359,7 @@
"application_fee": "",
"application_fees_refunded": 0,
"authorization_code": "",
"balance_transaction": "txn_19qYWoAmUcJIthQ8nkS84OrS",
"balance_transaction": "txn_19xOmYA6KsQaPpsxgSCbKQ3d",
"captured": true,
"card": {
},
@ -375,7 +375,7 @@
},
"fraud_details": {
},
"id": "ch_19qYWoAmUcJIthQ8bXdOlg7i",
"id": "ch_19xOmYA6KsQaPpsxRpMRzREK",
"invoice": "",
"level3": {
},
@ -398,7 +398,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/charges/ch_19qYWoAmUcJIthQ8bXdOlg7i/refunds"
"url": "/v1/charges/ch_19xOmYA6KsQaPpsxRpMRzREK/refunds"
},
"review": "",
"shipping": {
@ -420,7 +420,7 @@
"exp_month": 8,
"exp_year": 2018,
"funding": "unknown",
"id": "card_19qYWoAmUcJIthQ8t6Dm5Ol6",
"id": "card_19xOmYA6KsQaPpsx93IwBRHM",
"last4": "4242",
"metadata": {
},
@ -514,7 +514,7 @@
"discount": {
},
"email": "",
"id": "cus_AAuLxPuOFN7Ull",
"id": "cus_AHykWO1tNrvBO2",
"livemode": false,
"metadata": {
},
@ -528,7 +528,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_AAuLxPuOFN7Ull/sources"
"url": "/v1/customers/cus_AHykWO1tNrvBO2/sources"
},
"subscription": {
},
@ -539,7 +539,7 @@
},
"customer_source": {
"customer": "",
"id": "ba_19qYWoAmUcJIthQ8yfohLr7y",
"id": "ba_19xOmZA6KsQaPpsx7DTyLvtT",
"metadata": {
},
"object": "bank_account"
@ -547,7 +547,7 @@
"discount": {
"coupon": {
"amount_off": null,
"created": 1487902190,
"created": 1489533023,
"currency": "usd",
"duration": "repeating",
"duration_in_months": 3,
@ -562,7 +562,7 @@
"times_redeemed": 0,
"valid": true
},
"customer": "cus_AAuLxPuOFN7Ull",
"customer": "cus_AHykWO1tNrvBO2",
"end": 1234567890,
"object": "discount",
"start": 1234567890,
@ -575,7 +575,7 @@
"balance_transactions": [
],
"charge": "ch_19qYWoAmUcJIthQ8bXdOlg7i",
"charge": "ch_19xOmYA6KsQaPpsxRpMRzREK",
"closed_at": 1234567890,
"created": 1234567890,
"currency": "usd",
@ -610,7 +610,7 @@
"uncategorized_text": null
},
"evidence_details": {
"due_by": 1489622399,
"due_by": 1491177599,
"has_evidence": false,
"past_due": false,
"submission_count": 0
@ -618,7 +618,7 @@
"evidence_submitted_at": [
],
"id": "dp_19qYWoAmUcJIthQ8hiQKRidU",
"id": "dp_19xOmYA6KsQaPpsxF27xl8iJ",
"is_charge_refundable": false,
"is_protected": false,
"livemode": false,
@ -636,7 +636,7 @@
"data": {
"object": {
"amount": 2000,
"created": 1487902190,
"created": 1489533023,
"currency": "usd",
"id": "gold",
"interval": "month",
@ -650,7 +650,7 @@
"trial_period_days": null
}
},
"id": "evt_19qYWpAmUcJIthQ8flpeC3A6",
"id": "evt_19xOmZA6KsQaPpsxg3PnM6Ax",
"livemode": false,
"object": "event",
"pending_webhooks": 0,
@ -659,7 +659,7 @@
"type": "plan.created"
},
"external_account_source": {
"account": "acct_19qYWjAmUcJIthQ8",
"account": "acct_19xOmSA6KsQaPpsx",
"address_city": "",
"address_line1": "",
"address_line2": "",
@ -669,8 +669,8 @@
"currency": "usd",
"customer": "",
"default_for_currency": false,
"fingerprint": "Uv372FI5KdaHdZhl",
"id": "ba_19qYWoAmUcJIthQ8yfohLr7y",
"fingerprint": "rhUqyC2EcjMewT6o",
"id": "ba_19xOmZA6KsQaPpsx7DTyLvtT",
"last4": "6789",
"metadata": {
},
@ -681,8 +681,8 @@
"balance_transaction": "",
"created": 1234567890,
"currency": "usd",
"fee": "fee_19qYWoAmUcJIthQ81JzKWcmc",
"id": "fr_AAuLnHfz4zsfMV",
"fee": "fee_19xOmZA6KsQaPpsxZCoZI7Ep",
"id": "fr_AHykVrc8RYtq3K",
"metadata": {
},
"object": "fee_refund"
@ -696,7 +696,7 @@
"charge": "",
"closed": false,
"currency": "usd",
"customer": "cus_AAuLxPuOFN7Ull",
"customer": "cus_AHykWO1tNrvBO2",
"date": 1234567890,
"description": "",
"discount": {
@ -704,7 +704,7 @@
"due_date": 1234567890,
"ending_balance": 0,
"forgiven": false,
"id": "in_19qYWoAmUcJIthQ8mMavVKyP",
"id": "in_19xOmZA6KsQaPpsxpXZEk0Jl",
"lines": {
"data": [
{
@ -712,18 +712,18 @@
"currency": "usd",
"description": null,
"discountable": true,
"id": "sub_AAuLAT8thsFpDe",
"id": "sub_AHyk2EXaU2gAEV",
"livemode": true,
"metadata": {
},
"object": "line_item",
"period": {
"end": 1492999790,
"start": 1490321390
"end": 1494803422,
"start": 1492211422
},
"plan": {
"amount": 2000,
"created": 1487902190,
"created": 1489533023,
"currency": "usd",
"id": "gold",
"interval": "month",
@ -739,13 +739,13 @@
"proration": false,
"quantity": 1,
"subscription": null,
"subscription_item": "si_19qYWoBKPgWF2WHuVSwKNUvS",
"subscription_item": "si_19xOmYB4YnRyKoofnPXr05OV",
"type": "subscription"
}
],
"object": "list",
"total_count": 1,
"url": "/v1/invoices/in_19qYWoAmUcJIthQ8mMavVKyP/lines"
"url": "/v1/invoices/in_19xOmZA6KsQaPpsxpXZEk0Jl/lines"
},
"livemode": false,
"metadata": {
@ -770,19 +770,19 @@
"invoice_item": {
"amount": 1000,
"currency": "usd",
"customer": "cus_AAuLxPuOFN7Ull",
"customer": "cus_AHykWO1tNrvBO2",
"date": 1234567890,
"description": "My First Invoice Item (created for API docs)",
"discountable": true,
"id": "ii_19qYWoAmUcJIthQ8V8c0aOsd",
"id": "ii_19xOmZA6KsQaPpsxw92LOZet",
"invoice": "",
"livemode": false,
"metadata": {
},
"object": "invoiceitem",
"period": {
"end": 1487902190,
"start": 1487902190
"end": 1489533023,
"start": 1489533023
},
"plan": {
},
@ -796,14 +796,14 @@
"currency": "usd",
"description": "My First Invoice Item (created for API docs)",
"discountable": true,
"id": "ii_19qYWoAmUcJIthQ8V8c0aOsd",
"id": "ii_19xOmZA6KsQaPpsxw92LOZet",
"livemode": false,
"metadata": {
},
"object": "line_item",
"period": {
"end": 1487902190,
"start": 1487902190
"end": 1489533023,
"start": 1489533023
},
"plan": {
},
@ -828,11 +828,11 @@
"date": 1234567890,
"delay_reason": "",
"description": "Transfer to test@example.com",
"destination": "ba_19qYWoAmUcJIthQ8qTr0A9Em",
"destination": "ba_19xOmZA6KsQaPpsxBhLhCCLJ",
"destination_payment": "",
"failure_code": "",
"failure_message": "",
"id": "tr_19qYWoAmUcJIthQ88M6TcLVT",
"id": "tr_19xOmZA6KsQaPpsxxTnirGHq",
"legacy_date": 1234567890,
"livemode": false,
"metadata": {
@ -847,7 +847,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/transfers/tr_19qYWoAmUcJIthQ88M6TcLVT/reversals"
"url": "/v1/transfers/tr_19xOmZA6KsQaPpsxxTnirGHq/reversals"
},
"reversed": false,
"source_transaction": "",
@ -872,14 +872,14 @@
"external_sku_ids": [
],
"id": "or_19qYWpAmUcJIthQ8qyjYeMOA",
"id": "or_19xOmbA6KsQaPpsxdJuNEqnx",
"items": [
{
"amount": 1500,
"currency": "usd",
"description": "T-shirt",
"object": "order_item",
"parent": "sk_19qYWpAmUcJIthQ81nFJf7oq",
"parent": "sk_19xOmbA6KsQaPpsx0niGDfiM",
"quantity": null,
"type": "sku"
}
@ -895,7 +895,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/order_returns?order=or_19qYWpAmUcJIthQ8qyjYeMOA"
"url": "/v1/order_returns?order=or_19xOmbA6KsQaPpsxdJuNEqnx"
},
"selected_shipping_method": "",
"shipping": {
@ -925,22 +925,22 @@
"amount": 1500,
"created": 1234567890,
"currency": "usd",
"id": "orret_19qYWpAmUcJIthQ87Z2XSNB7",
"id": "orret_19xOmbA6KsQaPpsxFhO0lEnm",
"items": [
{
"amount": 1500,
"currency": "usd",
"description": "T-shirt",
"object": "order_item",
"parent": "sk_19qYWpAmUcJIthQ81nFJf7oq",
"parent": "sk_19xOmbA6KsQaPpsx0niGDfiM",
"quantity": null,
"type": "sku"
}
],
"livemode": false,
"object": "order_return",
"order": "or_19qYWpAmUcJIthQ8UTxcPzrC",
"refund": "re_19qYWpAmUcJIthQ8zCfRSInM"
"order": "or_19xOmbA6KsQaPpsxcibE2Kys",
"refund": "re_19xOmbA6KsQaPpsxweFlRcU7"
},
"plan": {
"amount": 2000,
@ -958,15 +958,15 @@
"trial_period_days": 0
},
"platform_earning": {
"account": "acct_19qYWjAmUcJIthQ8",
"account": "acct_19xOmSA6KsQaPpsx",
"amount": 100,
"amount_refunded": 0,
"application": "ca_AAuLq9yGtXXwqlznUKq6kGjBvQpnZj1R",
"balance_transaction": "txn_19qYWoAmUcJIthQ8nkS84OrS",
"charge": "ch_19qYWoAmUcJIthQ8bXdOlg7i",
"application": "ca_AHykjKaDnL4KjnMmmkLzuwqk9hkgJA5M",
"balance_transaction": "txn_19xOmYA6KsQaPpsxgSCbKQ3d",
"charge": "ch_19xOmYA6KsQaPpsxRpMRzREK",
"created": 1234567890,
"currency": "usd",
"id": "fee_19qYWoAmUcJIthQ81JzKWcmc",
"id": "fee_19xOmZA6KsQaPpsxZCoZI7Ep",
"livemode": false,
"object": "application_fee",
"originating_transaction": "",
@ -978,7 +978,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/application_fees/fee_19qYWoAmUcJIthQ81JzKWcmc/refunds"
"url": "/v1/application_fees/fee_19xOmZA6KsQaPpsxZCoZI7Ep/refunds"
}
},
"product": {
@ -994,7 +994,7 @@
],
"description": "Comfortable gray cotton t-shirts",
"donation": false,
"id": "prod_AAuLwRhYxnv0sx",
"id": "prod_AHyk8gTS1wCWqa",
"images": [
],
@ -1014,7 +1014,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/skus?product=prod_AAuLwRhYxnv0sx\u0026active=true"
"url": "/v1/skus?product=prod_AHyk8gTS1wCWqa\u0026active=true"
},
"tweetable_url": "",
"updated": 1234567890,
@ -1023,13 +1023,13 @@
"refund": {
"amount": 100,
"balance_transaction": "",
"charge": "ch_19qYWoAmUcJIthQ8bXdOlg7i",
"charge": "ch_19xOmYA6KsQaPpsxRpMRzREK",
"created": 1234567890,
"currency": "usd",
"description": "",
"fee_balance_transactions": {
},
"id": "re_19qYWoAmUcJIthQ8cKkdY9yt",
"id": "re_19xOmYA6KsQaPpsxnI34WZGS",
"metadata": {
},
"object": "refund",
@ -1046,7 +1046,7 @@
},
"created": 1234567890,
"currency": "usd",
"id": "sku_AAuLi9h04wg7cg",
"id": "sku_AHyktKapJTzgmX",
"image": "",
"inventory": {
"quantity": 50,
@ -1060,7 +1060,7 @@
"package_dimensions": {
},
"price": 1500,
"product": "prod_AAuLwRhYxnv0sx",
"product": "prod_AHyk8gTS1wCWqa",
"updated": 1234567890
},
"source": {
@ -1072,7 +1072,7 @@
"currency": "",
"customer": "",
"flow": "",
"id": "card_19qYWoAmUcJIthQ8t6Dm5Ol6",
"id": "card_19xOmYA6KsQaPpsx93IwBRHM",
"livemode": false,
"metadata": {
},
@ -1097,21 +1097,21 @@
"created": 1234567890,
"current_period_end": 1234567890,
"current_period_start": 1234567890,
"customer": "cus_AAuLOB7WALx4Zo",
"customer": "cus_AHykJG3Ru2BgKh",
"days_until_due": 0,
"discount": {
},
"ended_at": 1234567890,
"id": "sub_AAuLAT8thsFpDe",
"id": "sub_AHyk2EXaU2gAEV",
"items": {
"data": [
{
"created": 1487902191,
"id": "si_19qYWoBKPgWF2WHuVSwKNUvS",
"created": 1489533023,
"id": "si_19xOmYB4YnRyKoofnPXr05OV",
"object": "subscription_item",
"plan": {
"amount": 2000,
"created": 1487902190,
"created": 1489533022,
"currency": "usd",
"id": "gold",
"interval": "month",
@ -1130,16 +1130,17 @@
"has_more": false,
"object": "list",
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_AAuLAT8thsFpDe"
"url": "/v1/subscription_items?subscription=sub_AHyk2EXaU2gAEV"
},
"livemode": false,
"max_occurrences": 0,
"metadata": {
},
"object": "subscription",
"on_behalf_of": "",
"plan": {
"amount": 2000,
"created": 1487902190,
"created": 1489533022,
"currency": "usd",
"id": "gold",
"interval": "month",
@ -1161,12 +1162,12 @@
"trial_start": 1234567890
},
"subscription_item": {
"created": 1487902191,
"id": "si_19qYWoBKPgWF2WHuFvY9YdCi",
"created": 1489533023,
"id": "si_19xOmZB4YnRyKoofmmqQD542",
"object": "subscription_item",
"plan": {
"amount": 2000,
"created": 1487902190,
"created": 1489533022,
"currency": "usd",
"id": "gold",
"interval": "month",
@ -1201,7 +1202,7 @@
"exp_month": 8,
"exp_year": 2018,
"funding": "unknown",
"id": "card_19qYWoAmUcJIthQ8yFmDKOnd",
"id": "card_19xOmZA6KsQaPpsx1TPW9v1Z",
"last4": "4242",
"metadata": {
},
@ -1211,10 +1212,10 @@
},
"created": 1234567890,
"currency": "usd",
"id": "tdsrc_AAuLnCzSLJVLB4",
"id": "tdsrc_AHyk0Ny8jTjJoy",
"livemode": false,
"object": "three_d_secure",
"redirect_url": "http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_AAuLnCzSLJVLB4",
"redirect_url": "http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_AHyk0Ny8jTjJoy",
"status": "redirect_pending"
},
"token": {
@ -1240,7 +1241,7 @@
"exp_month": 8,
"exp_year": 2018,
"funding": "unknown",
"id": "card_19qYWoAmUcJIthQ8yFmDKOnd",
"id": "card_19xOmZA6KsQaPpsx1TPW9v1Z",
"last4": "4242",
"metadata": {
},
@ -1252,7 +1253,7 @@
"created": 1234567890,
"description": "",
"email": "",
"id": "tok_19qYWoAmUcJIthQ8xAwoDoXA",
"id": "tok_19xOmZA6KsQaPpsxwCla8HhZ",
"livemode": false,
"object": "token",
"type": "card",
@ -1262,12 +1263,12 @@
"transfer": {
"amount": 1100,
"amount_reversed": 0,
"balance_transaction": "txn_19qYWoAmUcJIthQ8nkS84OrS",
"balance_transaction": "txn_19xOmYA6KsQaPpsxgSCbKQ3d",
"created": 1234567890,
"currency": "usd",
"destination": "ba_19qYWoAmUcJIthQ8qTr0A9Em",
"destination": "ba_19xOmZA6KsQaPpsxBhLhCCLJ",
"destination_payment": "",
"id": "tr_19qYWoAmUcJIthQ88M6TcLVT",
"id": "tr_19xOmZA6KsQaPpsxxTnirGHq",
"livemode": false,
"metadata": {
},
@ -1279,7 +1280,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/transfers/tr_19qYWoAmUcJIthQ88M6TcLVT/reversals"
"url": "/v1/transfers/tr_19xOmZA6KsQaPpsxxTnirGHq/reversals"
},
"reversed": false,
"transfer_group": ""
@ -1300,7 +1301,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/recipients/rp_19qYWoAmUcJIthQ8Xx4vHz7G/cards"
"url": "/v1/recipients/rp_19xOmZA6KsQaPpsxz5JlUIpQ/cards"
},
"country": "",
"created": 1234567890,
@ -1310,7 +1311,7 @@
"dob_month": "",
"dob_year": "",
"email": "test@example.com",
"id": "rp_19qYWoAmUcJIthQ8Xx4vHz7G",
"id": "rp_19xOmZA6KsQaPpsxz5JlUIpQ",
"livemode": false,
"metadata": {
},
@ -1327,11 +1328,11 @@
"balance_transaction": "",
"created": 1234567890,
"currency": "usd",
"id": "trr_19qYWoAmUcJIthQ8aCB1cCjt",
"id": "trr_19xOmZA6KsQaPpsxg8vF5JSH",
"metadata": {
},
"object": "transfer_reversal",
"transfer": "tr_19qYWoAmUcJIthQ88M6TcLVT"
"transfer": "tr_19xOmZA6KsQaPpsxxTnirGHq"
},
"upcoming_invoice": {
"amount_due": 0,
@ -1342,7 +1343,7 @@
"charge": "",
"closed": false,
"currency": "usd",
"customer": "cus_AAuLxPuOFN7Ull",
"customer": "cus_AHykWO1tNrvBO2",
"date": 1234567890,
"description": "",
"discount": {
@ -1357,7 +1358,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/invoices/in_19qYWoAmUcJIthQ8mMavVKyP/lines"
"url": "/v1/invoices/in_19xOmZA6KsQaPpsxpXZEk0Jl/lines"
},
"livemode": false,
"metadata": {

View File

@ -15,15 +15,15 @@ account:
default_currency: usd
details_submitted: false
display_name: ''
email: foo+hfdp1ea29h@example.com
email: foo+ujebwko0fp@example.com
external_accounts:
data: []
has_more: false
object: list
total_count: 0
url: "/v1/accounts/acct_19qYWjAmUcJIthQ8/external_accounts"
url: "/v1/accounts/acct_19xOmSA6KsQaPpsx/external_accounts"
fake_account: false
id: acct_19qYWjAmUcJIthQ8
id: acct_19xOmSA6KsQaPpsx
legal_entity:
additional_owners:
address:
@ -113,10 +113,10 @@ account_with_keys:
default_currency: usd
details_submitted: false
display_name: ''
email: foo+hfdp1ea29h@example.com
email: foo+ujebwko0fp@example.com
external_accounts: {}
fake_account: false
id: acct_19qYWjAmUcJIthQ8
id: acct_19xOmSA6KsQaPpsx
keys: {}
legal_entity: {}
light: false
@ -141,8 +141,8 @@ account_with_keys:
alipay_account:
created: 1234567890
customer: ''
fingerprint: wEUjqjvF4BeRenzq
id: aliacc_19qYWoAmUcJIthQ86rdK7f78
fingerprint: NmrPSTwAXOffguOu
id: aliacc_19xOmZA6KsQaPpsx8SQGAn0E
livemode: false
metadata: {}
object: alipay_account
@ -154,7 +154,7 @@ alipay_account:
apple_pay_domain:
created: 1234567890
domain_name: example.com
id: apwc_19qYWoAmUcJIthQ8aaWwMxUd
id: apwc_19xOmYA6KsQaPpsxDX3zqwLL
livemode: true
object: apple_pay_domain
balance:
@ -180,15 +180,15 @@ balance_transaction:
description: ''
fee: 0
fee_details: []
id: txn_19qYWoAmUcJIthQ8nkS84OrS
id: txn_19xOmYA6KsQaPpsxgSCbKQ3d
net: 100
object: balance_transaction
source: ch_19qYWoAmUcJIthQ8bXdOlg7i
source: ch_19xOmYA6KsQaPpsxRpMRzREK
sourced_transfers: {}
status: pending
type: charge
bank_account:
account: acct_19qYWjAmUcJIthQ8
account: acct_19xOmSA6KsQaPpsx
account_holder_name: Jane Austen
account_holder_type: individual
address_city: ''
@ -204,8 +204,8 @@ bank_account:
customer: ''
customer_reference: ''
default_for_currency: false
fingerprint: Uv372FI5KdaHdZhl
id: ba_19qYWoAmUcJIthQ8yfohLr7y
fingerprint: rhUqyC2EcjMewT6o
id: ba_19xOmZA6KsQaPpsx7DTyLvtT
last4: '6789'
metadata: {}
object: bank_account
@ -226,7 +226,7 @@ bitcoin_receiver:
description: Receiver for John Doe
email: test@example.com
filled: false
id: btcrcv_19qYWoAmUcJIthQ8GNgZ61HT
id: btcrcv_19xOmZA6KsQaPpsx8TtHgMVX
inbound_address: test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1
livemode: false
metadata: {}
@ -241,9 +241,9 @@ bitcoin_transaction:
bitcoin_amount: 1757908
created: 1234567890
currency: usd
id: btctxn_19qYWoAmUcJIthQ85oxOPgem
id: btctxn_19xOmZA6KsQaPpsx5FnHoZis
object: bitcoin_transaction
receiver: btcrcv_19qYWoBKPgWF2WHuRAP2vIic
receiver: btcrcv_19xOmZB4YnRyKoofPMbLFiZa
card:
3d_secure: {}
account: ''
@ -271,7 +271,7 @@ card:
fingerprint: ''
funding: unknown
google_reference: ''
id: card_19qYWoAmUcJIthQ8t6Dm5Ol6
id: card_19xOmYA6KsQaPpsx93IwBRHM
iin: ''
issuer: ''
last4: '4242'
@ -291,7 +291,7 @@ charge:
application_fee: ''
application_fees_refunded: 0
authorization_code: ''
balance_transaction: txn_19qYWoAmUcJIthQ8nkS84OrS
balance_transaction: txn_19xOmYA6KsQaPpsxgSCbKQ3d
captured: true
card: {}
created: 1234567890
@ -304,7 +304,7 @@ charge:
failure_message: ''
fee_balance_transactions: {}
fraud_details: {}
id: ch_19qYWoAmUcJIthQ8bXdOlg7i
id: ch_19xOmYA6KsQaPpsxRpMRzREK
invoice: ''
level3: {}
livemode: false
@ -322,7 +322,7 @@ charge:
has_more: false
object: list
total_count: 0
url: "/v1/charges/ch_19qYWoAmUcJIthQ8bXdOlg7i/refunds"
url: "/v1/charges/ch_19xOmYA6KsQaPpsxRpMRzREK/refunds"
review: ''
shipping: {}
source:
@ -342,7 +342,7 @@ charge:
exp_month: 8
exp_year: 2018
funding: unknown
id: card_19qYWoAmUcJIthQ8t6Dm5Ol6
id: card_19xOmYA6KsQaPpsx93IwBRHM
last4: '4242'
metadata: {}
name:
@ -409,7 +409,7 @@ customer:
description: ''
discount: {}
email: ''
id: cus_AAuLxPuOFN7Ull
id: cus_AHykWO1tNrvBO2
livemode: false
metadata: {}
object: customer
@ -419,19 +419,19 @@ customer:
has_more: false
object: list
total_count: 0
url: "/v1/customers/cus_AAuLxPuOFN7Ull/sources"
url: "/v1/customers/cus_AHykWO1tNrvBO2/sources"
subscription: {}
subscriptions: {}
trust: {}
customer_source:
customer: ''
id: ba_19qYWoAmUcJIthQ8yfohLr7y
id: ba_19xOmZA6KsQaPpsx7DTyLvtT
metadata: {}
object: bank_account
discount:
coupon:
amount_off:
created: 1487902190
created: 1489533023
currency: usd
duration: repeating
duration_in_months: 3
@ -444,7 +444,7 @@ discount:
redeem_by:
times_redeemed: 0
valid: true
customer: cus_AAuLxPuOFN7Ull
customer: cus_AHykWO1tNrvBO2
end: 1234567890
object: discount
start: 1234567890
@ -454,7 +454,7 @@ dispute:
amount: 1000
balance_transaction: ''
balance_transactions: []
charge: ch_19qYWoAmUcJIthQ8bXdOlg7i
charge: ch_19xOmYA6KsQaPpsxRpMRzREK
closed_at: 1234567890
created: 1234567890
currency: usd
@ -488,12 +488,12 @@ dispute:
uncategorized_file:
uncategorized_text:
evidence_details:
due_by: 1489622399
due_by: 1491177599
has_evidence: false
past_due: false
submission_count: 0
evidence_submitted_at: []
id: dp_19qYWoAmUcJIthQ8hiQKRidU
id: dp_19xOmYA6KsQaPpsxF27xl8iJ
is_charge_refundable: false
is_protected: false
livemode: false
@ -509,7 +509,7 @@ event:
data:
object:
amount: 2000
created: 1487902190
created: 1489533023
currency: usd
id: gold
interval: month
@ -520,7 +520,7 @@ event:
object: plan
statement_descriptor:
trial_period_days:
id: evt_19qYWpAmUcJIthQ8flpeC3A6
id: evt_19xOmZA6KsQaPpsxg3PnM6Ax
livemode: false
object: event
pending_webhooks: 0
@ -528,7 +528,7 @@ event:
request: ''
type: plan.created
external_account_source:
account: acct_19qYWjAmUcJIthQ8
account: acct_19xOmSA6KsQaPpsx
address_city: ''
address_line1: ''
address_line2: ''
@ -538,8 +538,8 @@ external_account_source:
currency: usd
customer: ''
default_for_currency: false
fingerprint: Uv372FI5KdaHdZhl
id: ba_19qYWoAmUcJIthQ8yfohLr7y
fingerprint: rhUqyC2EcjMewT6o
id: ba_19xOmZA6KsQaPpsx7DTyLvtT
last4: '6789'
metadata: {}
object: bank_account
@ -548,8 +548,8 @@ fee_refund:
balance_transaction: ''
created: 1234567890
currency: usd
fee: fee_19qYWoAmUcJIthQ81JzKWcmc
id: fr_AAuLnHfz4zsfMV
fee: fee_19xOmZA6KsQaPpsxZCoZI7Ep
id: fr_AHykVrc8RYtq3K
metadata: {}
object: fee_refund
invoice:
@ -561,30 +561,30 @@ invoice:
charge: ''
closed: false
currency: usd
customer: cus_AAuLxPuOFN7Ull
customer: cus_AHykWO1tNrvBO2
date: 1234567890
description: ''
discount: {}
due_date: 1234567890
ending_balance: 0
forgiven: false
id: in_19qYWoAmUcJIthQ8mMavVKyP
id: in_19xOmZA6KsQaPpsxpXZEk0Jl
lines:
data:
- amount: 2000
currency: usd
description:
discountable: true
id: sub_AAuLAT8thsFpDe
id: sub_AHyk2EXaU2gAEV
livemode: true
metadata: {}
object: line_item
period:
end: 1492999790
start: 1490321390
end: 1494803422
start: 1492211422
plan:
amount: 2000
created: 1487902190
created: 1489533023
currency: usd
id: gold
interval: month
@ -598,11 +598,11 @@ invoice:
proration: false
quantity: 1
subscription:
subscription_item: si_19qYWoBKPgWF2WHuVSwKNUvS
subscription_item: si_19xOmYB4YnRyKoofnPXr05OV
type: subscription
object: list
total_count: 1
url: "/v1/invoices/in_19qYWoAmUcJIthQ8mMavVKyP/lines"
url: "/v1/invoices/in_19xOmZA6KsQaPpsxpXZEk0Jl/lines"
livemode: false
metadata: {}
next_payment_attempt: 1234567890
@ -624,18 +624,18 @@ invoice:
invoice_item:
amount: 1000
currency: usd
customer: cus_AAuLxPuOFN7Ull
customer: cus_AHykWO1tNrvBO2
date: 1234567890
description: My First Invoice Item (created for API docs)
discountable: true
id: ii_19qYWoAmUcJIthQ8V8c0aOsd
id: ii_19xOmZA6KsQaPpsxw92LOZet
invoice: ''
livemode: false
metadata: {}
object: invoiceitem
period:
end: 1487902190
start: 1487902190
end: 1489533023
start: 1489533023
plan: {}
proration: false
quantity: 0
@ -646,13 +646,13 @@ invoice_line_item:
currency: usd
description: My First Invoice Item (created for API docs)
discountable: true
id: ii_19qYWoAmUcJIthQ8V8c0aOsd
id: ii_19xOmZA6KsQaPpsxw92LOZet
livemode: false
metadata: {}
object: line_item
period:
end: 1487902190
start: 1487902190
end: 1489533023
start: 1489533023
plan: {}
proration: false
quantity: 0
@ -672,11 +672,11 @@ legacy_transfer:
date: 1234567890
delay_reason: ''
description: Transfer to test@example.com
destination: ba_19qYWoAmUcJIthQ8qTr0A9Em
destination: ba_19xOmZA6KsQaPpsxBhLhCCLJ
destination_payment: ''
failure_code: ''
failure_message: ''
id: tr_19qYWoAmUcJIthQ88M6TcLVT
id: tr_19xOmZA6KsQaPpsxxTnirGHq
legacy_date: 1234567890
livemode: false
metadata: {}
@ -688,7 +688,7 @@ legacy_transfer:
has_more: false
object: list
total_count: 0
url: "/v1/transfers/tr_19qYWoAmUcJIthQ88M6TcLVT/reversals"
url: "/v1/transfers/tr_19xOmZA6KsQaPpsxxTnirGHq/reversals"
reversed: false
source_transaction: ''
source_type: card
@ -709,13 +709,13 @@ order:
email: ''
external_coupon_code: ''
external_sku_ids: []
id: or_19qYWpAmUcJIthQ8qyjYeMOA
id: or_19xOmbA6KsQaPpsxdJuNEqnx
items:
- amount: 1500
currency: usd
description: T-shirt
object: order_item
parent: sk_19qYWpAmUcJIthQ81nFJf7oq
parent: sk_19xOmbA6KsQaPpsx0niGDfiM
quantity:
type: sku
livemode: false
@ -726,7 +726,7 @@ order:
has_more: false
object: list
total_count: 0
url: "/v1/order_returns?order=or_19qYWpAmUcJIthQ8qyjYeMOA"
url: "/v1/order_returns?order=or_19xOmbA6KsQaPpsxdJuNEqnx"
selected_shipping_method: ''
shipping:
address:
@ -750,19 +750,19 @@ order_return:
amount: 1500
created: 1234567890
currency: usd
id: orret_19qYWpAmUcJIthQ87Z2XSNB7
id: orret_19xOmbA6KsQaPpsxFhO0lEnm
items:
- amount: 1500
currency: usd
description: T-shirt
object: order_item
parent: sk_19qYWpAmUcJIthQ81nFJf7oq
parent: sk_19xOmbA6KsQaPpsx0niGDfiM
quantity:
type: sku
livemode: false
object: order_return
order: or_19qYWpAmUcJIthQ8UTxcPzrC
refund: re_19qYWpAmUcJIthQ8zCfRSInM
order: or_19xOmbA6KsQaPpsxcibE2Kys
refund: re_19xOmbA6KsQaPpsxweFlRcU7
plan:
amount: 2000
created: 1234567890
@ -777,15 +777,15 @@ plan:
statement_descriptor: ''
trial_period_days: 0
platform_earning:
account: acct_19qYWjAmUcJIthQ8
account: acct_19xOmSA6KsQaPpsx
amount: 100
amount_refunded: 0
application: ca_AAuLq9yGtXXwqlznUKq6kGjBvQpnZj1R
balance_transaction: txn_19qYWoAmUcJIthQ8nkS84OrS
charge: ch_19qYWoAmUcJIthQ8bXdOlg7i
application: ca_AHykjKaDnL4KjnMmmkLzuwqk9hkgJA5M
balance_transaction: txn_19xOmYA6KsQaPpsxgSCbKQ3d
charge: ch_19xOmYA6KsQaPpsxRpMRzREK
created: 1234567890
currency: usd
id: fee_19qYWoAmUcJIthQ81JzKWcmc
id: fee_19xOmZA6KsQaPpsxZCoZI7Ep
livemode: false
object: application_fee
originating_transaction: ''
@ -795,7 +795,7 @@ platform_earning:
has_more: false
object: list
total_count: 0
url: "/v1/application_fees/fee_19qYWoAmUcJIthQ81JzKWcmc/refunds"
url: "/v1/application_fees/fee_19xOmZA6KsQaPpsxZCoZI7Ep/refunds"
product:
active: true
attributes:
@ -806,7 +806,7 @@ product:
deactivate_on: []
description: Comfortable gray cotton t-shirts
donation: false
id: prod_AAuLwRhYxnv0sx
id: prod_AHyk8gTS1wCWqa
images: []
livemode: false
metadata: {}
@ -820,19 +820,19 @@ product:
has_more: false
object: list
total_count: 0
url: "/v1/skus?product=prod_AAuLwRhYxnv0sx&active=true"
url: "/v1/skus?product=prod_AHyk8gTS1wCWqa&active=true"
tweetable_url: ''
updated: 1234567890
url: ''
refund:
amount: 100
balance_transaction: ''
charge: ch_19qYWoAmUcJIthQ8bXdOlg7i
charge: ch_19xOmYA6KsQaPpsxRpMRzREK
created: 1234567890
currency: usd
description: ''
fee_balance_transactions: {}
id: re_19qYWoAmUcJIthQ8cKkdY9yt
id: re_19xOmYA6KsQaPpsxnI34WZGS
metadata: {}
object: refund
reason: ''
@ -846,7 +846,7 @@ sku:
size: Medium
created: 1234567890
currency: usd
id: sku_AAuLi9h04wg7cg
id: sku_AHyktKapJTzgmX
image: ''
inventory:
quantity: 50
@ -857,7 +857,7 @@ sku:
object: sku
package_dimensions: {}
price: 1500
product: prod_AAuLwRhYxnv0sx
product: prod_AHyk8gTS1wCWqa
updated: 1234567890
source:
amount: 0
@ -867,7 +867,7 @@ source:
currency: ''
customer: ''
flow: ''
id: card_19qYWoAmUcJIthQ8t6Dm5Ol6
id: card_19xOmYA6KsQaPpsx93IwBRHM
livemode: false
metadata: {}
object: card
@ -887,19 +887,19 @@ subscription:
created: 1234567890
current_period_end: 1234567890
current_period_start: 1234567890
customer: cus_AAuLOB7WALx4Zo
customer: cus_AHykJG3Ru2BgKh
days_until_due: 0
discount: {}
ended_at: 1234567890
id: sub_AAuLAT8thsFpDe
id: sub_AHyk2EXaU2gAEV
items:
data:
- created: 1487902191
id: si_19qYWoBKPgWF2WHuVSwKNUvS
- created: 1489533023
id: si_19xOmYB4YnRyKoofnPXr05OV
object: subscription_item
plan:
amount: 2000
created: 1487902190
created: 1489533022
currency: usd
id: gold
interval: month
@ -914,14 +914,15 @@ subscription:
has_more: false
object: list
total_count: 1
url: "/v1/subscription_items?subscription=sub_AAuLAT8thsFpDe"
url: "/v1/subscription_items?subscription=sub_AHyk2EXaU2gAEV"
livemode: false
max_occurrences: 0
metadata: {}
object: subscription
on_behalf_of: ''
plan:
amount: 2000
created: 1487902190
created: 1489533022
currency: usd
id: gold
interval: month
@ -940,12 +941,12 @@ subscription:
trial_end: 1234567890
trial_start: 1234567890
subscription_item:
created: 1487902191
id: si_19qYWoBKPgWF2WHuFvY9YdCi
created: 1489533023
id: si_19xOmZB4YnRyKoofmmqQD542
object: subscription_item
plan:
amount: 2000
created: 1487902190
created: 1489533022
currency: usd
id: gold
interval: month
@ -977,7 +978,7 @@ three_d_secure:
exp_month: 8
exp_year: 2018
funding: unknown
id: card_19qYWoAmUcJIthQ8yFmDKOnd
id: card_19xOmZA6KsQaPpsx1TPW9v1Z
last4: '4242'
metadata: {}
name:
@ -985,10 +986,10 @@ three_d_secure:
tokenization_method:
created: 1234567890
currency: usd
id: tdsrc_AAuLnCzSLJVLB4
id: tdsrc_AHyk0Ny8jTjJoy
livemode: false
object: three_d_secure
redirect_url: http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_AAuLnCzSLJVLB4
redirect_url: http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_AHyk0Ny8jTjJoy
status: redirect_pending
token:
account_details: {}
@ -1010,7 +1011,7 @@ token:
exp_month: 8
exp_year: 2018
funding: unknown
id: card_19qYWoAmUcJIthQ8yFmDKOnd
id: card_19xOmZA6KsQaPpsx1TPW9v1Z
last4: '4242'
metadata: {}
name:
@ -1020,7 +1021,7 @@ token:
created: 1234567890
description: ''
email: ''
id: tok_19qYWoAmUcJIthQ8xAwoDoXA
id: tok_19xOmZA6KsQaPpsxwCla8HhZ
livemode: false
object: token
type: card
@ -1029,12 +1030,12 @@ token:
transfer:
amount: 1100
amount_reversed: 0
balance_transaction: txn_19qYWoAmUcJIthQ8nkS84OrS
balance_transaction: txn_19xOmYA6KsQaPpsxgSCbKQ3d
created: 1234567890
currency: usd
destination: ba_19qYWoAmUcJIthQ8qTr0A9Em
destination: ba_19xOmZA6KsQaPpsxBhLhCCLJ
destination_payment: ''
id: tr_19qYWoAmUcJIthQ88M6TcLVT
id: tr_19xOmZA6KsQaPpsxxTnirGHq
livemode: false
metadata: {}
object: transfer
@ -1043,7 +1044,7 @@ transfer:
has_more: false
object: list
total_count: 0
url: "/v1/transfers/tr_19qYWoAmUcJIthQ88M6TcLVT/reversals"
url: "/v1/transfers/tr_19xOmZA6KsQaPpsxxTnirGHq/reversals"
reversed: false
transfer_group: ''
transfer_recipient:
@ -1059,7 +1060,7 @@ transfer_recipient:
has_more: false
object: list
total_count: 0
url: "/v1/recipients/rp_19qYWoAmUcJIthQ8Xx4vHz7G/cards"
url: "/v1/recipients/rp_19xOmZA6KsQaPpsxz5JlUIpQ/cards"
country: ''
created: 1234567890
default_card: ''
@ -1068,7 +1069,7 @@ transfer_recipient:
dob_month: ''
dob_year: ''
email: test@example.com
id: rp_19qYWoAmUcJIthQ8Xx4vHz7G
id: rp_19xOmZA6KsQaPpsxz5JlUIpQ
livemode: false
metadata: {}
migrated_to: ''
@ -1083,10 +1084,10 @@ transfer_reversal:
balance_transaction: ''
created: 1234567890
currency: usd
id: trr_19qYWoAmUcJIthQ8aCB1cCjt
id: trr_19xOmZA6KsQaPpsxg8vF5JSH
metadata: {}
object: transfer_reversal
transfer: tr_19qYWoAmUcJIthQ88M6TcLVT
transfer: tr_19xOmZA6KsQaPpsxxTnirGHq
upcoming_invoice:
amount_due: 0
application_fee: 0
@ -1096,7 +1097,7 @@ upcoming_invoice:
charge: ''
closed: false
currency: usd
customer: cus_AAuLxPuOFN7Ull
customer: cus_AHykWO1tNrvBO2
date: 1234567890
description: ''
discount: {}
@ -1108,7 +1109,7 @@ upcoming_invoice:
has_more: false
object: list
total_count: 0
url: "/v1/invoices/in_19qYWoAmUcJIthQ8mMavVKyP/lines"
url: "/v1/invoices/in_19xOmZA6KsQaPpsxpXZEk0Jl/lines"
livemode: false
metadata: {}
next_payment_attempt: 1234567890

View File

@ -551,7 +551,7 @@
"address": {
"properties": {
"city": {
"description": "City/Suburb/Town/Village.",
"description": "City/District/Suburb/Town/Village.",
"type": [
"string"
]
@ -581,7 +581,7 @@
]
},
"state": {
"description": "State/Province/County.",
"description": "State/County/Province/Region.",
"type": [
"string"
]
@ -2618,13 +2618,13 @@
]
},
"reason": {
"description": "Reason given by cardholder for dispute. Possible values are `duplicate`, `fraudulent`, `subscription_canceled`, `product_unacceptable`, `product_not_received`, `unrecognized`, `credit_not_processed`, `general`, `incorrect_account_details`, `insufficient_funds`, `bank_cannot_process`, `debit_not_authorized`, `customer_initiated`. Read more about [dispute reasons](https://stripe.com/help/disputes#reasons).",
"description": "Reason given by cardholder for dispute. Possible values are `duplicate`, `fraudulent`, `subscription_canceled`, `product_unacceptable`, `product_not_received`, `unrecognized`, `credit_not_processed`, `general`, `incorrect_account_details`, `insufficient_funds`, `bank_cannot_process`, `debit_not_authorized`, or `customer_initiated`. Read more about [dispute reasons](https://stripe.com/help/disputes#reasons).",
"type": [
"string"
]
},
"status": {
"description": "Current status of dispute. Possible values are `warning_needs_response`, `warning_under_review`, `warning_closed`, `needs_response`, `under_review`, `charge_refunded`, `won`, `lost`.",
"description": "Current status of dispute. Possible values are `warning_needs_response`, `warning_under_review`, `warning_closed`, `needs_response`, `under_review`, `charge_refunded`, `won`, or `lost`.",
"type": [
"string"
]
@ -3185,7 +3185,7 @@
"object",
"url"
],
"title": "InvoiceLines",
"title": "InvoiceLinesList",
"type": [
"object"
]
@ -3962,7 +3962,7 @@
"legal_entity_address": {
"properties": {
"city": {
"description": "City/Suburb/Town/Village.",
"description": "City/District/Suburb/Town/Village.",
"type": [
"string"
]
@ -3992,7 +3992,7 @@
]
},
"state": {
"description": "State/Province/County.",
"description": "State/County/Province/Region.",
"type": [
"string"
]
@ -5387,7 +5387,7 @@
"$ref": "#/definitions/source_redirect_flow"
},
"status": {
"description": "The status of the charge. `status` is one of `pending`, `chargeable`, `consumed`, `canceled`. Only `chargeable` source objects can be used to create a charge.",
"description": "The status of the charge, one of `canceled`, `chargeable`, `consumed`, `failed`, or `pending`. Only `chargeable` source objects can be used to create a charge.",
"type": [
"string"
]
@ -5609,7 +5609,7 @@
]
},
"application_fee_percent": {
"description": "A positive decimal that represents the fee percentage of the subscription invoice amount that will be transferred to the application owner's Stripe account each billing period.",
"description": "A non-negative decimal (with at most two decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account.",
"type": [
"number"
]
@ -5750,6 +5750,12 @@
"string"
]
},
"on_behalf_of": {
"description": "The account (if any) the charge was made on behalf of for charges associated with this subscription. See the Connect documentation for details.",
"type": [
"string"
]
},
"plan": {
"$ref": "#/definitions/plan"
},
@ -6953,7 +6959,7 @@
"object",
"url"
],
"title": "InvoiceLines",
"title": "InvoiceLinesList",
"type": [
"object"
]
@ -11793,6 +11799,13 @@
"object"
]
},
"on_behalf_of": {
"description": "",
"title": "on_behalf_of",
"type": [
"string"
]
},
"pay_immediately": {
"description": "",
"title": "pay_immediately",
@ -11815,7 +11828,7 @@
]
},
"source": {
"description": "The source can either be a token, like the ones returned by our [Stripe.js](/docs/stripe.js), or a dictionary containing a user's credit card details (with the options shown below).",
"description": "The source can either be a token, like the ones returned by [Elements](/docs/elements), or a dictionary containing a user's credit card details (with the options shown below).",
"title": "source",
"type": [
"object",
@ -11964,6 +11977,13 @@
"object"
]
},
"on_behalf_of": {
"description": "",
"title": "on_behalf_of",
"type": [
"string"
]
},
"pay_immediately": {
"description": "",
"title": "pay_immediately",
@ -11986,7 +12006,7 @@
]
},
"source": {
"description": "The source can either be a token, like the ones returned by our [Stripe.js](/docs/stripe.js), or a dictionary containing a user's credit card details (with the options shown below).",
"description": "The source can either be a token, like the ones returned by [Elements](/docs/elements), or a dictionary containing a user's credit card details (with the options shown below).",
"title": "source",
"type": [
"object",
@ -13476,7 +13496,7 @@
]
},
"application_fee_percent": {
"description": "A positive decimal (with at most four decimal places) between 1 and 100. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made with an OAuth key in order to set an application fee percentage. For more information, see the application fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).",
"description": "A non-negative decimal (with at most two decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made with an OAuth key in order to set an application fee percentage. For more information, see the application fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).",
"title": "application_fee_percent",
"type": [
"number"
@ -13517,6 +13537,13 @@
"object"
]
},
"on_behalf_of": {
"description": "",
"title": "on_behalf_of",
"type": [
"string"
]
},
"plan": {
"description": "The identifier of the plan to subscribe the customer to.",
"title": "plan",
@ -13546,7 +13573,7 @@
]
},
"source": {
"description": "The source can either be a token, like the ones returned by our [Stripe.js](http://127.0.0.1:6040/docs/stripe.js), or a dictionary containing a user's credit card details (with the options shown below). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer for a plan that is not free. Passing `source` will create a new source object, make it the customer default source, and delete the old customer default if one exists. If you want to add an additional source to use with subscriptions, instead use the [card creation API](http://127.0.0.1:6040/docs/api#create_card) to add the card and then the [customer update API](http://127.0.0.1:6040/docs/api#update customer) to set it as the default. Whenever you attach a card to a customer, Stripe will automatically validate the card.",
"description": "The source can either be a token, like the ones returned by [Elements](http://127.0.0.1:6040/docs/elements), or a dictionary containing a user's credit card details (with the options shown below). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer for a plan that is not free. Passing `source` will create a new source object, make it the customer default source, and delete the old customer default if one exists. If you want to add an additional source to use with subscriptions, instead use the [card creation API](http://127.0.0.1:6040/docs/api#create_card) to add the card and then the [customer update API](http://127.0.0.1:6040/docs/api#update customer) to set it as the default. Whenever you attach a card to a customer, Stripe will automatically validate the card.",
"title": "source",
"type": [
"object",
@ -13554,7 +13581,7 @@
]
},
"tax_percent": {
"description": "A positive decimal (with at most four decimal places) between 1 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period. For example, a plan which charges $10/month with a `tax_percent` of 20.0 will charge $12 per invoice.",
"description": "A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period. For example, a plan which charges $10/month with a `tax_percent` of 20.0 will charge $12 per invoice.",
"title": "tax_percent",
"type": [
"number"
@ -13673,7 +13700,7 @@
]
},
"application_fee_percent": {
"description": "A positive decimal (with at most four decimal places) between 1 and 100. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made with an OAuth key in order to set an application fee percentage. For more information, see the application fees [documentation]('/docs/connect/collecting-fees#subscriptions').",
"description": "A non-negative decimal (with at most two decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made with an OAuth key in order to set an application fee percentage. For more information, see the application fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).",
"title": "application_fee_percent",
"type": [
"number"
@ -13764,7 +13791,7 @@
]
},
"source": {
"description": "The source can either be a token, like the ones returned by our [Stripe.js](http://127.0.0.1:6040/docs/stripe.js), or a dictionary containing a user's credit card details (with the options shown below). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer for a plan that is not free. Passing `source` will create a new source object, make it the customer default source, and delete the old customer default if one exists. If you want to add an additional source to use with subscriptions, instead use the [card creation API](http://127.0.0.1:6040/docs/api#create_card) to add the card and then the [customer update API](http://127.0.0.1:6040/docs/api#update customer) to set it as the default. Whenever you attach a card to a customer, Stripe will automatically validate the card.",
"description": "The source can either be a token, like the ones returned by [Elements](http://127.0.0.1:6040/docs/elements), or a dictionary containing a user's credit card details (with the options shown below). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer for a plan that is not free. Passing `source` will create a new source object, make it the customer default source, and delete the old customer default if one exists. If you want to add an additional source to use with subscriptions, instead use the [card creation API](http://127.0.0.1:6040/docs/api#create_card) to add the card and then the [customer update API](http://127.0.0.1:6040/docs/api#update customer) to set it as the default. Whenever you attach a card to a customer, Stripe will automatically validate the card.",
"title": "source",
"type": [
"object",
@ -13772,7 +13799,7 @@
]
},
"tax_percent": {
"description": "A positive decimal (with at most four decimal places) between 1 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period. For example, a plan which charges $10/month with a `tax_percent` of 20.0 will charge $12 per invoice.",
"description": "A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period. For example, a plan which charges $10/month with a `tax_percent` of 20.0 will charge $12 per invoice.",
"title": "tax_percent",
"type": [
"number"
@ -15116,7 +15143,7 @@
"object",
"url"
],
"title": "InvoiceLines",
"title": "InvoiceLinesList",
"type": [
"object"
]
@ -15665,7 +15692,7 @@
]
},
"source": {
"description": "The source can either be a token, like the ones returned by our [Stripe.js](/docs/stripe.js), or a dictionary containing a user's credit card details (with the options shown below). Whenever you create a new card for a customer, Stripe will automatically validate the card. If no customer was attached to the order at creation, either `source` or `customer is required. Otherwise, the specified source will be charged intead of the customer attached to the order.",
"description": "The source can either be a token, like the ones returned by [Elements](/docs/elements), or a dictionary containing a user's credit card details (with the options shown below). Whenever you create a new card for a customer, Stripe will automatically validate the card. If no customer was attached to the order at creation, either `source` or `customer is required. Otherwise, the specified source will be charged intead of the customer attached to the order.",
"title": "source",
"type": [
"object",
@ -17188,7 +17215,7 @@
"schema": {
"properties": {
"card": {
"description": "The card can either be a token, like the ones returned by our [Stripe.js](/docs/stripe.js), or a dictionary containing a user's credit card details (with the options shown below). Whenever you create a new card for a recipient, Stripe will automatically validate the card.",
"description": "The card can either be a token, like the ones returned by [Elements](/docs/elements), or a dictionary containing a user's credit card details (with the options shown below). Whenever you create a new card for a recipient, Stripe will automatically validate the card.",
"title": "card",
"type": [
"object",
@ -18705,7 +18732,7 @@
]
},
"application_fee_percent": {
"description": "A positive decimal (with at most four decimal places) between 1 and 100. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made with an OAuth key in order to set an application fee percentage. For more information, see the application fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).",
"description": "A non-negative decimal (with at most two decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made with an OAuth key in order to set an application fee percentage. For more information, see the application fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).",
"title": "application_fee_percent",
"type": [
"number"
@ -18753,6 +18780,13 @@
"object"
]
},
"on_behalf_of": {
"description": "",
"title": "on_behalf_of",
"type": [
"string"
]
},
"plan": {
"description": "The identifier of the plan to subscribe the customer to.",
"title": "plan",
@ -18782,7 +18816,7 @@
]
},
"source": {
"description": "The source can either be a token, like the ones returned by our [Stripe.js](http://127.0.0.1:6040/docs/stripe.js), or a dictionary containing a user's credit card details (with the options shown below). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer for a plan that is not free. Passing `source` will create a new source object, make it the customer default source, and delete the old customer default if one exists. If you want to add an additional source to use with subscriptions, instead use the [card creation API](http://127.0.0.1:6040/docs/api#create_card) to add the card and then the [customer update API](http://127.0.0.1:6040/docs/api#update customer) to set it as the default. Whenever you attach a card to a customer, Stripe will automatically validate the card.",
"description": "The source can either be a token, like the ones returned by [Elements](http://127.0.0.1:6040/docs/elements), or a dictionary containing a user's credit card details (with the options shown below). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer for a plan that is not free. Passing `source` will create a new source object, make it the customer default source, and delete the old customer default if one exists. If you want to add an additional source to use with subscriptions, instead use the [card creation API](http://127.0.0.1:6040/docs/api#create_card) to add the card and then the [customer update API](http://127.0.0.1:6040/docs/api#update customer) to set it as the default. Whenever you attach a card to a customer, Stripe will automatically validate the card.",
"title": "source",
"type": [
"object",
@ -18790,7 +18824,7 @@
]
},
"tax_percent": {
"description": "A positive decimal (with at most four decimal places) between 1 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period. For example, a plan which charges $10/month with a `tax_percent` of 20.0 will charge $12 per invoice.",
"description": "A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period. For example, a plan which charges $10/month with a `tax_percent` of 20.0 will charge $12 per invoice.",
"title": "tax_percent",
"type": [
"number"
@ -18912,7 +18946,7 @@
]
},
"application_fee_percent": {
"description": "A positive decimal (with at most four decimal places) between 1 and 100. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made with an OAuth key in order to set an application fee percentage. For more information, see the application fees [documentation]('/docs/connect/collecting-fees#subscriptions').",
"description": "A non-negative decimal (with at most two decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made with an OAuth key in order to set an application fee percentage. For more information, see the application fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).",
"title": "application_fee_percent",
"type": [
"number"
@ -19003,7 +19037,7 @@
]
},
"source": {
"description": "The source can either be a token, like the ones returned by our [Stripe.js](http://127.0.0.1:6040/docs/stripe.js), or a dictionary containing a user's credit card details (with the options shown below). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer for a plan that is not free. Passing `source` will create a new source object, make it the customer default source, and delete the old customer default if one exists. If you want to add an additional source to use with subscriptions, instead use the [card creation API](http://127.0.0.1:6040/docs/api#create_card) to add the card and then the [customer update API](http://127.0.0.1:6040/docs/api#update customer) to set it as the default. Whenever you attach a card to a customer, Stripe will automatically validate the card.",
"description": "The source can either be a token, like the ones returned by [Elements](http://127.0.0.1:6040/docs/elements), or a dictionary containing a user's credit card details (with the options shown below). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer for a plan that is not free. Passing `source` will create a new source object, make it the customer default source, and delete the old customer default if one exists. If you want to add an additional source to use with subscriptions, instead use the [card creation API](http://127.0.0.1:6040/docs/api#create_card) to add the card and then the [customer update API](http://127.0.0.1:6040/docs/api#update customer) to set it as the default. Whenever you attach a card to a customer, Stripe will automatically validate the card.",
"title": "source",
"type": [
"object",
@ -19011,7 +19045,7 @@
]
},
"tax_percent": {
"description": "A positive decimal (with at most four decimal places) between 1 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period. For example, a plan which charges $10/month with a `tax_percent` of 20.0 will charge $12 per invoice.",
"description": "A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount each billing period. For example, a plan which charges $10/month with a `tax_percent` of 20.0 will charge $12 per invoice.",
"title": "tax_percent",
"type": [
"number"

View File

@ -425,7 +425,7 @@ definitions:
address:
properties:
city:
description: City/Suburb/Town/Village.
description: City/District/Suburb/Town/Village.
type:
- string
country:
@ -445,7 +445,7 @@ definitions:
type:
- string
state:
description: State/Province/County.
description: State/County/Province/Region.
type:
- string
title: Address
@ -2013,14 +2013,14 @@ definitions:
description: Reason given by cardholder for dispute. Possible values are `duplicate`,
`fraudulent`, `subscription_canceled`, `product_unacceptable`, `product_not_received`,
`unrecognized`, `credit_not_processed`, `general`, `incorrect_account_details`,
`insufficient_funds`, `bank_cannot_process`, `debit_not_authorized`, `customer_initiated`.
Read more about [dispute reasons](https://stripe.com/help/disputes#reasons).
`insufficient_funds`, `bank_cannot_process`, `debit_not_authorized`, or
`customer_initiated`. Read more about [dispute reasons](https://stripe.com/help/disputes#reasons).
type:
- string
status:
description: Current status of dispute. Possible values are `warning_needs_response`,
`warning_under_review`, `warning_closed`, `needs_response`, `under_review`,
`charge_refunded`, `won`, `lost`.
`charge_refunded`, `won`, or `lost`.
type:
- string
required:
@ -2456,7 +2456,7 @@ definitions:
- has_more
- object
- url
title: InvoiceLines
title: InvoiceLinesList
type:
- object
livemode:
@ -3065,7 +3065,7 @@ definitions:
legal_entity_address:
properties:
city:
description: City/Suburb/Town/Village.
description: City/District/Suburb/Town/Village.
type:
- string
country:
@ -3085,7 +3085,7 @@ definitions:
type:
- string
state:
description: State/Province/County.
description: State/County/Province/Region.
type:
- string
title: LegalEntityAddress
@ -4137,8 +4137,8 @@ definitions:
redirect:
"$ref": "#/definitions/source_redirect_flow"
status:
description: The status of the charge. `status` is one of `pending`, `chargeable`,
`consumed`, `canceled`. Only `chargeable` source objects can be used to
description: The status of the charge, one of `canceled`, `chargeable`, `consumed`,
`failed`, or `pending`. Only `chargeable` source objects can be used to
create a charge.
type:
- string
@ -4306,9 +4306,9 @@ definitions:
type:
- integer
application_fee_percent:
description: A positive decimal that represents the fee percentage of the
subscription invoice amount that will be transferred to the application
owner's Stripe account each billing period.
description: A non-negative decimal (with at most two decimal places) between
0 and 100. This represents the percentage of the subscription invoice subtotal
that will be transferred to the application owner's Stripe account.
type:
- number
billing:
@ -4422,6 +4422,11 @@ definitions:
description: ''
type:
- string
on_behalf_of:
description: The account (if any) the charge was made on behalf of for charges
associated with this subscription. See the Connect documentation for details.
type:
- string
plan:
"$ref": "#/definitions/plan"
quantity:
@ -5336,7 +5341,7 @@ definitions:
- has_more
- object
- url
title: InvoiceLines
title: InvoiceLinesList
type:
- object
livemode:
@ -9099,6 +9104,11 @@ paths:
title: metadata
type:
- object
on_behalf_of:
description: ''
title: on_behalf_of
type:
- string
pay_immediately:
description: ''
title: pay_immediately
@ -9116,8 +9126,8 @@ paths:
- object
source:
description: The source can either be a token, like the ones returned
by our [Stripe.js](/docs/stripe.js), or a dictionary containing a
user's credit card details (with the options shown below).
by [Elements](/docs/elements), or a dictionary containing a user's
credit card details (with the options shown below).
title: source
type:
- object
@ -9231,6 +9241,11 @@ paths:
title: metadata
type:
- object
on_behalf_of:
description: ''
title: on_behalf_of
type:
- string
pay_immediately:
description: ''
title: pay_immediately
@ -9248,8 +9263,8 @@ paths:
- object
source:
description: The source can either be a token, like the ones returned
by our [Stripe.js](/docs/stripe.js), or a dictionary containing a
user's credit card details (with the options shown below).
by [Elements](/docs/elements), or a dictionary containing a user's
credit card details (with the options shown below).
title: source
type:
- object
@ -10329,12 +10344,12 @@ paths:
type:
- integer
application_fee_percent:
description: A positive decimal (with at most four decimal places) between
1 and 100. This represents the percentage of the subscription invoice
subtotal that will be transferred to the application owner's Stripe
account. The request must be made with an OAuth key in order to set
an application fee percentage. For more information, see the application
fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).
description: A non-negative decimal (with at most two decimal places)
between 0 and 100. This represents the percentage of the subscription
invoice subtotal that will be transferred to the application owner's
Stripe account. The request must be made with an OAuth key in order
to set an application fee percentage. For more information, see the
application fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).
title: application_fee_percent
type:
- number
@ -10372,6 +10387,11 @@ paths:
title: metadata
type:
- object
on_behalf_of:
description: ''
title: on_behalf_of
type:
- string
plan:
description: The identifier of the plan to subscribe the customer to.
title: plan
@ -10403,7 +10423,7 @@ paths:
- boolean
source:
description: The source can either be a token, like the ones returned
by our [Stripe.js](http://127.0.0.1:6040/docs/stripe.js), or a dictionary
by [Elements](http://127.0.0.1:6040/docs/elements), or a dictionary
containing a user's credit card details (with the options shown below).
You must provide a source if the customer does not already have a
valid source attached, and you are subscribing the customer for a
@ -10419,11 +10439,11 @@ paths:
- object
- string
tax_percent:
description: A positive decimal (with at most four decimal places) between
1 and 100. This represents the percentage of the subscription invoice
subtotal that will be calculated and added as tax to the final amount
each billing period. For example, a plan which charges $10/month with
a `tax_percent` of 20.0 will charge $12 per invoice.
description: A non-negative decimal (with at most four decimal places)
between 0 and 100. This represents the percentage of the subscription
invoice subtotal that will be calculated and added as tax to the final
amount each billing period. For example, a plan which charges $10/month
with a `tax_percent` of 20.0 will charge $12 per invoice.
title: tax_percent
type:
- number
@ -10516,12 +10536,12 @@ paths:
type:
- integer
application_fee_percent:
description: A positive decimal (with at most four decimal places) between
1 and 100. This represents the percentage of the subscription invoice
subtotal that will be transferred to the application owner's Stripe
account. The request must be made with an OAuth key in order to set
an application fee percentage. For more information, see the application
fees [documentation]('/docs/connect/collecting-fees#subscriptions').
description: A non-negative decimal (with at most two decimal places)
between 0 and 100. This represents the percentage of the subscription
invoice subtotal that will be transferred to the application owner's
Stripe account. The request must be made with an OAuth key in order
to set an application fee percentage. For more information, see the
application fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).
title: application_fee_percent
type:
- number
@ -10612,7 +10632,7 @@ paths:
- boolean
source:
description: The source can either be a token, like the ones returned
by our [Stripe.js](http://127.0.0.1:6040/docs/stripe.js), or a dictionary
by [Elements](http://127.0.0.1:6040/docs/elements), or a dictionary
containing a user's credit card details (with the options shown below).
You must provide a source if the customer does not already have a
valid source attached, and you are subscribing the customer for a
@ -10628,11 +10648,11 @@ paths:
- object
- string
tax_percent:
description: A positive decimal (with at most four decimal places) between
1 and 100. This represents the percentage of the subscription invoice
subtotal that will be calculated and added as tax to the final amount
each billing period. For example, a plan which charges $10/month with
a `tax_percent` of 20.0 will charge $12 per invoice.
description: A non-negative decimal (with at most four decimal places)
between 0 and 100. This represents the percentage of the subscription
invoice subtotal that will be calculated and added as tax to the final
amount each billing period. For example, a plan which charges $10/month
with a `tax_percent` of 20.0 will charge $12 per invoice.
title: tax_percent
type:
- number
@ -11733,7 +11753,7 @@ paths:
- has_more
- object
- url
title: InvoiceLines
title: InvoiceLinesList
type:
- object
default:
@ -12169,10 +12189,10 @@ paths:
- string
source:
description: The source can either be a token, like the ones returned
by our [Stripe.js](/docs/stripe.js), or a dictionary containing a
user's credit card details (with the options shown below). Whenever
you create a new card for a customer, Stripe will automatically validate
the card. If no customer was attached to the order at creation, either
by [Elements](/docs/elements), or a dictionary containing a user's
credit card details (with the options shown below). Whenever you create
a new card for a customer, Stripe will automatically validate the
card. If no customer was attached to the order at creation, either
`source` or `customer is required. Otherwise, the specified source
will be charged intead of the customer attached to the order.
title: source
@ -13356,10 +13376,10 @@ paths:
properties:
card:
description: The card can either be a token, like the ones returned
by our [Stripe.js](/docs/stripe.js), or a dictionary containing a
user's credit card details (with the options shown below). Whenever
you create a new card for a recipient, Stripe will automatically validate
the card.
by [Elements](/docs/elements), or a dictionary containing a user's
credit card details (with the options shown below). Whenever you create
a new card for a recipient, Stripe will automatically validate the
card.
title: card
type:
- object
@ -14519,12 +14539,12 @@ paths:
type:
- integer
application_fee_percent:
description: A positive decimal (with at most four decimal places) between
1 and 100. This represents the percentage of the subscription invoice
subtotal that will be transferred to the application owner's Stripe
account. The request must be made with an OAuth key in order to set
an application fee percentage. For more information, see the application
fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).
description: A non-negative decimal (with at most two decimal places)
between 0 and 100. This represents the percentage of the subscription
invoice subtotal that will be transferred to the application owner's
Stripe account. The request must be made with an OAuth key in order
to set an application fee percentage. For more information, see the
application fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).
title: application_fee_percent
type:
- number
@ -14567,6 +14587,11 @@ paths:
title: metadata
type:
- object
on_behalf_of:
description: ''
title: on_behalf_of
type:
- string
plan:
description: The identifier of the plan to subscribe the customer to.
title: plan
@ -14598,7 +14623,7 @@ paths:
- boolean
source:
description: The source can either be a token, like the ones returned
by our [Stripe.js](http://127.0.0.1:6040/docs/stripe.js), or a dictionary
by [Elements](http://127.0.0.1:6040/docs/elements), or a dictionary
containing a user's credit card details (with the options shown below).
You must provide a source if the customer does not already have a
valid source attached, and you are subscribing the customer for a
@ -14614,11 +14639,11 @@ paths:
- object
- string
tax_percent:
description: A positive decimal (with at most four decimal places) between
1 and 100. This represents the percentage of the subscription invoice
subtotal that will be calculated and added as tax to the final amount
each billing period. For example, a plan which charges $10/month with
a `tax_percent` of 20.0 will charge $12 per invoice.
description: A non-negative decimal (with at most four decimal places)
between 0 and 100. This represents the percentage of the subscription
invoice subtotal that will be calculated and added as tax to the final
amount each billing period. For example, a plan which charges $10/month
with a `tax_percent` of 20.0 will charge $12 per invoice.
title: tax_percent
type:
- number
@ -14713,12 +14738,12 @@ paths:
type:
- integer
application_fee_percent:
description: A positive decimal (with at most four decimal places) between
1 and 100. This represents the percentage of the subscription invoice
subtotal that will be transferred to the application owner's Stripe
account. The request must be made with an OAuth key in order to set
an application fee percentage. For more information, see the application
fees [documentation]('/docs/connect/collecting-fees#subscriptions').
description: A non-negative decimal (with at most two decimal places)
between 0 and 100. This represents the percentage of the subscription
invoice subtotal that will be transferred to the application owner's
Stripe account. The request must be made with an OAuth key in order
to set an application fee percentage. For more information, see the
application fees [documentation](http://127.0.0.1:6040/docs/connect/collecting-fees#subscriptions).
title: application_fee_percent
type:
- number
@ -14809,7 +14834,7 @@ paths:
- boolean
source:
description: The source can either be a token, like the ones returned
by our [Stripe.js](http://127.0.0.1:6040/docs/stripe.js), or a dictionary
by [Elements](http://127.0.0.1:6040/docs/elements), or a dictionary
containing a user's credit card details (with the options shown below).
You must provide a source if the customer does not already have a
valid source attached, and you are subscribing the customer for a
@ -14825,11 +14850,11 @@ paths:
- object
- string
tax_percent:
description: A positive decimal (with at most four decimal places) between
1 and 100. This represents the percentage of the subscription invoice
subtotal that will be calculated and added as tax to the final amount
each billing period. For example, a plan which charges $10/month with
a `tax_percent` of 20.0 will charge $12 per invoice.
description: A non-negative decimal (with at most four decimal places)
between 0 and 100. This represents the percentage of the subscription
invoice subtotal that will be calculated and added as tax to the final
amount each billing period. For example, a plan which charges $10/month
with a `tax_percent` of 20.0 will charge $12 per invoice.
title: tax_percent
type:
- number