Imstruck API Documentation v0.1 - updated 2019-05-22
Get new invoice

URI: /api/invoice
Method: POST

Request paramType description
item_idstring: basic, premium, lightning, autoplay, or ftb
steps (optional)integer in range (-1026, 1026)
Return paramType description
amountnumber of satoshis required
r_hashhash of invoice secret, used as payment id
payment_requestencodes amount and destination of funds for payment
Check invoice

URI: /api/check_invoice
Method: POST

Request paramType description
r_hashhash of invoice secret, used as payment id
Return paramType description
settledtrue when payment is complete
expiredtrue when invoice has expired
pendinglist of queued purchases
List products

URI: /api/list
Method: GET

Request paramType description
Return paramType description
iditem_id to be submitted with get invoice
namenice name for product
sats_basebase fee
sats_stepincremental price per step
descriptiontext description of product

Download here