View Source ExOAPI.Stripe.SDK.Topups (exoapi_stripe v0.1.1)
Link to this section Summary
Functions
description: <p>Returns a list of top-ups.</p>
description: <p>Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned from your previous request, and Stripe will return the corresponding top-up information.</p>
description: <p>Top up the balance of an account</p>
description: <p>Updates the metadata of a top-up. Other top-up details are not editable by design.</p>
description: <p>Cancels a top-up. Only pending top-ups can be canceled.</p>
Link to this section Types
@type get_topups_topup_opts() :: {:expand, String.t()}
Link to this section Functions
@spec get_topups(client :: ExOAPI.Client.t(), [get_topups_opts()]) :: {:ok, any()} | {:error, any()}
description: <p>Returns a list of top-ups.</p>
@spec get_topups_topup( client :: ExOAPI.Client.t(), topup :: String.t(), [get_topups_topup_opts()] ) :: {:ok, any()} | {:error, any()}
description: <p>Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned from your previous request, and Stripe will return the corresponding top-up information.</p>
@spec post_topups(client :: ExOAPI.Client.t(), body :: map()) :: {:ok, any()} | {:error, any()}
description: <p>Top up the balance of an account</p>
@spec post_topups_topup( client :: ExOAPI.Client.t(), body :: map(), topup :: String.t() ) :: {:ok, any()} | {:error, any()}
description: <p>Updates the metadata of a top-up. Other top-up details are not editable by design.</p>
@spec post_topups_topup_cancel( client :: ExOAPI.Client.t(), body :: map(), topup :: String.t() ) :: {:ok, any()} | {:error, any()}
description: <p>Cancels a top-up. Only pending top-ups can be canceled.</p>