Quick Start
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
To make your first request, send an authenticated request to the createTransaction endpoint. This will create a transaction.
post
https://pay.imal.dev/api/
createTransaction
Create a new transaction
Take a look at how you might call this method using
curl
:curl
curl --location --request POST 'https://pay.imal.dev/api/createTransaction' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "AFJIOAs98ksks9",
"description": "Invoice #92828",
"tokenid": "tti_5649544520544f4b454e6e40",
"amount": "100000000000000000000",
"memoprefix": "gifts",
"destination": "vite_2ff6ffebcf03638b20072c9b40a49778e894420ddf58e40df5",
"redirecturl": "https://example.com"
}'
Last modified 1yr ago