mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Naming a directory `spec` in a Ruby project is terribly ambiguous. This clarifies the purpose of this directory and makes it easier to find if you know that you're looking for OpenAPI.
1131 lines
23 KiB
YAML
1131 lines
23 KiB
YAML
---
|
|
account:
|
|
active_payment_methods: []
|
|
bank_accounts: {}
|
|
business_logo: ''
|
|
business_name: ''
|
|
business_primary_color: ''
|
|
business_url: ''
|
|
charges_enabled: false
|
|
country: US
|
|
debit_negative_balances: true
|
|
decline_charge_on:
|
|
avs_failure: false
|
|
cvc_failure: false
|
|
default_currency: usd
|
|
details_submitted: false
|
|
display_name: ''
|
|
email: foo+ujebwko0fp@example.com
|
|
external_accounts:
|
|
data: []
|
|
has_more: false
|
|
object: list
|
|
total_count: 0
|
|
url: "/v1/accounts/acct_19xOmSA6KsQaPpsx/external_accounts"
|
|
fake_account: false
|
|
id: acct_19xOmSA6KsQaPpsx
|
|
legal_entity:
|
|
additional_owners:
|
|
address:
|
|
city:
|
|
country: US
|
|
line1:
|
|
line2:
|
|
postal_code:
|
|
state:
|
|
business_name:
|
|
business_name_kana:
|
|
business_name_kanji:
|
|
business_tax_id_provided: false
|
|
business_vat_id_provided: false
|
|
dob:
|
|
day:
|
|
month:
|
|
year:
|
|
first_name:
|
|
first_name_kana:
|
|
first_name_kanji:
|
|
gender:
|
|
last_name:
|
|
last_name_kana:
|
|
last_name_kanji:
|
|
maiden_name:
|
|
personal_address:
|
|
city:
|
|
country: US
|
|
line1:
|
|
line2:
|
|
postal_code:
|
|
state:
|
|
personal_id_number_provided: false
|
|
phone_number:
|
|
ssn_last_4_provided: false
|
|
type:
|
|
verification:
|
|
details:
|
|
details_code:
|
|
document:
|
|
status: unverified
|
|
light: false
|
|
managed: true
|
|
mcc: ''
|
|
metadata: {}
|
|
object: account
|
|
orders: {}
|
|
product_description: ''
|
|
risk_details: {}
|
|
statement_descriptor: ''
|
|
support_address: {}
|
|
support_email: ''
|
|
support_phone: ''
|
|
support_url: ''
|
|
timezone: Etc/UTC
|
|
tos_acceptance:
|
|
date:
|
|
ip:
|
|
user_agent:
|
|
transfer_schedule:
|
|
delay_days: 7
|
|
interval: daily
|
|
transfer_statement_descriptor: ''
|
|
transfers_enabled: false
|
|
verification:
|
|
disabled_reason: fields_needed
|
|
due_by:
|
|
fields_needed:
|
|
- business_url
|
|
- external_account
|
|
- product_description
|
|
- support_phone
|
|
- tos_acceptance.date
|
|
- tos_acceptance.ip
|
|
account_with_keys:
|
|
active_payment_methods: []
|
|
bank_accounts: {}
|
|
business_logo: ''
|
|
business_name: ''
|
|
business_primary_color: ''
|
|
business_url: ''
|
|
charges_enabled: false
|
|
country: US
|
|
debit_negative_balances: false
|
|
decline_charge_on: {}
|
|
default_currency: usd
|
|
details_submitted: false
|
|
display_name: ''
|
|
email: foo+ujebwko0fp@example.com
|
|
external_accounts: {}
|
|
fake_account: false
|
|
id: acct_19xOmSA6KsQaPpsx
|
|
keys: {}
|
|
legal_entity: {}
|
|
light: false
|
|
managed: false
|
|
mcc: ''
|
|
metadata: {}
|
|
object: account
|
|
orders: {}
|
|
product_description: ''
|
|
risk_details: {}
|
|
statement_descriptor: ''
|
|
support_address: {}
|
|
support_email: ''
|
|
support_phone: ''
|
|
support_url: ''
|
|
timezone: Etc/UTC
|
|
tos_acceptance: {}
|
|
transfer_schedule: {}
|
|
transfer_statement_descriptor: ''
|
|
transfers_enabled: false
|
|
verification: {}
|
|
alipay_account:
|
|
created: 1234567890
|
|
customer: ''
|
|
fingerprint: NmrPSTwAXOffguOu
|
|
id: aliacc_19xOmZA6KsQaPpsx8SQGAn0E
|
|
livemode: false
|
|
metadata: {}
|
|
object: alipay_account
|
|
payment_amount: 1000
|
|
payment_currency: usd
|
|
reusable: false
|
|
used: false
|
|
username: test@example.com
|
|
apple_pay_domain:
|
|
created: 1234567890
|
|
domain_name: example.com
|
|
id: apwc_19xOmYA6KsQaPpsxDX3zqwLL
|
|
livemode: true
|
|
object: apple_pay_domain
|
|
balance:
|
|
available:
|
|
- amount: 0
|
|
currency: usd
|
|
source_types:
|
|
card: 0
|
|
connect_reserved: []
|
|
livemode: false
|
|
object: balance
|
|
pending:
|
|
- amount: 0
|
|
currency: usd
|
|
source_types:
|
|
card: 0
|
|
balance_transaction:
|
|
amount: 100
|
|
automatic_transfer: {}
|
|
available_on: 1234567890
|
|
created: 1234567890
|
|
currency: usd
|
|
description: ''
|
|
fee: 0
|
|
fee_details: []
|
|
id: txn_19xOmYA6KsQaPpsxgSCbKQ3d
|
|
net: 100
|
|
object: balance_transaction
|
|
source: ch_19xOmYA6KsQaPpsxRpMRzREK
|
|
sourced_transfers: {}
|
|
status: pending
|
|
type: charge
|
|
bank_account:
|
|
account: acct_19xOmSA6KsQaPpsx
|
|
account_holder_name: Jane Austen
|
|
account_holder_type: individual
|
|
address_city: ''
|
|
address_line1: ''
|
|
address_line2: ''
|
|
address_state: ''
|
|
address_zip: ''
|
|
allows_debits: false
|
|
bank_name: STRIPE TEST BANK
|
|
bank_phone_number: ''
|
|
country: US
|
|
currency: usd
|
|
customer: ''
|
|
customer_reference: ''
|
|
default_for_currency: false
|
|
fingerprint: rhUqyC2EcjMewT6o
|
|
id: ba_19xOmZA6KsQaPpsx7DTyLvtT
|
|
last4: '6789'
|
|
metadata: {}
|
|
object: bank_account
|
|
reusable: false
|
|
routing_number: '110000000'
|
|
status: new
|
|
used: false
|
|
bitcoin_receiver:
|
|
active: false
|
|
amount: 100
|
|
amount_received: 0
|
|
bitcoin_amount: 1757908
|
|
bitcoin_amount_received: 0
|
|
bitcoin_uri: bitcoin:test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1?amount=0.01757908
|
|
created: 1234567890
|
|
currency: usd
|
|
customer: ''
|
|
description: Receiver for John Doe
|
|
email: test@example.com
|
|
filled: false
|
|
id: btcrcv_19xOmZA6KsQaPpsx8TtHgMVX
|
|
inbound_address: test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1
|
|
livemode: false
|
|
metadata: {}
|
|
object: bitcoin_receiver
|
|
payment: ''
|
|
refund_address: ''
|
|
transactions: {}
|
|
uncaptured_funds: false
|
|
used_for_payment: false
|
|
bitcoin_transaction:
|
|
amount: 100
|
|
bitcoin_amount: 1757908
|
|
created: 1234567890
|
|
currency: usd
|
|
id: btctxn_19xOmZA6KsQaPpsx5FnHoZis
|
|
object: bitcoin_transaction
|
|
receiver: btcrcv_19xOmZB4YnRyKoofPMbLFiZa
|
|
card:
|
|
3d_secure: {}
|
|
account: ''
|
|
address_city: ''
|
|
address_country: ''
|
|
address_line1: ''
|
|
address_line1_check: ''
|
|
address_line2: ''
|
|
address_state: ''
|
|
address_zip: ''
|
|
address_zip_check: ''
|
|
available_payout_methods: []
|
|
brand: Visa
|
|
country: ''
|
|
currency: ''
|
|
customer: ''
|
|
cvc_check: ''
|
|
default_for_currency: false
|
|
description: ''
|
|
dynamic_last4: ''
|
|
emv_auth_data: ''
|
|
estimated_availability: ''
|
|
exp_month: 8
|
|
exp_year: 2018
|
|
fingerprint: ''
|
|
funding: unknown
|
|
google_reference: ''
|
|
id: card_19xOmYA6KsQaPpsx93IwBRHM
|
|
iin: ''
|
|
issuer: ''
|
|
last4: '4242'
|
|
metadata: {}
|
|
name: ''
|
|
object: card
|
|
recipient: ''
|
|
three_d_secure: {}
|
|
tokenization_method: ''
|
|
charge:
|
|
alternate_statement_descriptors: {}
|
|
amount: 100
|
|
amount_authorized: 0
|
|
amount_captured: 0
|
|
amount_refunded: 0
|
|
application: ''
|
|
application_fee: ''
|
|
application_fees_refunded: 0
|
|
authorization_code: ''
|
|
balance_transaction: txn_19xOmYA6KsQaPpsxgSCbKQ3d
|
|
captured: true
|
|
card: {}
|
|
created: 1234567890
|
|
currency: usd
|
|
customer: ''
|
|
description: My First Test Charge (created for API docs)
|
|
destination: ''
|
|
dispute: ''
|
|
failure_code: ''
|
|
failure_message: ''
|
|
fee_balance_transactions: {}
|
|
fraud_details: {}
|
|
id: ch_19xOmYA6KsQaPpsxRpMRzREK
|
|
invoice: ''
|
|
level3: {}
|
|
livemode: false
|
|
metadata: {}
|
|
object: charge
|
|
on_behalf_of: ''
|
|
order: ''
|
|
outcome: {}
|
|
paid: true
|
|
receipt_email: ''
|
|
receipt_number: ''
|
|
refunded: false
|
|
refunds:
|
|
data: []
|
|
has_more: false
|
|
object: list
|
|
total_count: 0
|
|
url: "/v1/charges/ch_19xOmYA6KsQaPpsxRpMRzREK/refunds"
|
|
review: ''
|
|
shipping: {}
|
|
source:
|
|
address_city:
|
|
address_country:
|
|
address_line1:
|
|
address_line1_check:
|
|
address_line2:
|
|
address_state:
|
|
address_zip:
|
|
address_zip_check:
|
|
brand: Visa
|
|
country:
|
|
customer:
|
|
cvc_check:
|
|
dynamic_last4:
|
|
exp_month: 8
|
|
exp_year: 2018
|
|
funding: unknown
|
|
id: card_19xOmYA6KsQaPpsx93IwBRHM
|
|
last4: '4242'
|
|
metadata: {}
|
|
name:
|
|
object: card
|
|
tokenization_method:
|
|
source_transfer: ''
|
|
statement_descriptor: ''
|
|
status: succeeded
|
|
transfer: ''
|
|
transfer_group: ''
|
|
trust: {}
|
|
country_spec:
|
|
default_currency: usd
|
|
field_schemas: {}
|
|
id: US
|
|
object: country_spec
|
|
supported_bank_account_currencies:
|
|
usd:
|
|
- US
|
|
supported_payment_currencies:
|
|
- "..."
|
|
- aed
|
|
- afn
|
|
- usd
|
|
supported_payment_methods:
|
|
- alipay
|
|
- card
|
|
- stripe
|
|
verification_fields:
|
|
company:
|
|
additional: []
|
|
minimum: []
|
|
individual:
|
|
additional: []
|
|
minimum: []
|
|
coupon:
|
|
amount_off: 0
|
|
created: 1234567890
|
|
currency: usd
|
|
duration: repeating
|
|
duration_in_months: 3
|
|
id: 25OFF
|
|
livemode: false
|
|
max_redemptions: 0
|
|
metadata: {}
|
|
object: coupon
|
|
percent_off: 25
|
|
redeem_by: 1234567890
|
|
times_redeemed: 0
|
|
valid: true
|
|
customer:
|
|
account_balance: 0
|
|
alipay_accounts: {}
|
|
bank_accounts: {}
|
|
business_vat_id: ''
|
|
cards: {}
|
|
created: 1234567890
|
|
currency: usd
|
|
default_bank_account: ''
|
|
default_card: ''
|
|
default_source: ''
|
|
default_source_type: ''
|
|
delinquent: false
|
|
description: ''
|
|
discount: {}
|
|
email: ''
|
|
id: cus_AHykWO1tNrvBO2
|
|
livemode: false
|
|
metadata: {}
|
|
object: customer
|
|
shipping: {}
|
|
sources:
|
|
data: []
|
|
has_more: false
|
|
object: list
|
|
total_count: 0
|
|
url: "/v1/customers/cus_AHykWO1tNrvBO2/sources"
|
|
subscription: {}
|
|
subscriptions: {}
|
|
trust: {}
|
|
customer_source:
|
|
customer: ''
|
|
id: ba_19xOmZA6KsQaPpsx7DTyLvtT
|
|
metadata: {}
|
|
object: bank_account
|
|
discount:
|
|
coupon:
|
|
amount_off:
|
|
created: 1489533023
|
|
currency: usd
|
|
duration: repeating
|
|
duration_in_months: 3
|
|
id: 25OFF
|
|
livemode: false
|
|
max_redemptions:
|
|
metadata: {}
|
|
object: coupon
|
|
percent_off: 25
|
|
redeem_by:
|
|
times_redeemed: 0
|
|
valid: true
|
|
customer: cus_AHykWO1tNrvBO2
|
|
end: 1234567890
|
|
object: discount
|
|
start: 1234567890
|
|
subscription: ''
|
|
dispute:
|
|
accepted_at: 1234567890
|
|
amount: 1000
|
|
balance_transaction: ''
|
|
balance_transactions: []
|
|
charge: ch_19xOmYA6KsQaPpsxRpMRzREK
|
|
closed_at: 1234567890
|
|
created: 1234567890
|
|
currency: usd
|
|
escalated_at: 1234567890
|
|
evidence:
|
|
access_activity_log:
|
|
billing_address:
|
|
cancellation_policy:
|
|
cancellation_policy_disclosure:
|
|
cancellation_rebuttal:
|
|
customer_communication:
|
|
customer_email_address:
|
|
customer_name:
|
|
customer_purchase_ip:
|
|
customer_signature:
|
|
duplicate_charge_documentation:
|
|
duplicate_charge_explanation:
|
|
duplicate_charge_id:
|
|
product_description:
|
|
receipt:
|
|
refund_policy:
|
|
refund_policy_disclosure:
|
|
refund_refusal_explanation:
|
|
service_date:
|
|
service_documentation:
|
|
shipping_address:
|
|
shipping_carrier:
|
|
shipping_date:
|
|
shipping_documentation:
|
|
shipping_tracking_number:
|
|
uncategorized_file:
|
|
uncategorized_text:
|
|
evidence_details:
|
|
due_by: 1491177599
|
|
has_evidence: false
|
|
past_due: false
|
|
submission_count: 0
|
|
evidence_submitted_at: []
|
|
id: dp_19xOmYA6KsQaPpsxF27xl8iJ
|
|
is_charge_refundable: false
|
|
is_protected: false
|
|
livemode: false
|
|
metadata: {}
|
|
network_reason_code: ''
|
|
object: dispute
|
|
reason: general
|
|
status: needs_response
|
|
event:
|
|
api_version: ''
|
|
created: 1234567890
|
|
customer_email: ''
|
|
data:
|
|
object:
|
|
amount: 2000
|
|
created: 1489533023
|
|
currency: usd
|
|
id: gold
|
|
interval: month
|
|
interval_count: 1
|
|
livemode: false
|
|
metadata: {}
|
|
name: Gold Special
|
|
object: plan
|
|
statement_descriptor:
|
|
trial_period_days:
|
|
id: evt_19xOmZA6KsQaPpsxg3PnM6Ax
|
|
livemode: false
|
|
object: event
|
|
pending_webhooks: 0
|
|
recipient_best_description: ''
|
|
request: ''
|
|
type: plan.created
|
|
external_account_source:
|
|
account: acct_19xOmSA6KsQaPpsx
|
|
address_city: ''
|
|
address_line1: ''
|
|
address_line2: ''
|
|
address_state: ''
|
|
address_zip: ''
|
|
country: US
|
|
currency: usd
|
|
customer: ''
|
|
default_for_currency: false
|
|
fingerprint: rhUqyC2EcjMewT6o
|
|
id: ba_19xOmZA6KsQaPpsx7DTyLvtT
|
|
last4: '6789'
|
|
metadata: {}
|
|
object: bank_account
|
|
fee_refund:
|
|
amount: 100
|
|
balance_transaction: ''
|
|
created: 1234567890
|
|
currency: usd
|
|
fee: fee_19xOmZA6KsQaPpsxZCoZI7Ep
|
|
id: fr_AHykVrc8RYtq3K
|
|
metadata: {}
|
|
object: fee_refund
|
|
invoice:
|
|
amount_due: 0
|
|
application_fee: 0
|
|
attempt_count: 0
|
|
attempted: false
|
|
billing: ''
|
|
charge: ''
|
|
closed: false
|
|
currency: usd
|
|
customer: cus_AHykWO1tNrvBO2
|
|
date: 1234567890
|
|
description: ''
|
|
discount: {}
|
|
due_date: 1234567890
|
|
ending_balance: 0
|
|
forgiven: false
|
|
id: in_19xOmZA6KsQaPpsxpXZEk0Jl
|
|
lines:
|
|
data:
|
|
- amount: 2000
|
|
currency: usd
|
|
description:
|
|
discountable: true
|
|
id: sub_AHyk2EXaU2gAEV
|
|
livemode: true
|
|
metadata: {}
|
|
object: line_item
|
|
period:
|
|
end: 1494803422
|
|
start: 1492211422
|
|
plan:
|
|
amount: 2000
|
|
created: 1489533023
|
|
currency: usd
|
|
id: gold
|
|
interval: month
|
|
interval_count: 1
|
|
livemode: false
|
|
metadata: {}
|
|
name: Gold Special
|
|
object: plan
|
|
statement_descriptor:
|
|
trial_period_days:
|
|
proration: false
|
|
quantity: 1
|
|
subscription:
|
|
subscription_item: si_19xOmYB4YnRyKoofnPXr05OV
|
|
type: subscription
|
|
object: list
|
|
total_count: 1
|
|
url: "/v1/invoices/in_19xOmZA6KsQaPpsxpXZEk0Jl/lines"
|
|
livemode: false
|
|
metadata: {}
|
|
next_payment_attempt: 1234567890
|
|
number: ''
|
|
object: invoice
|
|
paid: false
|
|
period_end: 1234567890
|
|
period_start: 1234567890
|
|
receipt_number: ''
|
|
starting_balance: 0
|
|
statement_descriptor: ''
|
|
subscription: ''
|
|
subscription_proration_date: 0
|
|
subtotal: 0
|
|
tax: 0
|
|
tax_percent: 0.0
|
|
total: 0
|
|
webhooks_delivered_at: 1234567890
|
|
invoice_item:
|
|
amount: 1000
|
|
currency: usd
|
|
customer: cus_AHykWO1tNrvBO2
|
|
date: 1234567890
|
|
description: My First Invoice Item (created for API docs)
|
|
discountable: true
|
|
id: ii_19xOmZA6KsQaPpsxw92LOZet
|
|
invoice: ''
|
|
livemode: false
|
|
metadata: {}
|
|
object: invoiceitem
|
|
period:
|
|
end: 1489533023
|
|
start: 1489533023
|
|
plan: {}
|
|
proration: false
|
|
quantity: 0
|
|
subscription: ''
|
|
subscription_item: ''
|
|
invoice_line_item:
|
|
amount: 1000
|
|
currency: usd
|
|
description: My First Invoice Item (created for API docs)
|
|
discountable: true
|
|
id: ii_19xOmZA6KsQaPpsxw92LOZet
|
|
livemode: false
|
|
metadata: {}
|
|
object: line_item
|
|
period:
|
|
end: 1489533023
|
|
start: 1489533023
|
|
plan: {}
|
|
proration: false
|
|
quantity: 0
|
|
subscription: ''
|
|
subscription_item: ''
|
|
type: invoiceitem
|
|
legacy_transfer:
|
|
amount: 1100
|
|
amount_reversed: 0
|
|
application_fee: ''
|
|
auto: false
|
|
balance_transaction: ''
|
|
bank_account: {}
|
|
card: {}
|
|
created: 1234567890
|
|
currency: usd
|
|
date: 1234567890
|
|
delay_reason: ''
|
|
description: Transfer to test@example.com
|
|
destination: ba_19xOmZA6KsQaPpsxBhLhCCLJ
|
|
destination_payment: ''
|
|
failure_code: ''
|
|
failure_message: ''
|
|
id: tr_19xOmZA6KsQaPpsxxTnirGHq
|
|
legacy_date: 1234567890
|
|
livemode: false
|
|
metadata: {}
|
|
method: standard
|
|
object: transfer
|
|
recipient: ''
|
|
reversals:
|
|
data: []
|
|
has_more: false
|
|
object: list
|
|
total_count: 0
|
|
url: "/v1/transfers/tr_19xOmZA6KsQaPpsxxTnirGHq/reversals"
|
|
reversed: false
|
|
source_transaction: ''
|
|
source_type: card
|
|
statement_descriptor: ''
|
|
status: in_transit
|
|
transfer_group: ''
|
|
type: bank_account
|
|
user_visible_date: 1234567890
|
|
order:
|
|
amount: 1500
|
|
amount_returned: 0
|
|
application: ''
|
|
application_fee: 0
|
|
charge: ''
|
|
created: 1234567890
|
|
currency: usd
|
|
customer: ''
|
|
email: ''
|
|
external_coupon_code: ''
|
|
external_sku_ids: []
|
|
id: or_19xOmbA6KsQaPpsxdJuNEqnx
|
|
items:
|
|
- amount: 1500
|
|
currency: usd
|
|
description: T-shirt
|
|
object: order_item
|
|
parent: sk_19xOmbA6KsQaPpsx0niGDfiM
|
|
quantity:
|
|
type: sku
|
|
livemode: false
|
|
metadata: {}
|
|
object: order
|
|
returns:
|
|
data: []
|
|
has_more: false
|
|
object: list
|
|
total_count: 0
|
|
url: "/v1/order_returns?order=or_19xOmbA6KsQaPpsxdJuNEqnx"
|
|
selected_shipping_method: ''
|
|
shipping:
|
|
address:
|
|
city: Anytown
|
|
country: US
|
|
line1: 1234 Main street
|
|
line2:
|
|
postal_code: '123456'
|
|
state:
|
|
carrier:
|
|
name: Jenny Rosen
|
|
phone:
|
|
tracking_number:
|
|
shipping_methods: {}
|
|
signature: ''
|
|
status: created
|
|
status_transitions: {}
|
|
updated: 1234567890
|
|
upstream_id: ''
|
|
order_return:
|
|
amount: 1500
|
|
created: 1234567890
|
|
currency: usd
|
|
id: orret_19xOmbA6KsQaPpsxFhO0lEnm
|
|
items:
|
|
- amount: 1500
|
|
currency: usd
|
|
description: T-shirt
|
|
object: order_item
|
|
parent: sk_19xOmbA6KsQaPpsx0niGDfiM
|
|
quantity:
|
|
type: sku
|
|
livemode: false
|
|
object: order_return
|
|
order: or_19xOmbA6KsQaPpsxcibE2Kys
|
|
refund: re_19xOmbA6KsQaPpsxweFlRcU7
|
|
plan:
|
|
amount: 2000
|
|
created: 1234567890
|
|
currency: usd
|
|
id: gold
|
|
interval: month
|
|
interval_count: 1
|
|
livemode: false
|
|
metadata: {}
|
|
name: Gold Special
|
|
object: plan
|
|
statement_descriptor: ''
|
|
trial_period_days: 0
|
|
platform_earning:
|
|
account: acct_19xOmSA6KsQaPpsx
|
|
amount: 100
|
|
amount_refunded: 0
|
|
application: ca_AHykjKaDnL4KjnMmmkLzuwqk9hkgJA5M
|
|
balance_transaction: txn_19xOmYA6KsQaPpsxgSCbKQ3d
|
|
charge: ch_19xOmYA6KsQaPpsxRpMRzREK
|
|
created: 1234567890
|
|
currency: usd
|
|
id: fee_19xOmZA6KsQaPpsxZCoZI7Ep
|
|
livemode: false
|
|
object: application_fee
|
|
originating_transaction: ''
|
|
refunded: false
|
|
refunds:
|
|
data: []
|
|
has_more: false
|
|
object: list
|
|
total_count: 0
|
|
url: "/v1/application_fees/fee_19xOmZA6KsQaPpsxZCoZI7Ep/refunds"
|
|
product:
|
|
active: true
|
|
attributes:
|
|
- gender
|
|
- size
|
|
caption: ''
|
|
created: 1234567890
|
|
deactivate_on: []
|
|
description: Comfortable gray cotton t-shirts
|
|
donation: false
|
|
id: prod_AHyk8gTS1wCWqa
|
|
images: []
|
|
livemode: false
|
|
metadata: {}
|
|
name: T-shirt
|
|
object: product
|
|
package_dimensions: {}
|
|
reason_product_not_tweetable: ''
|
|
shippable: true
|
|
skus:
|
|
data: []
|
|
has_more: false
|
|
object: list
|
|
total_count: 0
|
|
url: "/v1/skus?product=prod_AHyk8gTS1wCWqa&active=true"
|
|
tweetable_url: ''
|
|
updated: 1234567890
|
|
url: ''
|
|
refund:
|
|
amount: 100
|
|
balance_transaction: ''
|
|
charge: ch_19xOmYA6KsQaPpsxRpMRzREK
|
|
created: 1234567890
|
|
currency: usd
|
|
description: ''
|
|
fee_balance_transactions: {}
|
|
id: re_19xOmYA6KsQaPpsxnI34WZGS
|
|
metadata: {}
|
|
object: refund
|
|
reason: ''
|
|
receipt_number: ''
|
|
status: succeeded
|
|
type: ''
|
|
sku:
|
|
active: true
|
|
attributes:
|
|
gender: Unisex
|
|
size: Medium
|
|
created: 1234567890
|
|
currency: usd
|
|
id: sku_AHyktKapJTzgmX
|
|
image: ''
|
|
inventory:
|
|
quantity: 50
|
|
type: finite
|
|
value:
|
|
livemode: false
|
|
metadata: {}
|
|
object: sku
|
|
package_dimensions: {}
|
|
price: 1500
|
|
product: prod_AHyk8gTS1wCWqa
|
|
updated: 1234567890
|
|
source:
|
|
amount: 0
|
|
client_secret: ''
|
|
code_verification: {}
|
|
created: 1234567890
|
|
currency: ''
|
|
customer: ''
|
|
flow: ''
|
|
id: card_19xOmYA6KsQaPpsx93IwBRHM
|
|
livemode: false
|
|
metadata: {}
|
|
object: card
|
|
order: ''
|
|
owner: {}
|
|
receiver: {}
|
|
redirect: {}
|
|
status: ''
|
|
type: ''
|
|
usage: ''
|
|
subscription:
|
|
account_balance: 0
|
|
application_fee_percent: 0.0
|
|
billing: ''
|
|
cancel_at_period_end: false
|
|
canceled_at: 1234567890
|
|
created: 1234567890
|
|
current_period_end: 1234567890
|
|
current_period_start: 1234567890
|
|
customer: cus_AHykJG3Ru2BgKh
|
|
days_until_due: 0
|
|
discount: {}
|
|
ended_at: 1234567890
|
|
id: sub_AHyk2EXaU2gAEV
|
|
items:
|
|
data:
|
|
- created: 1489533023
|
|
id: si_19xOmYB4YnRyKoofnPXr05OV
|
|
object: subscription_item
|
|
plan:
|
|
amount: 2000
|
|
created: 1489533022
|
|
currency: usd
|
|
id: gold
|
|
interval: month
|
|
interval_count: 1
|
|
livemode: false
|
|
metadata: {}
|
|
name: Gold Special
|
|
object: plan
|
|
statement_descriptor:
|
|
trial_period_days:
|
|
quantity: 1
|
|
has_more: false
|
|
object: list
|
|
total_count: 1
|
|
url: "/v1/subscription_items?subscription=sub_AHyk2EXaU2gAEV"
|
|
livemode: false
|
|
max_occurrences: 0
|
|
metadata: {}
|
|
object: subscription
|
|
on_behalf_of: ''
|
|
plan:
|
|
amount: 2000
|
|
created: 1489533022
|
|
currency: usd
|
|
id: gold
|
|
interval: month
|
|
interval_count: 1
|
|
livemode: false
|
|
metadata: {}
|
|
name: Gold Special
|
|
object: plan
|
|
statement_descriptor:
|
|
trial_period_days:
|
|
quantity: 1
|
|
retains_own_balance: false
|
|
start: 1234567890
|
|
status: active
|
|
tax_percent: 0.0
|
|
trial_end: 1234567890
|
|
trial_start: 1234567890
|
|
subscription_item:
|
|
created: 1489533023
|
|
id: si_19xOmZB4YnRyKoofmmqQD542
|
|
object: subscription_item
|
|
plan:
|
|
amount: 2000
|
|
created: 1489533022
|
|
currency: usd
|
|
id: gold
|
|
interval: month
|
|
interval_count: 1
|
|
livemode: false
|
|
metadata: {}
|
|
name: Gold Special
|
|
object: plan
|
|
statement_descriptor:
|
|
trial_period_days:
|
|
quantity: 1
|
|
three_d_secure:
|
|
amount: 1500
|
|
authenticated: false
|
|
card:
|
|
address_city:
|
|
address_country:
|
|
address_line1:
|
|
address_line1_check:
|
|
address_line2:
|
|
address_state:
|
|
address_zip:
|
|
address_zip_check:
|
|
brand: Visa
|
|
country:
|
|
customer:
|
|
cvc_check:
|
|
dynamic_last4:
|
|
exp_month: 8
|
|
exp_year: 2018
|
|
funding: unknown
|
|
id: card_19xOmZA6KsQaPpsx1TPW9v1Z
|
|
last4: '4242'
|
|
metadata: {}
|
|
name:
|
|
object: card
|
|
tokenization_method:
|
|
created: 1234567890
|
|
currency: usd
|
|
id: tdsrc_AHyk0Ny8jTjJoy
|
|
livemode: false
|
|
object: three_d_secure
|
|
redirect_url: http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_AHyk0Ny8jTjJoy
|
|
status: redirect_pending
|
|
token:
|
|
account_details: {}
|
|
alipay_account: {}
|
|
bank_account: {}
|
|
card:
|
|
address_city:
|
|
address_country:
|
|
address_line1:
|
|
address_line1_check:
|
|
address_line2:
|
|
address_state:
|
|
address_zip:
|
|
address_zip_check:
|
|
brand: Visa
|
|
country:
|
|
cvc_check:
|
|
dynamic_last4:
|
|
exp_month: 8
|
|
exp_year: 2018
|
|
funding: unknown
|
|
id: card_19xOmZA6KsQaPpsx1TPW9v1Z
|
|
last4: '4242'
|
|
metadata: {}
|
|
name:
|
|
object: card
|
|
tokenization_method:
|
|
client_ip: ''
|
|
created: 1234567890
|
|
description: ''
|
|
email: ''
|
|
id: tok_19xOmZA6KsQaPpsxwCla8HhZ
|
|
livemode: false
|
|
object: token
|
|
type: card
|
|
usage: ''
|
|
used: false
|
|
transfer:
|
|
amount: 1100
|
|
amount_reversed: 0
|
|
balance_transaction: txn_19xOmYA6KsQaPpsxgSCbKQ3d
|
|
created: 1234567890
|
|
currency: usd
|
|
destination: ba_19xOmZA6KsQaPpsxBhLhCCLJ
|
|
destination_payment: ''
|
|
id: tr_19xOmZA6KsQaPpsxxTnirGHq
|
|
livemode: false
|
|
metadata: {}
|
|
object: transfer
|
|
reversals:
|
|
data: []
|
|
has_more: false
|
|
object: list
|
|
total_count: 0
|
|
url: "/v1/transfers/tr_19xOmZA6KsQaPpsxxTnirGHq/reversals"
|
|
reversed: false
|
|
transfer_group: ''
|
|
transfer_recipient:
|
|
active_account: {}
|
|
address_city: ''
|
|
address_country: ''
|
|
address_line1: ''
|
|
address_line2: ''
|
|
address_state: ''
|
|
address_zip: ''
|
|
cards:
|
|
data: []
|
|
has_more: false
|
|
object: list
|
|
total_count: 0
|
|
url: "/v1/recipients/rp_19xOmZA6KsQaPpsxz5JlUIpQ/cards"
|
|
country: ''
|
|
created: 1234567890
|
|
default_card: ''
|
|
description: Recipient for John Doe
|
|
dob_day: ''
|
|
dob_month: ''
|
|
dob_year: ''
|
|
email: test@example.com
|
|
id: rp_19xOmZA6KsQaPpsxz5JlUIpQ
|
|
livemode: false
|
|
metadata: {}
|
|
migrated_to: ''
|
|
name: John Doe
|
|
object: recipient
|
|
tin: ''
|
|
tin_verification_pending: false
|
|
type: individual
|
|
verified: false
|
|
transfer_reversal:
|
|
amount: 1100
|
|
balance_transaction: ''
|
|
created: 1234567890
|
|
currency: usd
|
|
id: trr_19xOmZA6KsQaPpsxg8vF5JSH
|
|
metadata: {}
|
|
object: transfer_reversal
|
|
transfer: tr_19xOmZA6KsQaPpsxxTnirGHq
|
|
upcoming_invoice:
|
|
amount_due: 0
|
|
application_fee: 0
|
|
attempt_count: 0
|
|
attempted: false
|
|
billing: ''
|
|
charge: ''
|
|
closed: false
|
|
currency: usd
|
|
customer: cus_AHykWO1tNrvBO2
|
|
date: 1234567890
|
|
description: ''
|
|
discount: {}
|
|
due_date: 1234567890
|
|
ending_balance: 0
|
|
forgiven: false
|
|
lines:
|
|
data: []
|
|
has_more: false
|
|
object: list
|
|
total_count: 0
|
|
url: "/v1/invoices/in_19xOmZA6KsQaPpsxpXZEk0Jl/lines"
|
|
livemode: false
|
|
metadata: {}
|
|
next_payment_attempt: 1234567890
|
|
number: ''
|
|
object: invoice
|
|
paid: false
|
|
period_end: 1234567890
|
|
period_start: 1234567890
|
|
receipt_number: ''
|
|
starting_balance: 0
|
|
statement_descriptor: ''
|
|
subscription: ''
|
|
subscription_proration_date: 0
|
|
subtotal: 0
|
|
tax: 0
|
|
tax_percent: 0.0
|
|
total: 0
|
|
webhooks_delivered_at: 1234567890
|