Crates.io | billecta |
lib.rs | billecta |
version | |
source | src |
created_at | 2020-01-21 12:02:14.05567 |
updated_at | 2024-12-03 14:52:11.726283 |
description | Generated Billecta API |
homepage | |
repository | |
max_upload_size | |
id | 200744 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Not supported by Billecta in anyway!
Automatically generated API for billecta.
To get started see Billecta docs
To begin, encode your username and password as follows:
$ echo -n "<username>:<password>" | base64
$ base64 <<< "<username>:<password>"
cannot be used since it adds a newline.
Send the encoded b64-string to Billecta with the b64-string you just created in
the Authorization Header as such: Authorization: Basic <b64string>
curl -X "POST" https://api.billecta.com/v1/authentication/apiauthenticate -H "Content-Length:0" -H "Authorization: Basic <b64 string>" -H "Accept: application/json"
Snatch the SecureToken from the returned data and encode it as b64 once more:
$ base64 <<< <SecureTokenString>
To try it out try to fetch all Creditor with the b64 encode SecureToken in the Authorization header
curl -X "POST" https://api.billecta.com/v1/creditors/creditors -H "Authorization: SecureToken <SecureTokenB64>"