{"repo":"zbdpay/zbd-payments-typescript-sdk","free":true,"listed":false,"github":"https://github.com/zbdpay/zbd-payments-typescript-sdk","clone":"git clone https://github.com/zbdpay/zbd-payments-typescript-sdk.git","description":"@zbdpay/payments-sdk TypeScript SDK for ZBD Payments","language":"TypeScript","stars":10,"topics":["bitcoin","fiat","global","payments","sdk"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"ZBD Payments TypeScript SDK This library provides convenient access to the ZBD Payments REST API from server-side TypeScript or JavaScript. The REST API documentation can be found on docs.zbdpay.com. The full API of this library can be found in api.md. Installation Usage The full API of this library can be found in api.md. Request & Response types This library includes TypeScript definitions for all request params and response fields. You may import and use them like so: Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors. Handling errors When the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of APIError will be thrown: Error codes are as follows: Status Code Error Type ----------- -------------------------- 400 BadRequestError 401 AuthenticationError 403 PermissionDeniedError 404 NotFoundError 422 UnprocessableEntityError 429 RateLimitError =500 InternalServerError N/A APIConnectionError Retries Certain errors will be automatically retried 2 times by default, with a short exponential backoff. Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, and =500 Internal errors will all be retried by default. You can use the maxRetries option to configure or disable this: Timeouts Requests time out after 1 minute by default. You can configure thi","default_branch":null,"files":null,"tree":[],"storefront":"/r/zbdpay","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zbdpay/zbd-payments-typescript-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}