Generate Access Token

This endpoint generates an access token for the application by sending a POST request with the required parameters. The parameters include the application_id, date, and signature. Refer to Fondy support to obtain the necessary application_id and secret key.

POST/authorizer/token/application/get

This endpoint generates an access token for the application by sending a POST request with the required parameters. The parameters include the application_id, date, and signature. Refer to Fondy support to obtain the necessary application_id and secret key.

Body application/json

application_idstringrequired

Company ID. Contact Fondy support to obtain the ID and secret key.

datestringrequired

“Date in any format. Acts as a salt for the SHA-512 signature hash. Examples include ‘2020-04-06 11:15:27’ or a timestamp like ‘1586171872’.”

signaturestringrequired

The signature is formed by concatenating the company private key, company id, and date parameter through a vertical bar ”|” (in utf-8 encoding). From the received line, you need to take the sha512 hash in hex.

Response

Access token successfully generated.

request_idstring

Unique ID for tracking the request.

tokenstring

Access token for the application.

expires_ininteger

Time in seconds until the token expires.

Invalid request parameters.

error_codeinteger

Code indicating the type of error encountered.

error_messagestring

Message explaining why the request failed.

request_idstring

Unique ID for tracking the request.

Request
curl -X POST "https://wallet.fondy.eu/authorizer/token/application/get" \
  -H "Content-Type: application/json" \
  -d '{
  "application_id": "1234",
  "date": "2020-04-06 11:15:27",
  "signature": "7eec02ed1088b47da639549a109c0e98a75e2d8c76dfa33db4ee18359b2ea677dda37516abc0e439b286261a48d49d3e2fd885d9f09c8ff5c7308afe4180688a"
}'
Response
{
  "request_id": "SuVhZRMS7JDD2iGS",
  "token": "Yq0GXWeOZ1m8BsiCa4iQPDB84Wjw346",
  "expires_in": 3602
}