Skip to main content
Corvus Connection

On Charge

Patreon
Trigger
entry.onChargeFires when a patron monthly charge clears (a paid charge). Binds the patron name (empty for anonymous patrons), entitled cents, currency, and when the charge cleared. Declined or pending charges do not fire.Triggers on a cleared Patreon charge; binds displayName / cents / currency / chargedAt.
MonetizationAlerts

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
displayName
Data
System.String
multiplexed
cents
Data
System.Int32
multiplexed
currency
Data
System.String
multiplexed
chargedAt
Data
System.DateTime
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    displayName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    cents
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed
  • Name
    currency
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    chargedAt
    Kind
    Data
    Type
    System.DateTime
    Flags
    multiplexed

Bindings

Name
Type
Description
displayName
System.String
The patron display name, or empty for an anonymous patron.
cents
System.Int32
The entitled pledge amount in cents.
currency
System.String
The ISO currency code of the campaign.
chargedAt
System.DateTime
When the charge cleared (UTC).
  • Name
    displayName
    Type
    System.String
    Description
    The patron display name, or empty for an anonymous patron.
  • Name
    cents
    Type
    System.Int32
    Description
    The entitled pledge amount in cents.
  • Name
    currency
    Type
    System.String
    Description
    The ISO currency code of the campaign.
  • Name
    chargedAt
    Type
    System.DateTime
    Description
    When the charge cleared (UTC).

Parameters

Name
Type
Required
Default
Choices
cooldownSeconds
System.Int32
no
0
None
perUserCooldownSeconds
System.Int32
no
0
None
debounceMs
System.Int32
no
0
None
dedupeKey
System.String
no
""
None
maxConcurrency
System.Int32
no
0
None
  • Name
    cooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    perUserCooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    debounceMs
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    dedupeKey
    Type
    System.String
    Required
    no
    Default
    ""
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Lowers to C#

[OnCharge] Handle(ctx, ChargeContext e)