Liking cljdoc? Tell your friends :D

starkbank.user

Used to generate new API-compatible key pairs.

Used to generate new API-compatible key pairs.
raw docstring

java-projectclj

source

projectclj

(project environment id private-key)

The Project map is the main authentication entity for the SDK. All requests to the Stark Bank API must be authenticated via a project, which must have been previously created at the Stark Bank website [https://sandbox.web.starkbank.com] or [https://web.starkbank.com] before you can use it in this SDK. Projects may be passed as a parameter on each request or may be defined as the default user at the start (See README).

Parameters (required):

- `environment` [string]: environment where the project is being used. ex: "sandbox" or "production"
- `id` [string]: unique id required to identify project. ex: "5656565656565656"
- `private-key` [string]: PEM string of the private key linked to the project. ex: "-----BEGIN PUBLIC KEY-----

MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEyTIHK6jYuik6ktM9FIF3yCEYzpLjO5X/ tqDioGM+R2RyW0QEo+1DG8BrUf4UXHSvCjtQ0yLppygz23z0yPZYfw== -----END PUBLIC KEY-----"

The Project map is the main authentication entity for the SDK.
  All requests to the Stark Bank API must be authenticated via a project,
  which must have been previously created at the Stark Bank website
  [https://sandbox.web.starkbank.com] or [https://web.starkbank.com]
  before you can use it in this SDK. Projects may be passed as a parameter on
  each request or may be defined as the default user at the start (See README).

  ## Parameters (required):
    - `environment` [string]: environment where the project is being used. ex: "sandbox" or "production"
    - `id` [string]: unique id required to identify project. ex: "5656565656565656"
    - `private-key` [string]: PEM string of the private key linked to the project. ex: "-----BEGIN PUBLIC KEY-----
MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEyTIHK6jYuik6ktM9FIF3yCEYzpLjO5X/
tqDioGM+R2RyW0QEo+1DG8BrUf4UXHSvCjtQ0yLppygz23z0yPZYfw==
-----END PUBLIC KEY-----"
sourceraw docstring

setclj

(set user)

sets a default user (project) to be automatically used in all requests

sets a default user (project) to be automatically used in all requests
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close