Skip to content

Instantly share code, notes, and snippets.

@drsii
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drsii/4b6732dfb6bb3e77306d to your computer and use it in GitHub Desktop.
Save drsii/4b6732dfb6bb3e77306d to your computer and use it in GitHub Desktop.
cartalyst-stripe-readme

xx-May-14 - v1.0.0

API

  • Charges

    • Create a new charge
    • Update an existing charge
    • Capture the payment of an existing, uncaptured, charge
    • Refund a charge
    • Retrieve all the charges
    • Retrieve an existing charge
  • Refunds

    • Retrieve an existing refund
    • Update a refund
    • Retrieve all the refunds
  • Customers

    • Create a new customer
    • Update an existing customer
    • Delete an existing customer
    • Retrieve all the existing customers
    • Retrieve an existing customer
    • Delete an existing customer discount
  • Cards

    • Create a new card
    • Update a card
    • Delete a card
    • Retrieve all cards attached to a customer
    • Retrieve a card attached to an existing customer
  • Subscriptions

    • Create a new subscription
    • Update a subscription
    • Cancel a subscription
    • Retrieve all active subscriptions
    • Retrieve an existing subscription
    • Delete an existing subscription discount
  • Plans

    • Create a new plan
    • Update an existing plan
    • Delete an existing plan
    • Retrieve all the existing plans
    • Retrieve an existing plan
  • Coupons

    • Create a new coupon
    • Delete an existing coupon
    • Retrieve all the existing coupons
    • Retrieve an existing coupon
  • Invoices

    • Create a new invoice
    • Update an existing invoice
    • Delete an existing invoice
    • Retrieve all the existing invoices
    • Retrieve an existing invoice
    • Retrieve an existing invoice line items
    • Retrieve the upcoming invoice
    • Pay an existing invoice
  • Invoice Items

    • Create a new invoice item
    • Update an existing invoice item
    • Delete an existing invoice item
    • Retrieve all the existing invoice items
    • Retrieve an existing invoice item
  • Disputes

    • Update a dispute
    • Close a dispute
  • Transfers

    • Create a new transfer
    • Update an existing transfer
    • Cancel an existing transfer
    • Retrieve all the existing transfers
    • Retrieve an existing transfer
  • Recipients

    • Create a new recipient
    • Update an existing recipient
    • Delete an existing recipient
    • Retrieve all the existing recipients
    • Retrieve an existing recipient
  • Application Fees

    • Retrieve all the existing application fees
    • Retrieve an existing application fee
    • Refund an application fee
  • Account

    • Retrieve the account details
  • Balance

    • Retrieve all the transactions
    • Retrieve an existing transaction balance history
    • Retrieve the current balance
  • Events

    • Retrieve all the events
    • Retrieve an event
  • Tokens

    • Create a new card token
    • Create a new bank account token
    • Retrieve an existing token

Billable entities

  • Can apply a coupon to the user.
  • Can swap the default user credit card.
  • Can list all the attached credit cards.
  • Can attach new credit cards.
  • Can update existing credit cards.
  • Can delete existing credit cards.
  • Can make an existing credit card the default credit card.
  • Can check if the user has any active credit cards.
  • Can list all the charges the user has made.
  • Can create a new charge.
  • Can create a new charge to be captured later.
  • Can create a new charge with a new credit card.
  • Can refund charges.
  • Can list all the subscriptions the user has.
  • Can create a new subscription.
  • Can create a new subscription with a trial period.
  • Can create a new subscription and apply a coupon to the subscription.
  • Can cancel an active subscription.
  • Can cancel an active subscription at the end of the period.
  • Can resume a canceled subscription.
  • Can resume a canceled subscription and remove its trial period.
  • Can resume a canceled subscription and change its trial period end date.
  • Can apply a coupon to an existing subscription.
  • Can remove a coupon from an existing subscription.
  • Can apply a trial period on an existing subscription.
  • Can remove a trial period from an existing subscription.
  • Can check if the subscription is on its trial period.
  • Can check if the subscription is canceled.
  • Can check if the subscription has expired.
  • Can check if the subscription is on the grace period.
  • Can check if the user has any active subscriptions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment