Skip to main content

createSavehackLaunch

POST 

/savehack-launches

Create a new Savehack Launch.

Request

Body

required

    savehackLaunch

    object

    oneOf

    dreamId stringrequired
    savehackId stringrequired
    type stringrequired

    Possible values: [AutopilotLaunch]

Responses

Savehack Launch was created

Schema

    savehackLaunch

    object

    oneOf

    id uuidrequired

    dream

    object

    required

    id uuid
    targetCents integer

    Represents how much money (in cents or the smallest currency subunit) the User wants to save to complete this Dream.

    type string
    expiresAt RFC3339

    (Optional) DateTime before which the User wants to complete this Dream.

    achievedAt RFC3339

    Represents when the dream was completed

    name string
    balanceCents integer

    Current balance cents for dream

    deletedAt RFC3339

    Represents when the dream was deleted

    imageUrl string
    activeSavehacksCount integer

    Current count of active savehacks

    user

    object

    type stringrequired
    id stringrequired
    externalId string

    groupDream

    object

    (Optional) GroupDream this Dream is a part of.

    type stringrequired
    id stringrequired

    account

    object

    Identifies the account where all money towards this dream is stored

    type stringrequired
    id stringrequired
    externalId string

    savehack

    object

    required

    type stringrequired
    id stringrequired
    stoppedAt RFC3339nullable
    pausedAt RFC3339nullable

    dreamInspiration

    object

    nullable

    (Optional) The Dream Inspiration associated with this launch's Dream.

    id uuidrequired

    translatedName

    object

    [locale] string
    targetCents integer

    Possible values: >= 1 and <= 9223372036854776000

    Default value: 0

    durationSeconds integer
    imageUrl string
    type stringrequired

    Possible values: [DreamInspiration]

    type stringrequired

    Possible values: [AutopilotLaunch]

Loading...