Quick Start
Get your API keys
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
You can generate an API key on https://pay.imal.dev/register.html
Make your first invoice
To make your first request, send an authenticated request to the createTransaction endpoint. This will create a transaction.
Create a new transaction
POST
https://pay.imal.dev/api/createTransaction
Creates a new transaction.
Request Body
key*
string
Your merchant API key.
description*
string
Description of the transaction (eg. Invoice #63729)
tokenid*
string
tti_ of the vite token used for the transaction
amount*
String
RAW Amount of the token used for the transaction
memoprefix
String
Prefix for the memo used in the transaction (eg. "gifts" would result in something like "gifts823729")
destination*
String
Address the funds should be sent to.
redirecturl*
String
"Back to merchant" URL
Take a look at how you might call this method using curl
:
Last updated