1.1.0 • Published 4 months ago

@lorenstuff/square-api v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

Square API

This is a Node.js package for interacting with the Square API.

Coverage

The Square API consists of a wide array of individual APIs for interacting for different tasks.

This package currently targets version 2023-12-13 of the Square API. This can be overridden when instantiating the client but this might cause unexpected behaviour.

These tables detail which APIs are supported:

Dev Essentials

API NameSupportedWebhook Event Types
OAuthNoNo
Webhook subscriptionsNo-

Payments

API NameSupportedWebhook Event Types
PaymentsNoNo
RefundsNoNo
CheckoutNoNo
TerminalNoNo
DisputesNoNo
InvoicesNoNo
CardsNoNo
SubscriptionsNoNo
Bank accountsNoNo
PayoutsNoNo
Mobile authorizationNo-
DevicesNoNo
Apple payNo-

Commerce

API NameSupportedWebhook Event Types
OrdersNoNo
Order custom attributesNoNo
CatalogNoNo
InventoryNoNo
BookingsNoNo
Booking custom attributesNoNo
VendorsNoNo
SitesNo-
SnippetsNo-
Cash drawersNo-

Customers

API NameSupportedWebhook Event Types
CustomersNoNo
Customer custom attributesNoNo
Customer groupsNo-
Customer segmentsNo-
LoyaltyNo-
Gift cardsYesYes
Gift card activitiesYesYes

Staff

API NameSupportedWebhook Event Types
LaborNoNo
TeamNoNo

Merchants

API NameSupportedWebhook Event Types
MerchantsNo-
Merchant custom attributesNoNo
LocationsNoNo
Location custom attributesNoNo

Documentation

Documentation will be coming at a later date.

This package has type definitions which directly correspond to the Official Documentation as much as possible and those should be helpful in the meantime.

Changelog

See CHANGELOG.md

License

MIT

1.1.0

4 months ago

1.0.0

4 months ago