HTTP Intent example

The URL data sample:

ParameterValueDescription
value2.5The value in APPC (AppCoins) of the transaction.
currencyAPPCThe currency in which the value is sent. By default is APPC if not set on the URL.
to0xab949343e6c369c6b17
c7ae302c1debd4b7b61c3
The wallet address of the receiver of the transaction. It can be overridden if does not match with the address defined for the given domain.
productgems.001The id of the item being bought.
domaincom.mygamestudio.gameThe application id, also known as package name.
data100 gemsAdditional information to be sent if needed.
callback_urlhttps://www.mygamestudio.com/appcoins?out_trade_no=1234The URL to be called after the transaction is completed. The URL is afterwards completed with additional parameters for purchase validation.

The URL sample

https://apichain.catappult.io/transaction/inapp?value=2.50&currency=APPC&to=0xab949343e6c369c6b17c7ae302c1debd4b7b61c3&product=gems.001&domain=com.mygamestudio.game&data=100+gems&callback_url=https://www.mygamestudio.com/appcoins?out_trade_no=1234