npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ebics-api

v0.0.1

Published

## API enpoints

Downloads

4

Readme

EBICS API

API enpoints

Managing EBICS account

| ENDPOINT | Method | Description | |---|---|---| | /implementation | GET | returns list of supported banks | | /ebicsAccount | GET | returns list of all EBICS accounts | | /ebicsAccount/:accountId | GET | returns separate EBICS account | | /ebicsAccount | POST | create new EBICS account | | /ebicsAccount/:accountId | PATCH | update EBICS account data | | /ebicsAccount/:accountId | DELETE | delete EBICS account data (it just marks as deleted) |

Initializing EBICS account

| ENDPOINT | Method | Description | |---|---|---| | /ebics/init/:accountId | GET | executes INI and HIA EBICS orders | | /ebics/downloadKey/:accountId | GET | executes HPB EBICS orders | | /checkAccount/:accountId | GET | Activate EBICS account. If account is successful activate it can be used to send orders and get statements |

Sending SEPA payments

| ENDPOINT | Method | Description | |---|---|---| | /pain/001/:accountId | POST | send pain.001 order | | /pain/008/:accountId | POST | send pain.008 order |

EBICS statements

| ENDPOINT | Method | Description | |---|---|---| | /camt53/download/:accountId | GET | download camt.053 order | | /camt53 | GET | returns list of all downloaded and succesful processed camt.053 orders |

API data

/implementation

response (json object array) | field | type| description | |---|---|---| |id| int | ID of implementaion | |name| string | Display name of implementaion|

/ebicsAccount

response (json object array) | field | type | description | |---|---|---| |id| int | ID account | |active| boolean | If this flag is true account can be used to send orders and dowload statements. | |implementation| int | Id of EBICS implementation | |bankName| string | Name of the bank | |url| string | EBICS service endpoint (provided from bank) | |hostID| string | EBICS hostId (provided from bank) | |customerId| string | EBICS customerId (provided from bank) | |userId| string | EBICS userId (provided from bank) | |secret| string | secret phrase | |status *| boolean | Status of account | |bankLetter **| string | Bank letter content | |deleted| boolean | If this flag is set EBICS account is closed and can't be use |

*status

0 - Account is just created. It can be edited

1 - Account is initialized. Successful executed INI and HIA orders. Waiting for bank letter confirmation (see bankLeter below). Status is set to 1 when /ebics/init/:accountId is executed

2 - Account is ready for activation (bank keys are downloded). Status is set to 2 when /ebics/downloadKey/:accountId is executed

ATTENTION: never edit account if status is not 0.

**bankLetter

When /ebics/init/:accountId is executed it download bank letter and fill bankLetter field. Letter should print and send to the bank via POST office.

ToDo

Validation schema for PAIN.001

Validation schema for PAIN.008

Disable patch request if account status is not 0

Endpoint for statment information