Skip to content

Commit 226dea9

Browse files
committed
Correct version number
1 parent 28146af commit 226dea9

File tree

1 file changed

+106
-106
lines changed

1 file changed

+106
-106
lines changed

README.md

Lines changed: 106 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Maxio Advanced Billing (formerly Chargify API) can be integrated with many envir
1313

1414
Maxio Advanced Billing has compiled a [testing guide](https://chargify.zendesk.com/hc/en-us/articles/4407904658587) that covers a list of important factors to consider while in the testing phase. Here's a high-level overiew of what's covered in our testing guide:
1515

16-
+ Test credit card basics
17-
+ Test site limits
16+
+ Test credit card basics
17+
+ Test site limits
1818
+ Live mode versus test mode
1919

2020
We strongly suggest reading over the testing guide, as well as the entire set of application-based documentation to aid in your discovery of the product.
@@ -33,22 +33,22 @@ Access to our Technical Specialist team for API support is currently limited to
3333

3434
But don’t worry! There are quite a few options to help you get the answers you need:
3535

36-
- [Read our documentation for developers](https://developers.chargify.com/docs/developer-docs/ZG9jOjM0NjA3MQ-overview)
37-
- Explore the endpoints of our API Documentation
38-
- [Watch our videos and tutorials](https://chargify.com/tutorials)
36+
- [Read our documentation for developers](https://developers.chargify.com/docs/developer-docs/ZG9jOjM0NjA3MQ-overview)
37+
- Explore the endpoints of our API Documentation
38+
- [Watch our videos and tutorials](https://chargify.com/tutorials)
3939
- [Check out the Chargify tag on Stack Overflow](http://stackoverflow.com/questions/tagged/chargify)
4040

4141
### API Overview
4242

4343
The Chargify API allows you to interact with our system programmatically from your own application. Using the API you interact with Resources such as:
4444

45-
- Products
46-
- Subscriptions
47-
- Customers
45+
- Products
46+
- Subscriptions
47+
- Customers
4848
- etc.
4949

50-
The API attempts to conform to the [RESTful](http://en.wikipedia.org/wiki/Representational_State_Transfer) design principles.
51-
You interact with the resources exposed via the API by accessing resource collection and element URIs using the HTTP verbs (GET, POST, PUT, and DELETE).
50+
The API attempts to conform to the [RESTful](http://en.wikipedia.org/wiki/Representational_State_Transfer) design principles.
51+
You interact with the resources exposed via the API by accessing resource collection and element URIs using the HTTP verbs (GET, POST, PUT, and DELETE).
5252
Chargify accepts and returns both JSON and XML data via the API.
5353

5454
You’ll likely need access to a web developer or programmer (if you’re not one) to get the most use out of the API.
@@ -127,10 +127,10 @@ If you see a "Could not resolve host" error, double check that the url is correc
127127

128128
We consider the following changes to be backwards compatible and may make them without advance notice:
129129

130-
+ Adding new API endpoints, or adding new attributes in the responses of existing endpoints
131-
+ Adding new optional parameters to be sent to existing API endpoints
132-
+ Adding new fields to exported data
133-
+ Changing the type or length of any of the ID attributes
130+
+ Adding new API endpoints, or adding new attributes in the responses of existing endpoints
131+
+ Adding new optional parameters to be sent to existing API endpoints
132+
+ Adding new fields to exported data
133+
+ Changing the type or length of any of the ID attributes
134134
+ For example, most IDs are currently integers, but you should not assume that this will always be the case.
135135

136136
In addition, you should not depend on the order of attributes within the API response as this may change.
@@ -149,16 +149,16 @@ curl -u <api_key>:x -H Accept:application/json -H Content-Type:application/json
149149

150150
### API Access Limitations
151151

152-
There are a few scenarios that may end up in causing an API request to be blocked even with correct credentials.
152+
There are a few scenarios that may end up in causing an API request to be blocked even with correct credentials.
153153
**Please note:** All relevant API requests will be blocked if any of the below conditions are true. These limitations also apply to [Chargify Direct](https://developers.chargify.com/docs/developer-docs/ZG9jOjE0NjAzNDE3-introduction).
154154

155155
Those scenarios are as follows:
156156

157-
- Your Chargify subscription is canceled.
158-
- Your Chargify trial has reached an end.
159-
- The site you're making a request for is in the process of ["clearing site data"](https://maxio-chargify.zendesk.com/hc/en-us/articles/5405428327309)
160-
- _Note: any API request for another site that is in a good state will NOT be blocked_
161-
- The site you're making a request for has been deleted.
157+
- Your Chargify subscription is canceled.
158+
- Your Chargify trial has reached an end.
159+
- The site you're making a request for is in the process of ["clearing site data"](https://maxio-chargify.zendesk.com/hc/en-us/articles/5405428327309)
160+
- _Note: any API request for another site that is in a good state will NOT be blocked_
161+
- The site you're making a request for has been deleted.
162162
- _Note: any API request for another site that is in a good state will NOT be blocked_
163163

164164
Read more about your Chargify subscription [here](https://maxio-chargify.zendesk.com/hc/en-us/articles/5405430043149-Advanced-Billing-Subscription#advanced-billing-subscription-0-0)
@@ -169,42 +169,42 @@ The request will fail with a `422` http status code. The response will also incl
169169

170170
- If your Chargify subscription is canceled:
171171

172-
```json
173-
{
174-
"errors" => [
175-
[0] "Your Chargify account has been canceled. Please contact support@chargify.com to reactivate."
176-
]
177-
}
172+
```json
173+
{
174+
"errors" => [
175+
[0] "Your Chargify account has been canceled. Please contact support@chargify.com to reactivate."
176+
]
177+
}
178178
```
179179

180180
- If your Chargify trial has reached and end and you attempted to make an API request, the response body will look like:
181181

182-
```json
183-
{
184-
"errors" => [
185-
[0] "Your trial has ended, please contact sales."
186-
]
187-
}
182+
```json
183+
{
184+
"errors" => [
185+
[0] "Your trial has ended, please contact sales."
186+
]
187+
}
188188
```
189189

190190
- If the site you're making a request for is in the process of ["clearing site data"](https://maxio-chargify.zendesk.com/hc/en-us/articles/5405428327309):
191191

192-
```json
193-
{
194-
"errors" => [
195-
[0] "Site data clearing is in progress. Please try later."
196-
]
197-
}
192+
```json
193+
{
194+
"errors" => [
195+
[0] "Site data clearing is in progress. Please try later."
196+
]
197+
}
198198
```
199199

200200
- If the site you're making a request for has been deleted:
201201

202-
```json
203-
{
204-
"errors" => [
205-
[0] "This site has been deleted."
206-
]
207-
}
202+
```json
203+
{
204+
"errors" => [
205+
[0] "This site has been deleted."
206+
]
207+
}
208208
```
209209

210210
### Secure Applications
@@ -217,14 +217,14 @@ Instead you will need to take care to tokenize sensitive information by using [C
217217

218218
If you attempt to make a Chargify API request directly from the customer's browser, you may see an error such as:
219219

220-
```
221-
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
220+
```
221+
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
222222
```
223223

224224
or
225225

226-
```
227-
Origin 'https://example.com' is therefore not allowed access.` `The response had HTTP status code 404.
226+
```
227+
Origin 'https://example.com' is therefore not allowed access.` `The response had HTTP status code 404.
228228
```
229229

230230
This is an error message indicating that Cross-Origin Resource Sharing (CORS) is not enabled on the Chargify server.
@@ -257,13 +257,13 @@ It is up to API consumers to parse the string into a decimal number representati
257257

258258
##### Relationship Invoicing Summary
259259

260-
+ If your site **is** using relationship invoicing, you may only use the methods described in this section for working with invoices.
261-
262-
+ If your site is **not** using relationship invoicing, please use the legacy invoice methods:
263-
264-
+ [Invoices](./b3A6MTQxMTA0MTA-read-invoice)
265-
+ [Invoices: Payments](./b3A6MTQxMTA0MTI-create-invoice-payment)
266-
+ [Invoices: Charges](./b3A6MTQxMTA0MTM-create-charge)
260+
+ If your site **is** using relationship invoicing, you may only use the methods described in this section for working with invoices.
261+
262+
+ If your site is **not** using relationship invoicing, please use the legacy invoice methods:
263+
264+
+ [Invoices](./b3A6MTQxMTA0MTA-read-invoice)
265+
+ [Invoices: Payments](./b3A6MTQxMTA0MTI-create-invoice-payment)
266+
+ [Invoices: Charges](./b3A6MTQxMTA0MTM-create-charge)
267267
+ [Invoices: Credits](./b3A6MTQxMTA0MTQ-create-invoice-credit)
268268

269269
### Requirements
@@ -278,11 +278,11 @@ The following section explains how to use the advancedbilling library in a new p
278278

279279
To use the package in your application, you can install the package from [pkg.go.dev](https://pkg.go.dev/) using the following command:
280280

281-
```bash
282-
$ go get github.com/maxio-com/ab-golang-sdk@vv1.0.1-alpha.1
281+
```bash
282+
$ go get github.com/maxio-com/ab-golang-sdk@v1.0.1-alpha.1
283283
```
284284

285-
You can also view the package at: https://pkg.go.dev/github.com/maxio-com/ab-golang-sdk@vv1.0.1-alpha.1
285+
You can also view the package at: https://pkg.go.dev/github.com/maxio-com/ab-golang-sdk@v1.0.1-alpha.1
286286

287287
## Initialize the API Client
288288

@@ -301,21 +301,21 @@ The following parameters are configurable for the API Client:
301301
The API client can be initialized as follows:
302302

303303
```go
304-
client := advancedbilling.NewClient(
305-
advancedbilling.CreateConfiguration(
306-
advancedbilling.WithHttpConfiguration(
307-
advancedbilling.CreateHttpConfiguration(
308-
advancedbilling.WithTimeout(30),
309-
),
310-
),
311-
advancedbilling.WithEnvironment(advancedbilling.PRODUCTION),
312-
advancedbilling.WithBasicAuthCredentials(
313-
advancedbilling.NewBasicAuthCredentials(
314-
"BasicAuthUserName",
315-
"BasicAuthPassword",
316-
),
317-
),
318-
),
304+
client := advancedbilling.NewClient(
305+
advancedbilling.CreateConfiguration(
306+
advancedbilling.WithHttpConfiguration(
307+
advancedbilling.CreateHttpConfiguration(
308+
advancedbilling.WithTimeout(30),
309+
),
310+
),
311+
advancedbilling.WithEnvironment(advancedbilling.PRODUCTION),
312+
advancedbilling.WithBasicAuthCredentials(
313+
advancedbilling.NewBasicAuthCredentials(
314+
"BasicAuthUserName",
315+
"BasicAuthPassword",
316+
),
317+
),
318+
),
319319
)
320320
```
321321

@@ -332,46 +332,46 @@ The SDK can be configured to use a different environment for making API calls. A
332332

333333
## Authorization
334334

335-
This API uses the following authentication schemes.
336-
335+
This API uses the following authentication schemes.
336+
337337
* [`BasicAuth (Basic Authentication)`](doc/auth/basic-authentication.md)
338338

339339
## List of APIs
340340

341-
* [API Exports](doc/controllers/api-exports.md)
342-
* [Advance Invoice](doc/controllers/advance-invoice.md)
343-
* [Billing Portal](doc/controllers/billing-portal.md)
344-
* [Custom Fields](doc/controllers/custom-fields.md)
345-
* [Events-Based Billing Segments](doc/controllers/events-based-billing-segments.md)
346-
* [Payment Profiles](doc/controllers/payment-profiles.md)
347-
* [Product Families](doc/controllers/product-families.md)
348-
* [Product Price Points](doc/controllers/product-price-points.md)
349-
* [Proforma Invoices](doc/controllers/proforma-invoices.md)
350-
* [Reason Codes](doc/controllers/reason-codes.md)
351-
* [Referral Codes](doc/controllers/referral-codes.md)
352-
* [Sales Commissions](doc/controllers/sales-commissions.md)
353-
* [Subscription Components](doc/controllers/subscription-components.md)
354-
* [Subscription Groups](doc/controllers/subscription-groups.md)
355-
* [Subscription Group Invoice Account](doc/controllers/subscription-group-invoice-account.md)
356-
* [Subscription Group Status](doc/controllers/subscription-group-status.md)
357-
* [Subscription Invoice Account](doc/controllers/subscription-invoice-account.md)
358-
* [Subscription Notes](doc/controllers/subscription-notes.md)
359-
* [Subscription Products](doc/controllers/subscription-products.md)
360-
* [Subscription Status](doc/controllers/subscription-status.md)
361-
* [Coupons](doc/controllers/coupons.md)
362-
* [Components](doc/controllers/components.md)
363-
* [Customers](doc/controllers/customers.md)
364-
* [Events](doc/controllers/events.md)
365-
* [Insights](doc/controllers/insights.md)
366-
* [Invoices](doc/controllers/invoices.md)
367-
* [Offers](doc/controllers/offers.md)
368-
* [Products](doc/controllers/products.md)
369-
* [Sites](doc/controllers/sites.md)
370-
* [Subscriptions](doc/controllers/subscriptions.md)
341+
* [API Exports](doc/controllers/api-exports.md)
342+
* [Advance Invoice](doc/controllers/advance-invoice.md)
343+
* [Billing Portal](doc/controllers/billing-portal.md)
344+
* [Custom Fields](doc/controllers/custom-fields.md)
345+
* [Events-Based Billing Segments](doc/controllers/events-based-billing-segments.md)
346+
* [Payment Profiles](doc/controllers/payment-profiles.md)
347+
* [Product Families](doc/controllers/product-families.md)
348+
* [Product Price Points](doc/controllers/product-price-points.md)
349+
* [Proforma Invoices](doc/controllers/proforma-invoices.md)
350+
* [Reason Codes](doc/controllers/reason-codes.md)
351+
* [Referral Codes](doc/controllers/referral-codes.md)
352+
* [Sales Commissions](doc/controllers/sales-commissions.md)
353+
* [Subscription Components](doc/controllers/subscription-components.md)
354+
* [Subscription Groups](doc/controllers/subscription-groups.md)
355+
* [Subscription Group Invoice Account](doc/controllers/subscription-group-invoice-account.md)
356+
* [Subscription Group Status](doc/controllers/subscription-group-status.md)
357+
* [Subscription Invoice Account](doc/controllers/subscription-invoice-account.md)
358+
* [Subscription Notes](doc/controllers/subscription-notes.md)
359+
* [Subscription Products](doc/controllers/subscription-products.md)
360+
* [Subscription Status](doc/controllers/subscription-status.md)
361+
* [Coupons](doc/controllers/coupons.md)
362+
* [Components](doc/controllers/components.md)
363+
* [Customers](doc/controllers/customers.md)
364+
* [Events](doc/controllers/events.md)
365+
* [Insights](doc/controllers/insights.md)
366+
* [Invoices](doc/controllers/invoices.md)
367+
* [Offers](doc/controllers/offers.md)
368+
* [Products](doc/controllers/products.md)
369+
* [Sites](doc/controllers/sites.md)
370+
* [Subscriptions](doc/controllers/subscriptions.md)
371371
* [Webhooks](doc/controllers/webhooks.md)
372372

373373
## Classes Documentation
374374

375-
* [HttpConfiguration](doc/http-configuration.md)
375+
* [HttpConfiguration](doc/http-configuration.md)
376376
* [RetryConfiguration](doc/retry-configuration.md)
377377

0 commit comments

Comments
 (0)