-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cfcc706
commit 27c7f04
Showing
1 changed file
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,73 @@ title: Slack Notification Variables | |
sidebar_label: Slack Variables | ||
sidebar_position: 1 | ||
--- | ||
Docs here | ||
Here you can find the template variables for slack notitifactions. | ||
|
||
## Customer Created | ||
|
||
| Name | Description | Example | | ||
| --- | --- | --- | | ||
| customer.id | The ID of the customer | `6edfd773-6772-4607-b869-4f10622c948b` | | ||
| customer.email | The email of the customer | `[email protected]` | | ||
| customer.brand | The brand of the customer | `default` | | ||
| customer.billing_type | How the customer is billed | `invoice` or `card` | | ||
| customer.customer_type | If the customer is a business or a sole indivual | `business` | | ||
|
||
## Payment Processed | ||
|
||
| Name | Description | Example | | ||
| --- | --- | --- | | ||
| customer.id | The ID of the customer | `6edfd773-6772-4607-b869-4f10622c948b` | | ||
| customer.email | The email of the customer | `[email protected]` | | ||
| customer.brand | The brand of the customer | `default` | | ||
| customer.billing_type | How the customer is billed | `invoice` or `card` | | ||
| customer.customer_type | If the customer is a business or a sole indivual | `business` | | ||
| payment.amount | The amount that we attempted to collect as an int | `1000` | | ||
| payment.currency | The currency that we attempted to collect | `USD` | | ||
| payment.formatted_amount | The amount formatted | `USD 10.00` | | ||
|
||
|
||
## Payment Failed | ||
|
||
| Name | Description | Example | | ||
| --- | --- | --- | | ||
| customer.id | The ID of the customer | `6edfd773-6772-4607-b869-4f10622c948b` | | ||
| customer.email | The email of the customer | `[email protected]` | | ||
| customer.brand | The brand of the customer | `default` | | ||
| customer.billing_type | How the customer is billed | `invoice` or `card` | | ||
| customer.customer_type | If the customer is a business or a sole indivual | `business` | | ||
| payment_attempt.amount | The amount that we attempted to collect as an int | `1000` | | ||
| payment_attempt.currency | The currency that we attempted to collect | `USD` | | ||
| payment_attempt.formatted_amount | The amount formatted | `USD 10.00` | | ||
|
||
|
||
## Subscription Created | ||
|
||
| Name | Description | Example | | ||
| --- | --- | --- | | ||
| customer.id | The ID of the customer | `6edfd773-6772-4607-b869-4f10622c948b` | | ||
| customer.email | The email of the customer | `[email protected]` | | ||
| customer.brand | The brand of the customer | `default` | | ||
| customer.billing_type | How the customer is billed | `invoice` or `card` | | ||
| customer.customer_type | If the customer is a business or a sole indivual | `business` | | ||
| subscription.id | The ID of the subscription | `c15fe43c-94af-4cd2-baa2-1eefc724a03c` | | ||
| subscription.plan_name | The name of the plan | `cool_plan` | | ||
| subscription.seats_number | The number of seats for the plan | 4 | | ||
| subscrtipion.start_date | The start date of the subscription | | | ||
| subscrtipion.valid_until | The end date of the subscription | | | ||
|
||
|
||
## Subscription Cancelled | ||
|
||
| Name | Description | Example | | ||
| --- | --- | --- | | ||
| customer.id | The ID of the customer | `6edfd773-6772-4607-b869-4f10622c948b` | | ||
| customer.email | The email of the customer | `[email protected]` | | ||
| customer.brand | The brand of the customer | `default` | | ||
| customer.billing_type | How the customer is billed | `invoice` or `card` | | ||
| customer.customer_type | If the customer is a business or a sole indivual | `business` | | ||
| subscription.id | The ID of the subscription | `c15fe43c-94af-4cd2-baa2-1eefc724a03c` | | ||
| subscription.plan_name | The name of the plan | `cool_plan` | | ||
| subscription.seats_number | The number of seats for the plan | 4 | | ||
| subscrtipion.start_date | The start date of the subscription | | | ||
| subscrtipion.valid_until | The end date of the subscription | | |