View Source Stripe.ApplePayDomain (stripity_stripe v3.2.0)
Summary
Functions
Create an apple pay domain.
Delete an apple pay domain.
List apple pay domains.
Retrieve an apple pay domain.
Types
@type t() :: %Stripe.ApplePayDomain{ created: integer(), domain_name: binary(), id: binary(), livemode: boolean(), object: binary() }
The apple_pay_domain type.
createdTime at which the object was created. Measured in seconds since the Unix epoch.domain_nameidUnique identifier for the object.livemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.objectString representing the object's type. Objects of the same type share the same value.
Functions
@spec create( params :: %{ optional(:domain_name) => binary(), optional(:expand) => [binary()] }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Create an apple pay domain.
Details
- Method: 
post - Path: 
/v1/apple_pay/domains 
@spec delete(domain :: binary(), opts :: Keyword.t()) :: {:ok, Stripe.DeletedApplePayDomain.t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Delete an apple pay domain.
Details
- Method: 
delete - Path: 
/v1/apple_pay/domains/{domain} 
@spec list( params :: %{ optional(:domain_name) => binary(), optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:starting_after) => binary() }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
List apple pay domains.
Details
- Method: 
get - Path: 
/v1/apple_pay/domains 
@spec retrieve( domain :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieve an apple pay domain.
Details
- Method: 
get - Path: 
/v1/apple_pay/domains/{domain}