Samples
HTTP Intent example
The URL data sample:
Parameter | Value | Description |
---|---|---|
value | 2.5 | The value in APPC (AppCoins) of the transaction. |
currency | APPC | The currency in which the value is sent. By default is APPC if not set on the URL. |
to | 0xab949343e6c369c6b17 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. |
product | gems.001 | The id of the item being bought. |
domain | com.mygamestudio.game | The application id, also known as package name. |
data | 100 gems | Additional information to be sent if needed. |
callback_url | https://www.mygamestudio.com/appcoins?out_trade_no=1234 | The 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¤cy=APPC&to=0xab949343e6c369c6b17c7ae302c1debd4b7b61c3&product=gems.001&domain=com.mygamestudio.game&data=100+gems&callback_url=https://www.mygamestudio.com/appcoins?out_trade_no=1234
Updated over 5 years ago