Remove some internal/deprecated API methods

This commit is contained in:
Brandur 2017-02-13 13:22:34 -08:00
parent d917480324
commit 9bf2f67f0c
4 changed files with 256 additions and 374 deletions

View File

@ -19,7 +19,7 @@
"default_currency": "usd",
"details_submitted": false,
"display_name": "",
"email": "foo+xahqip2knz@example.com",
"email": "foo+bnklon35vv@example.com",
"external_accounts": {
"data": [
@ -27,10 +27,10 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/accounts/acct_19lmR8AkyoJwmi9Z/external_accounts"
"url": "/v1/accounts/acct_19mq3gAXZ0PAB0qu/external_accounts"
},
"fake_account": false,
"id": "acct_19lmR8AkyoJwmi9Z",
"id": "acct_19mq3gAXZ0PAB0qu",
"legal_entity": {
"additional_owners": null,
"address": {
@ -138,11 +138,11 @@
"default_currency": "usd",
"details_submitted": false,
"display_name": "",
"email": "foo+xahqip2knz@example.com",
"email": "foo+bnklon35vv@example.com",
"external_accounts": {
},
"fake_account": false,
"id": "acct_19lmR8AkyoJwmi9Z",
"id": "acct_19mq3gAXZ0PAB0qu",
"keys": {
},
"legal_entity": {
@ -177,8 +177,8 @@
"alipay_account": {
"created": 1234567890,
"customer": "",
"fingerprint": "ric4b50pizKnD08K",
"id": "aliacc_19lmRJAkyoJwmi9ZYJtLcirj",
"fingerprint": "b6kmmo2KDWmL6NnE",
"id": "aliacc_19mq3pAXZ0PAB0qutSJIFvG1",
"livemode": false,
"metadata": {
},
@ -192,7 +192,7 @@
"apple_pay_domain": {
"created": 1234567890,
"domain_name": "example.com",
"id": "apwc_19lmREAkyoJwmi9Zr5OY9MZT",
"id": "apwc_19mq3lAXZ0PAB0qutk0Bbilz",
"livemode": true,
"object": "apple_pay_domain"
},
@ -233,10 +233,10 @@
"fee_details": [
],
"id": "txn_19lmRFAkyoJwmi9ZKKyi3TEa",
"id": "txn_19mq3mAXZ0PAB0quuB601NdX",
"net": 100,
"object": "balance_transaction",
"source": "ch_19lmRFAkyoJwmi9ZVENXZEX2",
"source": "ch_19mq3mAXZ0PAB0quafODEaTb",
"sourced_transfers": {
},
"status": "pending",
@ -255,7 +255,7 @@
"description": "Receiver for John Doe",
"email": "test@example.com",
"filled": false,
"id": "btcrcv_19lmRJAkyoJwmi9Ze7qCK6s6",
"id": "btcrcv_19mq3pAXZ0PAB0quysC4SOJn",
"inbound_address": "test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1",
"livemode": false,
"metadata": {
@ -273,9 +273,9 @@
"bitcoin_amount": 1757908,
"created": 1234567890,
"currency": "usd",
"id": "btctxn_19lmRJAkyoJwmi9Z1rB4ur7a",
"id": "btctxn_19mq3pAXZ0PAB0quo4NMSQ1P",
"object": "bitcoin_transaction",
"receiver": "btcrcv_19lmRJBvQpjMo2hPrOWm4zAa"
"receiver": "btcrcv_19mq3pBFZK1NInhS7HqQ8daC"
},
"charge": {
"alternate_statement_descriptors": {
@ -288,7 +288,7 @@
"application_fee": "",
"application_fees_refunded": 0,
"authorization_code": "",
"balance_transaction": "txn_19lmRFAkyoJwmi9ZKKyi3TEa",
"balance_transaction": "txn_19mq3mAXZ0PAB0quuB601NdX",
"captured": true,
"card": {
},
@ -304,7 +304,7 @@
},
"fraud_details": {
},
"id": "ch_19lmRFAkyoJwmi9ZVENXZEX2",
"id": "ch_19mq3mAXZ0PAB0quafODEaTb",
"invoice": "",
"level3": {
},
@ -327,7 +327,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/charges/ch_19lmRFAkyoJwmi9ZVENXZEX2/refunds"
"url": "/v1/charges/ch_19mq3mAXZ0PAB0quafODEaTb/refunds"
},
"review": "",
"shipping": {
@ -349,7 +349,7 @@
"exp_month": 8,
"exp_year": 2018,
"funding": "unknown",
"id": "card_19lmREAkyoJwmi9Zu8FGFKQ4",
"id": "card_19mq3lAXZ0PAB0quo1Fi4kuG",
"last4": "4242",
"metadata": {
},
@ -443,7 +443,7 @@
"discount": {
},
"email": "",
"id": "cus_A5yOfvULoKugUV",
"id": "cus_A74CGlAc6Xc9o8",
"livemode": false,
"metadata": {
},
@ -457,7 +457,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_A5yOfvULoKugUV/sources"
"url": "/v1/customers/cus_A74CGlAc6Xc9o8/sources"
},
"subscription": {
},
@ -468,13 +468,13 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_A5yOfvULoKugUV/subscriptions"
"url": "/v1/customers/cus_A74CGlAc6Xc9o8/subscriptions"
},
"trust": {
}
},
"customer_source": {
"id": "ba_19lmRIAkyoJwmi9ZrS7XT3Is",
"id": "ba_19mq3pAXZ0PAB0que2xYqubF",
"metadata": {
},
"object": "bank_account"
@ -482,7 +482,7 @@
"discount": {
"coupon": {
"amount_off": null,
"created": 1486764024,
"created": 1487016273,
"currency": "usd",
"duration": "repeating",
"duration_in_months": 3,
@ -497,7 +497,7 @@
"times_redeemed": 0,
"valid": true
},
"customer": "cus_A5yOfvULoKugUV",
"customer": "cus_A74CGlAc6Xc9o8",
"end": 1234567890,
"object": "discount",
"start": 1234567890,
@ -510,7 +510,7 @@
"balance_transactions": [
],
"charge": "ch_19lmRFAkyoJwmi9ZVENXZEX2",
"charge": "ch_19mq3mAXZ0PAB0quafODEaTb",
"closed_at": 1234567890,
"created": 1234567890,
"currency": "usd",
@ -545,7 +545,7 @@
"uncategorized_text": null
},
"evidence_details": {
"due_by": 1488412799,
"due_by": 1488671999,
"has_evidence": false,
"past_due": false,
"submission_count": 0
@ -553,7 +553,7 @@
"evidence_submitted_at": [
],
"id": "dp_19lmRFAkyoJwmi9Z8C9sTHvt",
"id": "dp_19mq3nAXZ0PAB0quWfu875gB",
"is_charge_refundable": false,
"is_protected": false,
"livemode": false,
@ -571,7 +571,7 @@
"data": {
"object": {
"amount": 2000,
"created": 1486764024,
"created": 1487016273,
"currency": "usd",
"id": "gold",
"interval": "month",
@ -585,7 +585,7 @@
"trial_period_days": null
}
},
"id": "evt_19lmRJAkyoJwmi9Zv5cCBXYD",
"id": "evt_19mq3pAXZ0PAB0qutMlKV6c3",
"livemode": false,
"object": "event",
"pending_webhooks": 0,
@ -594,7 +594,7 @@
"type": "plan.created"
},
"external_account_source": {
"account": "acct_19lmR8AkyoJwmi9Z",
"account": "acct_19mq3gAXZ0PAB0qu",
"address_city": "",
"address_line1": "",
"address_line2": "",
@ -603,8 +603,8 @@
"country": "US",
"currency": "usd",
"default_for_currency": false,
"fingerprint": "jyHe9gGR4YmAnSCI",
"id": "ba_19lmRIAkyoJwmi9ZrS7XT3Is",
"fingerprint": "d23J1TFOicgP64nb",
"id": "ba_19mq3pAXZ0PAB0que2xYqubF",
"last4": "6789",
"metadata": {
},
@ -615,8 +615,8 @@
"balance_transaction": "",
"created": 1234567890,
"currency": "usd",
"fee": "fee_19lmRJAkyoJwmi9ZRJ3q8kC2",
"id": "fr_A5yOUy9Oy8MMKd",
"fee": "fee_19mq3pAXZ0PAB0quKLPknTXJ",
"id": "fr_A74Ce1Bh7Kr6UC",
"metadata": {
},
"object": "fee_refund"
@ -630,7 +630,7 @@
"charge": "",
"closed": false,
"currency": "usd",
"customer": "cus_A5yOfvULoKugUV",
"customer": "cus_A74CGlAc6Xc9o8",
"date": 1234567890,
"description": "",
"discount": {
@ -638,7 +638,7 @@
"due_date": 1234567890,
"ending_balance": 0,
"forgiven": false,
"id": "in_19lmRIAkyoJwmi9ZHBcWBALB",
"id": "in_19mq3pAXZ0PAB0qupydNkllt",
"lines": {
"data": [
{
@ -646,18 +646,18 @@
"currency": "usd",
"description": null,
"discountable": true,
"id": "sub_A5yOBJz4ttheA2",
"id": "sub_A74CDfuKRtyn06",
"livemode": true,
"metadata": {
},
"object": "line_item",
"period": {
"end": 1491861624,
"start": 1489183224
"end": 1492113872,
"start": 1489435472
},
"plan": {
"amount": 2000,
"created": 1486764024,
"created": 1487016273,
"currency": "usd",
"id": "gold",
"interval": "month",
@ -673,13 +673,13 @@
"proration": false,
"quantity": 1,
"subscription": null,
"subscription_item": "si_19lmRIBvQpjMo2hPDyW90f21",
"subscription_item": "si_19mq3oBFZK1NInhSuSpw3kRl",
"type": "subscription"
}
],
"object": "list",
"total_count": 1,
"url": "/v1/invoices/in_19lmRIAkyoJwmi9ZHBcWBALB/lines"
"url": "/v1/invoices/in_19mq3pAXZ0PAB0qupydNkllt/lines"
},
"livemode": false,
"metadata": {
@ -704,19 +704,19 @@
"invoice_item": {
"amount": 1000,
"currency": "usd",
"customer": "cus_A5yOfvULoKugUV",
"customer": "cus_A74CGlAc6Xc9o8",
"date": 1234567890,
"description": "My First Invoice Item (created for API docs)",
"discountable": true,
"id": "ii_19lmRIAkyoJwmi9ZVWfxhrcy",
"id": "ii_19mq3pAXZ0PAB0quXd6LJkwP",
"invoice": "",
"livemode": false,
"metadata": {
},
"object": "invoiceitem",
"period": {
"end": 1486764024,
"start": 1486764024
"end": 1487016273,
"start": 1487016273
},
"plan": {
},
@ -730,14 +730,14 @@
"currency": "usd",
"description": "My First Invoice Item (created for API docs)",
"discountable": true,
"id": "ii_19lmRIAkyoJwmi9ZVWfxhrcy",
"id": "ii_19mq3pAXZ0PAB0quXd6LJkwP",
"livemode": false,
"metadata": {
},
"object": "line_item",
"period": {
"end": 1486764024,
"start": 1486764024
"end": 1487016273,
"start": 1487016273
},
"plan": {
},
@ -762,18 +762,18 @@
"date": 1234567890,
"delay_reason": "",
"description": "Transfer to test@example.com",
"destination": "ba_19lmRJAkyoJwmi9Zz0Wl9nal",
"destination": "ba_19mq3pAXZ0PAB0qurDV9Avlb",
"destination_payment": "",
"failure_code": "",
"failure_message": "",
"id": "tr_19lmRJAkyoJwmi9ZIS9TKBmr",
"id": "tr_19mq3pAXZ0PAB0qubIKTrixZ",
"legacy_date": 1234567890,
"livemode": false,
"metadata": {
},
"method": "standard",
"object": "transfer",
"recipient": "rp_19lmRJAkyoJwmi9ZBbaQbxpE",
"recipient": "rp_19mq3pAXZ0PAB0quySWBNl2v",
"reversals": {
"data": [
@ -781,7 +781,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/transfers/tr_19lmRJAkyoJwmi9ZIS9TKBmr/reversals"
"url": "/v1/transfers/tr_19mq3pAXZ0PAB0qubIKTrixZ/reversals"
},
"reversed": false,
"source_transaction": "",
@ -806,14 +806,14 @@
"external_sku_ids": [
],
"id": "or_19lmRKAkyoJwmi9ZhJSrGYuK",
"id": "or_19mq3qAXZ0PAB0qua7xjbAdc",
"items": [
{
"amount": 1500,
"currency": "usd",
"description": "T-shirt",
"object": "order_item",
"parent": "sk_19lmRKAkyoJwmi9ZsElnHaiB",
"parent": "sk_19mq3qAXZ0PAB0quLkoPCkNK",
"quantity": null,
"type": "sku"
}
@ -829,7 +829,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/order_returns?order=or_19lmRKAkyoJwmi9ZhJSrGYuK"
"url": "/v1/order_returns?order=or_19mq3qAXZ0PAB0qua7xjbAdc"
},
"selected_shipping_method": "",
"shipping": {
@ -859,22 +859,22 @@
"amount": 1500,
"created": 1234567890,
"currency": "usd",
"id": "orret_19lmRKAkyoJwmi9ZUUqFRMUG",
"id": "orret_19mq3qAXZ0PAB0qu32DCGDSQ",
"items": [
{
"amount": 1500,
"currency": "usd",
"description": "T-shirt",
"object": "order_item",
"parent": "sk_19lmRKAkyoJwmi9ZsElnHaiB",
"parent": "sk_19mq3qAXZ0PAB0quLkoPCkNK",
"quantity": null,
"type": "sku"
}
],
"livemode": false,
"object": "order_return",
"order": "or_19lmRKAkyoJwmi9ZdC0oSZzb",
"refund": "re_19lmRKAkyoJwmi9ZUc80vNpg"
"order": "or_19mq3qAXZ0PAB0qu1Sr0vNrE",
"refund": "re_19mq3qAXZ0PAB0qu9txUplQ2"
},
"payment_bank_account": {
"account_holder_name": "Jane Austen",
@ -890,8 +890,8 @@
"currency": "usd",
"customer": "",
"customer_reference": "",
"fingerprint": "jyHe9gGR4YmAnSCI",
"id": "ba_19lmRIAkyoJwmi9ZrS7XT3Is",
"fingerprint": "d23J1TFOicgP64nb",
"id": "ba_19mq3pAXZ0PAB0que2xYqubF",
"last4": "6789",
"metadata": {
},
@ -924,7 +924,7 @@
"fingerprint": "",
"funding": "",
"google_reference": "",
"id": "tok_19lmRIAkyoJwmi9Z430ixKvZ",
"id": "tok_19mq3pAXZ0PAB0qucG7ckr0s",
"iin": "",
"issuer": "",
"last4": "",
@ -952,15 +952,15 @@
"trial_period_days": 0
},
"platform_earning": {
"account": "acct_19lmR8AkyoJwmi9Z",
"account": "acct_19mq3gAXZ0PAB0qu",
"amount": 100,
"amount_refunded": 0,
"application": "ca_A5yOIFEy0Bjv8CwNAWK87Su7mEZTnJJM",
"balance_transaction": "txn_19lmRFAkyoJwmi9ZKKyi3TEa",
"charge": "ch_19lmRFAkyoJwmi9ZVENXZEX2",
"application": "ca_A74Cy7ZahkUTCBUvdzDMqtBz3n9zWjJw",
"balance_transaction": "txn_19mq3mAXZ0PAB0quuB601NdX",
"charge": "ch_19mq3mAXZ0PAB0quafODEaTb",
"created": 1234567890,
"currency": "usd",
"id": "fee_19lmRJAkyoJwmi9ZRJ3q8kC2",
"id": "fee_19mq3pAXZ0PAB0quKLPknTXJ",
"livemode": false,
"object": "application_fee",
"originating_transaction": "",
@ -972,7 +972,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/application_fees/fee_19lmRJAkyoJwmi9ZRJ3q8kC2/refunds"
"url": "/v1/application_fees/fee_19mq3pAXZ0PAB0quKLPknTXJ/refunds"
}
},
"product": {
@ -988,7 +988,7 @@
],
"description": "Comfortable gray cotton t-shirts",
"donation": false,
"id": "prod_A5yOJuwT5I9NKS",
"id": "prod_A74CjbvJG198EF",
"images": [
],
@ -1008,7 +1008,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/skus?product=prod_A5yOJuwT5I9NKS\u0026active=true"
"url": "/v1/skus?product=prod_A74CjbvJG198EF\u0026active=true"
},
"tweetable_url": "",
"updated": 1234567890,
@ -1034,7 +1034,7 @@
"fingerprint": "",
"funding": "",
"google_reference": "",
"id": "tok_19lmRIAkyoJwmi9Z430ixKvZ",
"id": "tok_19mq3pAXZ0PAB0qucG7ckr0s",
"iin": "",
"issuer": "",
"last4": "",
@ -1050,13 +1050,13 @@
"refund": {
"amount": 100,
"balance_transaction": "",
"charge": "ch_19lmRFAkyoJwmi9ZVENXZEX2",
"charge": "ch_19mq3mAXZ0PAB0quafODEaTb",
"created": 1234567890,
"currency": "usd",
"description": "",
"fee_balance_transactions": {
},
"id": "re_19lmRFAkyoJwmi9ZDgvnap1w",
"id": "re_19mq3nAXZ0PAB0quqH5KQOit",
"metadata": {
},
"object": "refund",
@ -1073,7 +1073,7 @@
},
"created": 1234567890,
"currency": "usd",
"id": "sku_A5yOwCLDd1mbcM",
"id": "sku_A74CaPnn1qmjb1",
"image": "",
"inventory": {
"quantity": 50,
@ -1087,7 +1087,7 @@
"package_dimensions": {
},
"price": 1500,
"product": "prod_A5yOJuwT5I9NKS",
"product": "prod_A74CjbvJG198EF",
"updated": 1234567890
},
"source": {
@ -1099,7 +1099,7 @@
"currency": "",
"customer": "",
"flow": "",
"id": "card_19lmRIAkyoJwmi9Zi9XViqWY",
"id": "card_19mq3pAXZ0PAB0quryDGMYFl",
"livemode": false,
"metadata": {
},
@ -1124,21 +1124,21 @@
"created": 1234567890,
"current_period_end": 1234567890,
"current_period_start": 1234567890,
"customer": "cus_A5yOPzsaALgSDl",
"customer": "cus_A74CD39bY4X367",
"days_until_due": 0,
"discount": {
},
"ended_at": 1234567890,
"id": "sub_A5yOBJz4ttheA2",
"id": "sub_A74CDfuKRtyn06",
"items": {
"data": [
{
"created": 1486764024,
"id": "si_19lmRIBvQpjMo2hPDyW90f21",
"created": 1487016273,
"id": "si_19mq3oBFZK1NInhSuSpw3kRl",
"object": "subscription_item",
"plan": {
"amount": 2000,
"created": 1486764023,
"created": 1487016272,
"currency": "usd",
"id": "gold",
"interval": "month",
@ -1157,7 +1157,7 @@
"has_more": false,
"object": "list",
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_A5yOBJz4ttheA2"
"url": "/v1/subscription_items?subscription=sub_A74CDfuKRtyn06"
},
"livemode": false,
"max_occurrences": 0,
@ -1166,7 +1166,7 @@
"object": "subscription",
"plan": {
"amount": 2000,
"created": 1486764023,
"created": 1487016272,
"currency": "usd",
"id": "gold",
"interval": "month",
@ -1188,12 +1188,12 @@
"trial_start": 1234567890
},
"subscription_item": {
"created": 1486764024,
"id": "si_19lmRIBvQpjMo2hP9uXHuGoE",
"created": 1487016273,
"id": "si_19mq3oBFZK1NInhS3ZhhdFF8",
"object": "subscription_item",
"plan": {
"amount": 2000,
"created": 1486764023,
"created": 1487016272,
"currency": "usd",
"id": "gold",
"interval": "month",
@ -1228,7 +1228,7 @@
"exp_month": 8,
"exp_year": 2018,
"funding": "unknown",
"id": "card_19lmRIAkyoJwmi9Zi9XViqWY",
"id": "card_19mq3pAXZ0PAB0quryDGMYFl",
"last4": "4242",
"metadata": {
},
@ -1238,10 +1238,10 @@
},
"created": 1234567890,
"currency": "usd",
"id": "tdsrc_A5yOGvPub0sHgG",
"id": "tdsrc_A74Cn8dTJLosfe",
"livemode": false,
"object": "three_d_secure",
"redirect_url": "http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_A5yOGvPub0sHgG",
"redirect_url": "http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_A74Cn8dTJLosfe",
"status": "redirect_pending"
},
"token": {
@ -1267,7 +1267,7 @@
"exp_month": 8,
"exp_year": 2018,
"funding": "unknown",
"id": "card_19lmRIAkyoJwmi9Zi9XViqWY",
"id": "card_19mq3pAXZ0PAB0quryDGMYFl",
"last4": "4242",
"metadata": {
},
@ -1279,7 +1279,7 @@
"created": 1234567890,
"description": "",
"email": "",
"id": "tok_19lmRIAkyoJwmi9Z430ixKvZ",
"id": "tok_19mq3pAXZ0PAB0qucG7ckr0s",
"livemode": false,
"object": "token",
"type": "card",
@ -1289,12 +1289,12 @@
"transfer": {
"amount": 1100,
"amount_reversed": 0,
"balance_transaction": "txn_19lmRFAkyoJwmi9ZKKyi3TEa",
"balance_transaction": "txn_19mq3mAXZ0PAB0quuB601NdX",
"created": 1234567890,
"currency": "usd",
"destination": "ba_19lmRJAkyoJwmi9Zz0Wl9nal",
"destination": "ba_19mq3pAXZ0PAB0qurDV9Avlb",
"destination_payment": "",
"id": "tr_19lmRJAkyoJwmi9ZIS9TKBmr",
"id": "tr_19mq3pAXZ0PAB0qubIKTrixZ",
"livemode": false,
"metadata": {
},
@ -1306,7 +1306,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/transfers/tr_19lmRJAkyoJwmi9ZIS9TKBmr/reversals"
"url": "/v1/transfers/tr_19mq3pAXZ0PAB0qubIKTrixZ/reversals"
},
"reversed": false,
"transfer_group": ""
@ -1327,7 +1327,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/recipients/rp_19lmRJAkyoJwmi9ZBbaQbxpE/cards"
"url": "/v1/recipients/rp_19mq3pAXZ0PAB0quySWBNl2v/cards"
},
"country": "",
"created": 1234567890,
@ -1337,7 +1337,7 @@
"dob_month": "",
"dob_year": "",
"email": "test@example.com",
"id": "rp_19lmRJAkyoJwmi9ZBbaQbxpE",
"id": "rp_19mq3pAXZ0PAB0quySWBNl2v",
"livemode": false,
"metadata": {
},
@ -1354,11 +1354,11 @@
"balance_transaction": "",
"created": 1234567890,
"currency": "usd",
"id": "trr_19lmRJAkyoJwmi9ZOvW5tC88",
"id": "trr_19mq3pAXZ0PAB0quDwZdcrSt",
"metadata": {
},
"object": "transfer_reversal",
"transfer": "tr_19lmRJAkyoJwmi9ZIS9TKBmr"
"transfer": "tr_19mq3pAXZ0PAB0qubIKTrixZ"
},
"upcoming_invoice": {
"amount_due": 0,
@ -1369,7 +1369,7 @@
"charge": "",
"closed": false,
"currency": "usd",
"customer": "cus_A5yOfvULoKugUV",
"customer": "cus_A74CGlAc6Xc9o8",
"date": 1234567890,
"description": "",
"discount": {
@ -1384,7 +1384,7 @@
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/invoices/in_19lmRIAkyoJwmi9ZHBcWBALB/lines"
"url": "/v1/invoices/in_19mq3pAXZ0PAB0qupydNkllt/lines"
},
"livemode": false,
"metadata": {

View File

@ -15,15 +15,15 @@ account:
default_currency: usd
details_submitted: false
display_name: ''
email: foo+xahqip2knz@example.com
email: foo+bnklon35vv@example.com
external_accounts:
data: []
has_more: false
object: list
total_count: 0
url: "/v1/accounts/acct_19lmR8AkyoJwmi9Z/external_accounts"
url: "/v1/accounts/acct_19mq3gAXZ0PAB0qu/external_accounts"
fake_account: false
id: acct_19lmR8AkyoJwmi9Z
id: acct_19mq3gAXZ0PAB0qu
legal_entity:
additional_owners:
address:
@ -113,10 +113,10 @@ account_with_keys:
default_currency: usd
details_submitted: false
display_name: ''
email: foo+xahqip2knz@example.com
email: foo+bnklon35vv@example.com
external_accounts: {}
fake_account: false
id: acct_19lmR8AkyoJwmi9Z
id: acct_19mq3gAXZ0PAB0qu
keys: {}
legal_entity: {}
light: false
@ -141,8 +141,8 @@ account_with_keys:
alipay_account:
created: 1234567890
customer: ''
fingerprint: ric4b50pizKnD08K
id: aliacc_19lmRJAkyoJwmi9ZYJtLcirj
fingerprint: b6kmmo2KDWmL6NnE
id: aliacc_19mq3pAXZ0PAB0qutSJIFvG1
livemode: false
metadata: {}
object: alipay_account
@ -154,7 +154,7 @@ alipay_account:
apple_pay_domain:
created: 1234567890
domain_name: example.com
id: apwc_19lmREAkyoJwmi9Zr5OY9MZT
id: apwc_19mq3lAXZ0PAB0qutk0Bbilz
livemode: true
object: apple_pay_domain
balance:
@ -180,10 +180,10 @@ balance_transaction:
description: ''
fee: 0
fee_details: []
id: txn_19lmRFAkyoJwmi9ZKKyi3TEa
id: txn_19mq3mAXZ0PAB0quuB601NdX
net: 100
object: balance_transaction
source: ch_19lmRFAkyoJwmi9ZVENXZEX2
source: ch_19mq3mAXZ0PAB0quafODEaTb
sourced_transfers: {}
status: pending
type: charge
@ -200,7 +200,7 @@ bitcoin_receiver:
description: Receiver for John Doe
email: test@example.com
filled: false
id: btcrcv_19lmRJAkyoJwmi9Ze7qCK6s6
id: btcrcv_19mq3pAXZ0PAB0quysC4SOJn
inbound_address: test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1
livemode: false
metadata: {}
@ -215,9 +215,9 @@ bitcoin_transaction:
bitcoin_amount: 1757908
created: 1234567890
currency: usd
id: btctxn_19lmRJAkyoJwmi9Z1rB4ur7a
id: btctxn_19mq3pAXZ0PAB0quo4NMSQ1P
object: bitcoin_transaction
receiver: btcrcv_19lmRJBvQpjMo2hPrOWm4zAa
receiver: btcrcv_19mq3pBFZK1NInhS7HqQ8daC
charge:
alternate_statement_descriptors: {}
amount: 100
@ -228,7 +228,7 @@ charge:
application_fee: ''
application_fees_refunded: 0
authorization_code: ''
balance_transaction: txn_19lmRFAkyoJwmi9ZKKyi3TEa
balance_transaction: txn_19mq3mAXZ0PAB0quuB601NdX
captured: true
card: {}
created: 1234567890
@ -241,7 +241,7 @@ charge:
failure_message: ''
fee_balance_transactions: {}
fraud_details: {}
id: ch_19lmRFAkyoJwmi9ZVENXZEX2
id: ch_19mq3mAXZ0PAB0quafODEaTb
invoice: ''
level3: {}
livemode: false
@ -259,7 +259,7 @@ charge:
has_more: false
object: list
total_count: 0
url: "/v1/charges/ch_19lmRFAkyoJwmi9ZVENXZEX2/refunds"
url: "/v1/charges/ch_19mq3mAXZ0PAB0quafODEaTb/refunds"
review: ''
shipping: {}
source:
@ -279,7 +279,7 @@ charge:
exp_month: 8
exp_year: 2018
funding: unknown
id: card_19lmREAkyoJwmi9Zu8FGFKQ4
id: card_19mq3lAXZ0PAB0quo1Fi4kuG
last4: '4242'
metadata: {}
name:
@ -346,7 +346,7 @@ customer:
description: ''
discount: {}
email: ''
id: cus_A5yOfvULoKugUV
id: cus_A74CGlAc6Xc9o8
livemode: false
metadata: {}
object: customer
@ -356,23 +356,23 @@ customer:
has_more: false
object: list
total_count: 0
url: "/v1/customers/cus_A5yOfvULoKugUV/sources"
url: "/v1/customers/cus_A74CGlAc6Xc9o8/sources"
subscription: {}
subscriptions:
data: []
has_more: false
object: list
total_count: 0
url: "/v1/customers/cus_A5yOfvULoKugUV/subscriptions"
url: "/v1/customers/cus_A74CGlAc6Xc9o8/subscriptions"
trust: {}
customer_source:
id: ba_19lmRIAkyoJwmi9ZrS7XT3Is
id: ba_19mq3pAXZ0PAB0que2xYqubF
metadata: {}
object: bank_account
discount:
coupon:
amount_off:
created: 1486764024
created: 1487016273
currency: usd
duration: repeating
duration_in_months: 3
@ -385,7 +385,7 @@ discount:
redeem_by:
times_redeemed: 0
valid: true
customer: cus_A5yOfvULoKugUV
customer: cus_A74CGlAc6Xc9o8
end: 1234567890
object: discount
start: 1234567890
@ -395,7 +395,7 @@ dispute:
amount: 1000
balance_transaction: ''
balance_transactions: []
charge: ch_19lmRFAkyoJwmi9ZVENXZEX2
charge: ch_19mq3mAXZ0PAB0quafODEaTb
closed_at: 1234567890
created: 1234567890
currency: usd
@ -429,12 +429,12 @@ dispute:
uncategorized_file:
uncategorized_text:
evidence_details:
due_by: 1488412799
due_by: 1488671999
has_evidence: false
past_due: false
submission_count: 0
evidence_submitted_at: []
id: dp_19lmRFAkyoJwmi9Z8C9sTHvt
id: dp_19mq3nAXZ0PAB0quWfu875gB
is_charge_refundable: false
is_protected: false
livemode: false
@ -450,7 +450,7 @@ event:
data:
object:
amount: 2000
created: 1486764024
created: 1487016273
currency: usd
id: gold
interval: month
@ -461,7 +461,7 @@ event:
object: plan
statement_descriptor:
trial_period_days:
id: evt_19lmRJAkyoJwmi9Zv5cCBXYD
id: evt_19mq3pAXZ0PAB0qutMlKV6c3
livemode: false
object: event
pending_webhooks: 0
@ -469,7 +469,7 @@ event:
request: ''
type: plan.created
external_account_source:
account: acct_19lmR8AkyoJwmi9Z
account: acct_19mq3gAXZ0PAB0qu
address_city: ''
address_line1: ''
address_line2: ''
@ -478,8 +478,8 @@ external_account_source:
country: US
currency: usd
default_for_currency: false
fingerprint: jyHe9gGR4YmAnSCI
id: ba_19lmRIAkyoJwmi9ZrS7XT3Is
fingerprint: d23J1TFOicgP64nb
id: ba_19mq3pAXZ0PAB0que2xYqubF
last4: '6789'
metadata: {}
object: bank_account
@ -488,8 +488,8 @@ fee_refund:
balance_transaction: ''
created: 1234567890
currency: usd
fee: fee_19lmRJAkyoJwmi9ZRJ3q8kC2
id: fr_A5yOUy9Oy8MMKd
fee: fee_19mq3pAXZ0PAB0quKLPknTXJ
id: fr_A74Ce1Bh7Kr6UC
metadata: {}
object: fee_refund
invoice:
@ -501,30 +501,30 @@ invoice:
charge: ''
closed: false
currency: usd
customer: cus_A5yOfvULoKugUV
customer: cus_A74CGlAc6Xc9o8
date: 1234567890
description: ''
discount: {}
due_date: 1234567890
ending_balance: 0
forgiven: false
id: in_19lmRIAkyoJwmi9ZHBcWBALB
id: in_19mq3pAXZ0PAB0qupydNkllt
lines:
data:
- amount: 2000
currency: usd
description:
discountable: true
id: sub_A5yOBJz4ttheA2
id: sub_A74CDfuKRtyn06
livemode: true
metadata: {}
object: line_item
period:
end: 1491861624
start: 1489183224
end: 1492113872
start: 1489435472
plan:
amount: 2000
created: 1486764024
created: 1487016273
currency: usd
id: gold
interval: month
@ -538,11 +538,11 @@ invoice:
proration: false
quantity: 1
subscription:
subscription_item: si_19lmRIBvQpjMo2hPDyW90f21
subscription_item: si_19mq3oBFZK1NInhSuSpw3kRl
type: subscription
object: list
total_count: 1
url: "/v1/invoices/in_19lmRIAkyoJwmi9ZHBcWBALB/lines"
url: "/v1/invoices/in_19mq3pAXZ0PAB0qupydNkllt/lines"
livemode: false
metadata: {}
next_payment_attempt: 1234567890
@ -564,18 +564,18 @@ invoice:
invoice_item:
amount: 1000
currency: usd
customer: cus_A5yOfvULoKugUV
customer: cus_A74CGlAc6Xc9o8
date: 1234567890
description: My First Invoice Item (created for API docs)
discountable: true
id: ii_19lmRIAkyoJwmi9ZVWfxhrcy
id: ii_19mq3pAXZ0PAB0quXd6LJkwP
invoice: ''
livemode: false
metadata: {}
object: invoiceitem
period:
end: 1486764024
start: 1486764024
end: 1487016273
start: 1487016273
plan: {}
proration: false
quantity: 0
@ -586,13 +586,13 @@ invoice_line_item:
currency: usd
description: My First Invoice Item (created for API docs)
discountable: true
id: ii_19lmRIAkyoJwmi9ZVWfxhrcy
id: ii_19mq3pAXZ0PAB0quXd6LJkwP
livemode: false
metadata: {}
object: line_item
period:
end: 1486764024
start: 1486764024
end: 1487016273
start: 1487016273
plan: {}
proration: false
quantity: 0
@ -612,23 +612,23 @@ legacy_transfer:
date: 1234567890
delay_reason: ''
description: Transfer to test@example.com
destination: ba_19lmRJAkyoJwmi9Zz0Wl9nal
destination: ba_19mq3pAXZ0PAB0qurDV9Avlb
destination_payment: ''
failure_code: ''
failure_message: ''
id: tr_19lmRJAkyoJwmi9ZIS9TKBmr
id: tr_19mq3pAXZ0PAB0qubIKTrixZ
legacy_date: 1234567890
livemode: false
metadata: {}
method: standard
object: transfer
recipient: rp_19lmRJAkyoJwmi9ZBbaQbxpE
recipient: rp_19mq3pAXZ0PAB0quySWBNl2v
reversals:
data: []
has_more: false
object: list
total_count: 0
url: "/v1/transfers/tr_19lmRJAkyoJwmi9ZIS9TKBmr/reversals"
url: "/v1/transfers/tr_19mq3pAXZ0PAB0qubIKTrixZ/reversals"
reversed: false
source_transaction: ''
source_type: card
@ -649,13 +649,13 @@ order:
email: ''
external_coupon_code: ''
external_sku_ids: []
id: or_19lmRKAkyoJwmi9ZhJSrGYuK
id: or_19mq3qAXZ0PAB0qua7xjbAdc
items:
- amount: 1500
currency: usd
description: T-shirt
object: order_item
parent: sk_19lmRKAkyoJwmi9ZsElnHaiB
parent: sk_19mq3qAXZ0PAB0quLkoPCkNK
quantity:
type: sku
livemode: false
@ -666,7 +666,7 @@ order:
has_more: false
object: list
total_count: 0
url: "/v1/order_returns?order=or_19lmRKAkyoJwmi9ZhJSrGYuK"
url: "/v1/order_returns?order=or_19mq3qAXZ0PAB0qua7xjbAdc"
selected_shipping_method: ''
shipping:
address:
@ -690,19 +690,19 @@ order_return:
amount: 1500
created: 1234567890
currency: usd
id: orret_19lmRKAkyoJwmi9ZUUqFRMUG
id: orret_19mq3qAXZ0PAB0qu32DCGDSQ
items:
- amount: 1500
currency: usd
description: T-shirt
object: order_item
parent: sk_19lmRKAkyoJwmi9ZsElnHaiB
parent: sk_19mq3qAXZ0PAB0quLkoPCkNK
quantity:
type: sku
livemode: false
object: order_return
order: or_19lmRKAkyoJwmi9ZdC0oSZzb
refund: re_19lmRKAkyoJwmi9ZUc80vNpg
order: or_19mq3qAXZ0PAB0qu1Sr0vNrE
refund: re_19mq3qAXZ0PAB0qu9txUplQ2
payment_bank_account:
account_holder_name: Jane Austen
account_holder_type: individual
@ -717,8 +717,8 @@ payment_bank_account:
currency: usd
customer: ''
customer_reference: ''
fingerprint: jyHe9gGR4YmAnSCI
id: ba_19lmRIAkyoJwmi9ZrS7XT3Is
fingerprint: d23J1TFOicgP64nb
id: ba_19mq3pAXZ0PAB0que2xYqubF
last4: '6789'
metadata: {}
object: bank_account
@ -748,7 +748,7 @@ payment_card:
fingerprint: ''
funding: ''
google_reference: ''
id: tok_19lmRIAkyoJwmi9Z430ixKvZ
id: tok_19mq3pAXZ0PAB0qucG7ckr0s
iin: ''
issuer: ''
last4: ''
@ -771,15 +771,15 @@ plan:
statement_descriptor: ''
trial_period_days: 0
platform_earning:
account: acct_19lmR8AkyoJwmi9Z
account: acct_19mq3gAXZ0PAB0qu
amount: 100
amount_refunded: 0
application: ca_A5yOIFEy0Bjv8CwNAWK87Su7mEZTnJJM
balance_transaction: txn_19lmRFAkyoJwmi9ZKKyi3TEa
charge: ch_19lmRFAkyoJwmi9ZVENXZEX2
application: ca_A74Cy7ZahkUTCBUvdzDMqtBz3n9zWjJw
balance_transaction: txn_19mq3mAXZ0PAB0quuB601NdX
charge: ch_19mq3mAXZ0PAB0quafODEaTb
created: 1234567890
currency: usd
id: fee_19lmRJAkyoJwmi9ZRJ3q8kC2
id: fee_19mq3pAXZ0PAB0quKLPknTXJ
livemode: false
object: application_fee
originating_transaction: ''
@ -789,7 +789,7 @@ platform_earning:
has_more: false
object: list
total_count: 0
url: "/v1/application_fees/fee_19lmRJAkyoJwmi9ZRJ3q8kC2/refunds"
url: "/v1/application_fees/fee_19mq3pAXZ0PAB0quKLPknTXJ/refunds"
product:
active: true
attributes:
@ -800,7 +800,7 @@ product:
deactivate_on: []
description: Comfortable gray cotton t-shirts
donation: false
id: prod_A5yOJuwT5I9NKS
id: prod_A74CjbvJG198EF
images: []
livemode: false
metadata: {}
@ -814,7 +814,7 @@ product:
has_more: false
object: list
total_count: 0
url: "/v1/skus?product=prod_A5yOJuwT5I9NKS&active=true"
url: "/v1/skus?product=prod_A74CjbvJG198EF&active=true"
tweetable_url: ''
updated: 1234567890
url: ''
@ -838,7 +838,7 @@ recipient_payout_card:
fingerprint: ''
funding: ''
google_reference: ''
id: tok_19lmRIAkyoJwmi9Z430ixKvZ
id: tok_19mq3pAXZ0PAB0qucG7ckr0s
iin: ''
issuer: ''
last4: ''
@ -851,12 +851,12 @@ recipient_payout_card:
refund:
amount: 100
balance_transaction: ''
charge: ch_19lmRFAkyoJwmi9ZVENXZEX2
charge: ch_19mq3mAXZ0PAB0quafODEaTb
created: 1234567890
currency: usd
description: ''
fee_balance_transactions: {}
id: re_19lmRFAkyoJwmi9ZDgvnap1w
id: re_19mq3nAXZ0PAB0quqH5KQOit
metadata: {}
object: refund
reason: ''
@ -870,7 +870,7 @@ sku:
size: Medium
created: 1234567890
currency: usd
id: sku_A5yOwCLDd1mbcM
id: sku_A74CaPnn1qmjb1
image: ''
inventory:
quantity: 50
@ -881,7 +881,7 @@ sku:
object: sku
package_dimensions: {}
price: 1500
product: prod_A5yOJuwT5I9NKS
product: prod_A74CjbvJG198EF
updated: 1234567890
source:
amount: 0
@ -891,7 +891,7 @@ source:
currency: ''
customer: ''
flow: ''
id: card_19lmRIAkyoJwmi9Zi9XViqWY
id: card_19mq3pAXZ0PAB0quryDGMYFl
livemode: false
metadata: {}
object: card
@ -911,19 +911,19 @@ subscription:
created: 1234567890
current_period_end: 1234567890
current_period_start: 1234567890
customer: cus_A5yOPzsaALgSDl
customer: cus_A74CD39bY4X367
days_until_due: 0
discount: {}
ended_at: 1234567890
id: sub_A5yOBJz4ttheA2
id: sub_A74CDfuKRtyn06
items:
data:
- created: 1486764024
id: si_19lmRIBvQpjMo2hPDyW90f21
- created: 1487016273
id: si_19mq3oBFZK1NInhSuSpw3kRl
object: subscription_item
plan:
amount: 2000
created: 1486764023
created: 1487016272
currency: usd
id: gold
interval: month
@ -938,14 +938,14 @@ subscription:
has_more: false
object: list
total_count: 1
url: "/v1/subscription_items?subscription=sub_A5yOBJz4ttheA2"
url: "/v1/subscription_items?subscription=sub_A74CDfuKRtyn06"
livemode: false
max_occurrences: 0
metadata: {}
object: subscription
plan:
amount: 2000
created: 1486764023
created: 1487016272
currency: usd
id: gold
interval: month
@ -964,12 +964,12 @@ subscription:
trial_end: 1234567890
trial_start: 1234567890
subscription_item:
created: 1486764024
id: si_19lmRIBvQpjMo2hP9uXHuGoE
created: 1487016273
id: si_19mq3oBFZK1NInhS3ZhhdFF8
object: subscription_item
plan:
amount: 2000
created: 1486764023
created: 1487016272
currency: usd
id: gold
interval: month
@ -1001,7 +1001,7 @@ three_d_secure:
exp_month: 8
exp_year: 2018
funding: unknown
id: card_19lmRIAkyoJwmi9Zi9XViqWY
id: card_19mq3pAXZ0PAB0quryDGMYFl
last4: '4242'
metadata: {}
name:
@ -1009,10 +1009,10 @@ three_d_secure:
tokenization_method:
created: 1234567890
currency: usd
id: tdsrc_A5yOGvPub0sHgG
id: tdsrc_A74Cn8dTJLosfe
livemode: false
object: three_d_secure
redirect_url: http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_A5yOGvPub0sHgG
redirect_url: http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_A74Cn8dTJLosfe
status: redirect_pending
token:
account_details: {}
@ -1034,7 +1034,7 @@ token:
exp_month: 8
exp_year: 2018
funding: unknown
id: card_19lmRIAkyoJwmi9Zi9XViqWY
id: card_19mq3pAXZ0PAB0quryDGMYFl
last4: '4242'
metadata: {}
name:
@ -1044,7 +1044,7 @@ token:
created: 1234567890
description: ''
email: ''
id: tok_19lmRIAkyoJwmi9Z430ixKvZ
id: tok_19mq3pAXZ0PAB0qucG7ckr0s
livemode: false
object: token
type: card
@ -1053,12 +1053,12 @@ token:
transfer:
amount: 1100
amount_reversed: 0
balance_transaction: txn_19lmRFAkyoJwmi9ZKKyi3TEa
balance_transaction: txn_19mq3mAXZ0PAB0quuB601NdX
created: 1234567890
currency: usd
destination: ba_19lmRJAkyoJwmi9Zz0Wl9nal
destination: ba_19mq3pAXZ0PAB0qurDV9Avlb
destination_payment: ''
id: tr_19lmRJAkyoJwmi9ZIS9TKBmr
id: tr_19mq3pAXZ0PAB0qubIKTrixZ
livemode: false
metadata: {}
object: transfer
@ -1067,7 +1067,7 @@ transfer:
has_more: false
object: list
total_count: 0
url: "/v1/transfers/tr_19lmRJAkyoJwmi9ZIS9TKBmr/reversals"
url: "/v1/transfers/tr_19mq3pAXZ0PAB0qubIKTrixZ/reversals"
reversed: false
transfer_group: ''
transfer_recipient:
@ -1083,7 +1083,7 @@ transfer_recipient:
has_more: false
object: list
total_count: 0
url: "/v1/recipients/rp_19lmRJAkyoJwmi9ZBbaQbxpE/cards"
url: "/v1/recipients/rp_19mq3pAXZ0PAB0quySWBNl2v/cards"
country: ''
created: 1234567890
default_card: ''
@ -1092,7 +1092,7 @@ transfer_recipient:
dob_month: ''
dob_year: ''
email: test@example.com
id: rp_19lmRJAkyoJwmi9ZBbaQbxpE
id: rp_19mq3pAXZ0PAB0quySWBNl2v
livemode: false
metadata: {}
migrated_to: ''
@ -1107,10 +1107,10 @@ transfer_reversal:
balance_transaction: ''
created: 1234567890
currency: usd
id: trr_19lmRJAkyoJwmi9ZOvW5tC88
id: trr_19mq3pAXZ0PAB0quDwZdcrSt
metadata: {}
object: transfer_reversal
transfer: tr_19lmRJAkyoJwmi9ZIS9TKBmr
transfer: tr_19mq3pAXZ0PAB0qubIKTrixZ
upcoming_invoice:
amount_due: 0
application_fee: 0
@ -1120,7 +1120,7 @@ upcoming_invoice:
charge: ''
closed: false
currency: usd
customer: cus_A5yOfvULoKugUV
customer: cus_A74CGlAc6Xc9o8
date: 1234567890
description: ''
discount: {}
@ -1132,7 +1132,7 @@ upcoming_invoice:
has_more: false
object: list
total_count: 0
url: "/v1/invoices/in_19lmRIAkyoJwmi9ZHBcWBALB/lines"
url: "/v1/invoices/in_19mq3pAXZ0PAB0qupydNkllt/lines"
livemode: false
metadata: {}
next_payment_attempt: 1234567890

View File

@ -11477,55 +11477,6 @@
}
}
},
"/v1/charges/{charge}/settle": {
"post": {
"description": "",
"operationId": "ChargeSettleSystem",
"parameters": [
{
"description": "",
"in": "path",
"name": "charge",
"required": true,
"type": "string"
},
{
"description": "Body parameters for the request.",
"in": "body",
"name": "payload",
"required": false,
"schema": {
"properties": {
"amount": {
"description": "",
"title": "amount",
"type": [
"integer"
]
}
},
"required": [
"amount"
]
}
}
],
"responses": {
"200": {
"description": "Successful response.",
"schema": {
"$ref": "#/definitions/charge"
}
},
"default": {
"description": "Error response.",
"schema": {
"$ref": "#/definitions/error"
}
}
}
}
},
"/v1/country_specs": {
"get": {
"description": "\u003Cp\u003ELists all Country Spec objects available in the API.\u003C/p\u003E",
@ -13666,29 +13617,6 @@
}
}
},
"/v1/customers/{customer}/subscription": {
"get": {
"description": "",
"operationId": "DeprecatedRetrieveCustomerSubscription",
"parameters": [
],
"responses": {
"200": {
"description": "Successful response.",
"schema": {
"$ref": "#/definitions/subscription"
}
},
"default": {
"description": "Error response.",
"schema": {
"$ref": "#/definitions/error"
}
}
}
}
},
"/v1/customers/{customer}/subscriptions": {
"get": {
"description": "\u003Cp\u003EYou can see a list of the customers active subscriptions. Note that the 10 most recent active subscriptions are always available by default on the customer object. If you need more than those 10, you can use the limit and starting_after parameters to page through additional subscriptions.\u003C/p\u003E",
@ -15619,6 +15547,27 @@
"description": "\u003Cp\u003EReturns a list of your orders. The orders are returned sorted by creation date, with the most recently created orders appearing first.\u003C/p\u003E",
"operationId": "AllOrders",
"parameters": [
{
"description": "A limit on the number of objects to be returned. Limit can range between 1 and 100 items.",
"in": "query",
"name": "limit",
"required": false,
"type": "integer"
},
{
"description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.",
"in": "query",
"name": "starting_after",
"required": false,
"type": "string"
},
{
"description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.",
"in": "query",
"name": "ending_before",
"required": false,
"type": "string"
},
{
"description": "Only return orders that have the given status. One of `created`, `paid`, `fulfilled`, or `refunded`.",
"in": "query",
@ -15645,7 +15594,7 @@
"in": "query",
"name": "created",
"required": false,
"type": "integer"
"type": "string"
},
{
"description": "Only return orders with the given upstream order IDs.",
@ -15660,27 +15609,6 @@
"name": "status_transitions",
"required": false,
"type": "string"
},
{
"description": "A limit on the number of objects to be returned. Limit can range between 1 and 100 items.",
"in": "query",
"name": "limit",
"required": false,
"type": "integer"
},
{
"description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.",
"in": "query",
"name": "starting_after",
"required": false,
"type": "string"
},
{
"description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.",
"in": "query",
"name": "ending_before",
"required": false,
"type": "string"
}
],
"responses": {

View File

@ -8822,38 +8822,6 @@ paths:
description: Error response.
schema:
"$ref": "#/definitions/error"
"/v1/charges/{charge}/settle":
post:
description: ''
operationId: ChargeSettleSystem
parameters:
- description: ''
in: path
name: charge
required: true
type: string
- description: Body parameters for the request.
in: body
name: payload
required: false
schema:
properties:
amount:
description: ''
title: amount
type:
- integer
required:
- amount
responses:
'200':
description: Successful response.
schema:
"$ref": "#/definitions/charge"
default:
description: Error response.
schema:
"$ref": "#/definitions/error"
"/v1/country_specs":
get:
description: "<p>Lists all Country Spec objects available in the API.</p>"
@ -10452,20 +10420,6 @@ paths:
description: Error response.
schema:
"$ref": "#/definitions/error"
"/v1/customers/{customer}/subscription":
get:
description: ''
operationId: DeprecatedRetrieveCustomerSubscription
parameters: []
responses:
'200':
description: Successful response.
schema:
"$ref": "#/definitions/subscription"
default:
description: Error response.
schema:
"$ref": "#/definitions/error"
"/v1/customers/{customer}/subscriptions":
get:
description: "<p>You can see a list of the customers active subscriptions.
@ -12099,38 +12053,6 @@ paths:
by creation date, with the most recently created orders appearing first.</p>"
operationId: AllOrders
parameters:
- description: Only return orders that have the given status. One of `created`,
`paid`, `fulfilled`, or `refunded`.
in: query
name: status
required: false
type: string
- description: Only return orders with the given IDs.
in: query
name: ids
required: false
type: array
- description: Only return orders for the given customer.
in: query
name: customer
required: false
type: string
- description: Date this order was created.
in: query
name: created
required: false
type: integer
- description: Only return orders with the given upstream order IDs.
in: query
name: upstream_ids
required: false
type: array
- description: Filter orders based on when they were paid, fulfilled, canceled,
or returned.
in: query
name: status_transitions
required: false
type: string
- description: A limit on the number of objects to be returned. Limit can range
between 1 and 100 items.
in: query
@ -12155,6 +12077,38 @@ paths:
name: ending_before
required: false
type: string
- description: Only return orders that have the given status. One of `created`,
`paid`, `fulfilled`, or `refunded`.
in: query
name: status
required: false
type: string
- description: Only return orders with the given IDs.
in: query
name: ids
required: false
type: array
- description: Only return orders for the given customer.
in: query
name: customer
required: false
type: string
- description: Date this order was created.
in: query
name: created
required: false
type: string
- description: Only return orders with the given upstream order IDs.
in: query
name: upstream_ids
required: false
type: array
- description: Filter orders based on when they were paid, fulfilled, canceled,
or returned.
in: query
name: status_transitions
required: false
type: string
responses:
'200':
description: Successful response.