HolyTransaction is a multi-purpose platform for digital currencies.

Resources

Accounts
User Accounts

Resource Description
POST /api/v1/accounts Create user account
GET /api/v1/accounts/:id Show account data
POST /api/v1/accounts/is_email_used Check that email is used
POST /api/v1/accounts/get_account_id_by_email Retrieve HT account id by email. Requires authentication. Will look within child accounts of current user. Will return HTTP 404 when no record found.
PATCH /api/v1/accounts/:id Update account properties
POST /api/v1/accounts/request_password_change Request password change token to be sent by email

Balances
User Account Balances

Resource Description
GET /api/v1/balances Get balances for current account

Currencies
Currencies

Resource Description
GET /api/v1/currencies Returns list of available currencies.

Data
General data

Resource Description
GET /api/v1/data/exchange_rates Returns exchange rates for all currency pairs. Publicly accessible.
GET /api/v1/data/reserves Returns current server reserves for each currency. Special permission from administrator required.
GET /api/v1/data/random_otp_secret Returns random otp secret that can be used for OTP authentication.

Exchange orders
Exchange Orders

Resource Description
POST /api/v1/exchange_orders Create new exchange order
GET /api/v1/exchange_orders/:uuid Check exchange order status
GET /api/v1/exchange_orders List exchange orders
DELETE /api/v1/exchange_orders/:uuid Cancel exchange order

Invoices
Invoices

Resource Description
POST /api/v1/invoices Create new invoice
GET /api/v1/invoices/:uuid Check invoice status
DELETE /api/v1/invoices/:uuid Delete invoice
GET /api/v1/invoices List invoices

Limits
User Account Limits

Resource Description
GET /api/v1/limits Get daily transfer limits for current account

Ofac
OFAC SDN list

Resource Description
POST /api/v1/ofac OFAC SDN check

Transactions
Transactions

Resource Description
POST /api/v1/transactions Create new transaction
GET /api/v1/transactions/:uuid Get transaction data
GET /api/v1/transactions List transactions