-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Made some properties nullable - Added fixes for Subscription Invoice Account endpoints - ListSubscriptionComponents include query parameter becomes list with additional possible value, `HISTORIC_USAGES`
- Loading branch information
1 parent
b49dd5d
commit f2b39d9
Showing
63 changed files
with
434 additions
and
392 deletions.
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
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
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
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
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
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 |
---|---|---|
|
@@ -364,13 +364,13 @@ For more information on Stripe Direct Debit, please view the following two resou | |
|
||
For more information on Stripe Direct Debit, please view the following two resources: | ||
|
||
+ [Payment Profiles via API for Stripe BECS Direct Debit](https://developers.chargify.com/docs/api-docs/1f10a4f170405-create-payment-profile#stripe-becs-direct-debit) | ||
+ [Payment Profiles via API for Stripe BECS Direct Debit]($e/Payment%20Profiles/createPaymentProfile) | ||
|
||
+ [Full documentation on Stripe Direct Debit](https://maxio-chargify.zendesk.com/hc/en-us/articles/5405050826765-Stripe-SEPA-and-BECS-Direct-Debit) | ||
|
||
+ [Using Chargify.js with Stripe SEPA or BECS Direct Debit - minimal example](https://developers.chargify.com/docs/developer-docs/ZG9jOjE0NjAzNDIy-examples#minimal-example-with-sepa-or-becs-direct-debit-stripe-gateway) | ||
+ [Using Chargify.js with Stripe SEPA, BECS or BACS Direct Debit - minimal example](page:development-tools/chargify-js/examples#minimal-example-with-sepa-becs-or-bacs-direct-debit-stripe-gateway) | ||
|
||
+ [Using Chargify.js with Stripe BECS Direct Debit - full example](https://developers.chargify.com/docs/developer-docs/ZG9jOjE0NjAzNDIy-examples#full-example-with-becs-direct-debit-stripe-gateway) | ||
+ [Using Chargify.js with Stripe BECS Direct Debit - full example](page:development-tools/chargify-js/examples#full-example-with-becs-direct-debit-stripe-gateway) | ||
|
||
```json | ||
{ | ||
|
@@ -391,6 +391,42 @@ For more information on Stripe Direct Debit, please view the following two resou | |
} | ||
``` | ||
|
||
## Subscription using Stripe BACS Direct Debit | ||
|
||
For more information on Stripe Direct Debit, please view the following two resources: | ||
|
||
+ [Payment Profiles via API for Stripe BACS Direct Debit]($e/Payment%20Profiles/createPaymentProfile) | ||
|
||
+ [Full documentation on Stripe Direct Debit](https://maxio-chargify.zendesk.com/hc/en-us/articles/5405050826765-Stripe-SEPA-and-BECS-Direct-Debit) | ||
|
||
+ [Using Chargify.js with Stripe SEPA, BECS or BACS Direct Debit - minimal example](page:development-tools/chargify-js/examples#minimal-example-with-sepa-becs-or-bacs-direct-debit-stripe-gateway) | ||
|
||
+ [Using Chargify.js with Stripe BACS Direct Debit - full example](page:development-tools/chargify-js/examples#full-example-with-bacs-direct-debit-stripe-gateway) | ||
|
||
```json | ||
{ | ||
"subscription": { | ||
"product_handle": "gold-product", | ||
"customer_attributes": { | ||
"first_name": "Jane", | ||
"last_name": "Doe", | ||
"email": "[email protected]" | ||
}, | ||
"bank_account_attributes": { | ||
"bank_name": "Test Bank", | ||
"bank_branch_code": "108800", | ||
"bank_account_number": "00012345", | ||
"payment_type": "bank_account", | ||
"billing_address": "123 Main St.", | ||
"billing_city": "London", | ||
"billing_state": "LND", | ||
"billing_zip": "W1A 1AA", | ||
"billing_country": "GB" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
## 3D Secure - Stripe | ||
|
||
It may happen that a payment needs 3D Secure Authentication when the subscription is created; this is referred to in our help docs as a [post-authentication flow](https://maxio-chargify.zendesk.com/hc/en-us/articles/5405177432077#psd2-flows-pre-authentication-and-post-authentication). The server returns `422 Unprocessable Entity` in this case with the following response: | ||
|
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
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
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
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
doc/models/containers/subscription-component-price-point-type.md
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
# Historic Usage | ||
|
||
An optional object for Event Based Components, will be returned if provided `include=historic_usages` query param. | ||
|
||
## Structure | ||
|
||
`HistoricUsage` | ||
|
||
## Fields | ||
|
||
| Name | Type | Tags | Description | | ||
| --- | --- | --- | --- | | ||
| `totalUsageQuantity` | `number \| undefined` | Optional | Total usage of a component for billing period | | ||
| `billingPeriodStartsAt` | `string \| undefined` | Optional | Start date of billing period | | ||
| `billingPeriodEndsAt` | `string \| undefined` | Optional | End date of billing period | | ||
|
||
## Example (as JSON) | ||
|
||
```json | ||
{ | ||
"total_usage_quantity": 26.6, | ||
"billing_period_starts_at": "2016-03-13T12:52:32.123Z", | ||
"billing_period_ends_at": "2016-03-13T12:52:32.123Z" | ||
} | ||
``` | ||
|
Oops, something went wrong.