Kriptomat
Search…
Initialise Widget
Request for generating URL:
1
HOST production: https://appapi.kriptomat.io
2
POST /widget/init
3
HOST: {HOST}
4
Content-Type: application/json
Copied!
token
your developer token
required
string
asset_type
coin user is purchasing
optional
string
to_address
wallet address to send assets to
optional
string
amount
amount of assets
optional
number
amount_type
fiat or crypto
optional
string
webhook_url
postback url
optional
string
additional_fields[0]
your custom data
optional
string
additional_fields[1]
your custom data
optional
string

Request Example

1
POST https://appapi.kriptomat.io/widget/init
2
3
{
4
"token": "6a7d2e91d4cff64939450c74001da4f24fbabd2abae8b2fc1c79a561da9de14a",
5
"asset_type": "eth",
6
"to_address": "0x7873ce9E57c6aEEA16aD6AE759CE955736f14e96",
7
"amount": 35,
8
"amount_type": "fiat",
9
}
Copied!

Response Example

1
{
2
"status": "true",
3
"data":
4
{
5
"url": "https://widget.kriptomat.io/?to_address=1DJ4N7mdUazDvrDe3H5eeRJtoXuAUSbTWy&amount=35&asset_type=eth&uuid=c472856c-d248-4e53-ae49-1d2f088cb732",
6
}
7
}
Copied!