New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create StripeTransfer model #369

Closed
joshsmith opened this Issue Oct 18, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@joshsmith
Contributor

joshsmith commented Oct 18, 2016

For #258

Per Stripe's documentation: https://stripe.com/docs/api#transfer_object

ATTRIBUTES

  • `id string
  • object string, value is "transfer"
  • amount integer Amount (in cents) to be transferred to your bank account
  • amount_reversed integer Amount in cents reversed (can be less than the amount attribute on the transfer if a partial reversal was issued).
  • application_fee string
  • balance_transaction string Balance transaction that describes the impact of this transfer on your account balance.
  • created timestamp Time that this record of the transfer was first created.
  • currency
  • date timestamp Date the transfer is scheduled to arrive in the bank. This factors in delays like weekends or bank holidays.
  • description string Internal-only description of the transfer
  • destination string ID of the bank account, card, or Stripe account the transfer was sent to.
  • destination_payment string If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer.
  • failure_code string Error code explaining reason for transfer failure if available. See Types of transfer failures for a list of failure codes.
  • failure_message string Message to user further explaining reason for transfer failure if available.
  • livemode boolean
  • method string The method used to send this transfer, which can be standard or instant. instant is only supported for transfers to debit cards. (See Instant payouts for marketplaces for more information.)
  • reversed boolean Whether or not the transfer has been fully reversed. If the transfer is only partially reversed, this attribute will still be false.
  • source_transaction string ID of the charge (or other transaction) that was used to fund the transfer. If null, the transfer was funded from the available balance.
  • source_type string The source balance this transfer came from. One of card, bank_account, bitcoin_receiver, or alipay_account
  • statement_descriptor string Extra information about a transfer to be displayed on the user’s bank statement.
  • status string Current status of the transfer (paid, pending, in_transit, canceled or failed). A transfer will be pending until it is submitted to the bank, at which point it becomes in_transit. It will then change to paid if the transaction goes through. If it does not go through successfully, its status will change to failed or canceled.
  • type string Can be card, bank_account, or stripe_account.

@joshsmith joshsmith referenced this issue Oct 18, 2016

Closed

Add models for donations #258

6 of 6 tasks complete
@joshsmith

This comment has been minimized.

Contributor

joshsmith commented Oct 19, 2016

Don't think this is actually needed.

@joshsmith joshsmith closed this Oct 19, 2016

@joshsmith joshsmith modified the milestone: Donations Nov 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment