stripity_stripe v2.0.0-alpha.6 Stripe.Charge
Work with Stripe charge objects.
You can:
- Retrieve a charge
Stripe API reference: https://stripe.com/docs/api#charge
Summary
Types
t()
t :: %Stripe.Charge{created: term, outcome: term, refunded: term, failure_message: term, fraud_details: term, amount_refunded: term, invoice: term, metadata: term, status: term, application_fee: term, description: term, refunds: term, review: term, captured: term, receipt_email: term, customer: term, statement_descriptor: term, currency: term, source: term, transfer: term, destination: term, failure_code: term, id: term, paid: term, receipt_number: term, application: term, object: term, livemode: term, order: term, dispute: term, source_transfer: term, shipping: term, amount: term, balance_transaction: term}
Functions
Create a charge.
retrieve(id, opts \\ [])
retrieve(binary, Keyword.t) :: {:ok, t} | {:error, Stripe.api_error_struct}
Retrieve a charge.