App types
AppCharges
Fields
- Name
list
- Label
[AppCharge!]!
- Description
The app charges list.
Request
POST
https://services.lightfunnels.com/api/v2 # Query
query AppChargeQuery{
appCharges{
list {
# AppCharge type fields
}
}
}
AppCharge
Fields
- Name
id
- Type
- ID!
- Description
Unique identifier for the app charge.
- Name
price
- Type
- Float!
- Description
The app charge amount.
- Name
name
- Type
- String!
- Description
The app charge name (plan name).
- Name
return_url
- Type
- String!
- Description
The app charge return url.
- Name
trial
- Type
- Int!
- Description
The app charge trial days.
- Name
url
- Type
- String!
- Description
The app charge url.
- Name
started_at
- Label
TimeStamp!
- Description
Timestamp of when the app charge initiated.
- Name
accepted_at
- Label
TimeStamp!
- Description
Timestamp of when the app charge was accepted.
- Name
ended_at
- Label
TimeStamp!
- Description
Timestamp of when the app charge ended.
- Name
recurring
- Label
AppChargeInterval
- Description
The app charge recurring type.
- Name
app_client_id
- Type
- String!
- Description
The app client id.
- Name
test
- Type
- Boolean!
- Description
App charge test boolean.
AppChargeInput
- Name
price
- Type
- Float!
- Description
The app charge amount.
- Name
return_url
- Type
- String!
- Description
The app charge return url.
- Name
name
- Type
- String!
- Description
The app charge name (plan name).
- Name
recurring
- Label
AppChargeInterval
- Description
The app charge recurring type.
- Name
trial
- Type
- Int!
- Description
The app charge trial days.
- Name
plan_id
- Type
- ID!
- Description
The app plan id.
- Name
test
- Type
- Boolean! = false
- Description
App charge test boolean.
createAppChargeInput
Fields
- Name
node
- Label
AppChargeInput!
- Description
The app charge object node.
Request
POST
https://services.lightfunnels.com/api/v2 # Mutation
mutation createAppChargeMutation($input: createAppChargeInput!) {
createAppCharge(input: $input) {
createAppChargePayload type fields
}
}
createAppChargePayload
Fields
- Name
appCharge
- Label
AppCharge!
- Description
The app charge type.
AppChargeInterval
- Name
AppChargeInterval
- Type
- enum
- Description
The app charge interval (defaults to month).